00001 // Copyright (C) 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE 00002 // 00003 // This library is free software; you can redistribute it and/or 00004 // modify it under the terms of the GNU Lesser General Public 00005 // License as published by the Free Software Foundation; either 00006 // version 2.1 of the License. 00007 // 00008 // This library is distributed in the hope that it will be useful, 00009 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00010 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00011 // Lesser General Public License for more details. 00012 // 00013 // You should have received a copy of the GNU Lesser General Public 00014 // License along with this library; if not, write to the Free Software 00015 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00016 // 00017 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com 00018 // 00019 00020 // File : VISU_CommonCellsFilter.hxx 00021 // Created : Tue Apr 3 16:16:53 2007 00022 // Author : Eugeny NIKOLAEV (enk) 00023 // 00024 #ifndef VISU_CommonCellsFilter_HeaderFile 00025 #define VISU_CommonCellsFilter_HeaderFile 00026 00027 #include <vtkUnstructuredGridToUnstructuredGridFilter.h> 00028 00029 class VISU_CommonCellsFilter: public vtkUnstructuredGridToUnstructuredGridFilter 00030 { 00031 public: 00032 static VISU_CommonCellsFilter *New(); 00033 vtkTypeMacro(VISU_CommonCellsFilter,vtkUnstructuredGridToUnstructuredGridFilter); 00034 00035 // Description: 00036 // Specify the Unstructured Grid which overview 00037 // nodal profile. 00038 void SetProfileUG(vtkUnstructuredGrid *input); 00039 vtkUnstructuredGrid* GetProfileUG(); 00040 00041 // Description: 00042 // Specify the Unstructured Grid which overview 00043 // cells data on CELL_ENTITY. 00044 void SetCellsUG(vtkUnstructuredGrid *input); 00045 vtkUnstructuredGrid* GetCellsUG(); 00046 00047 protected: 00048 VISU_CommonCellsFilter(); 00049 ~VISU_CommonCellsFilter(); 00050 00051 void Execute(); //generate output data 00052 00053 private: 00054 VISU_CommonCellsFilter(const VISU_CommonCellsFilter&); // Lock copy 00055 void operator=(const VISU_CommonCellsFilter&); // Lock copy 00056 }; 00057 00058 #endif