1 // Copyright (C) 2003 CEA/DEN, EDF R&D
5 // File : VISU_Extractor.hxx
6 // Author : Alexey PETROV
9 #ifndef VISU_Extractor_HeaderFile
10 #define VISU_Extractor_HeaderFile
12 #include "VTKViewer_Common.h"
13 #include <vtkDataSetToDataSetFilter.h>
14 #include "VISU_Convertor.hxx"
15 class vtkUnstructuredGridReader;
17 class VTK_EXPORT VISU_Extractor : public vtkDataSetToDataSetFilter{
19 vtkTypeMacro(VISU_Extractor,vtkDataSetToDataSetFilter);
20 static VISU_Extractor *New();
21 void Extract(vtkUnstructuredGridReader* theReader,
22 const string& theFieldName, int theScalarMode,
23 int theNbComp, const VISU::TEntity& theEntity);
26 virtual ~VISU_Extractor();
27 VISU_Extractor(const VISU_Extractor&) {};
28 void operator=(const VISU_Extractor&) {};
33 VISU::TEntity myEntity;