]> SALOME platform Git repositories - modules/visu.git/blob - src/VISU_I/VISU_Extractor.hxx
Salome HOME
NRI : Merge from V1_2.
[modules/visu.git] / src / VISU_I / VISU_Extractor.hxx
1 //  Copyright (C) 2003  CEA/DEN, EDF R&D
2 //
3 //
4 //
5 //  File   : VISU_Extractor.hxx
6 //  Author : Alexey PETROV
7 //  Module : VISU
8
9 #ifndef VISU_Extractor_HeaderFile
10 #define VISU_Extractor_HeaderFile
11
12 #include "VTKViewer_Common.h"
13 #include <vtkDataSetToDataSetFilter.h>
14 #include "VISU_Convertor.hxx"
15 class vtkUnstructuredGridReader;
16
17 class VTK_EXPORT VISU_Extractor : public vtkDataSetToDataSetFilter{
18 public:
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);
24 protected:
25   VISU_Extractor();
26   virtual ~VISU_Extractor();
27   VISU_Extractor(const VISU_Extractor&) {};
28   void operator=(const VISU_Extractor&) {};
29   void Execute();
30
31   int myNbComp;
32   int myScalarMode;
33   VISU::TEntity myEntity;
34 };
35
36 #endif