23 #ifndef VTKVIEWER_EXTRACTUNSTRUCTUREDGRID_H 
   24 #define VTKVIEWER_EXTRACTUNSTRUCTUREDGRID_H 
   28 #include <vtkUnstructuredGridAlgorithm.h> 
   35 #pragma warning ( disable:4251 ) 
   56     if ( myExtractionMode != theExtractionMode ) { myExtractionMode = theExtractionMode; Modified(); }
 
   64     if ( myChangeMode != theChangeMode ) { myChangeMode = theChangeMode; Modified(); }
 
   70   void RegisterCell(vtkIdType theCellId);
 
   75     if ( !myCellIds.empty() ) { myCellIds.clear(); Modified(); }
 
   79   void RegisterCellsWithType(vtkIdType theCellType);
 
   84     if ( !myCellTypes.empty() ) { myCellTypes.clear(); Modified(); }
 
   88   int IsChanging() { 
return IsCellsRegistered() || IsCellsWithTypeRegistered(); }
 
   91   void SetStoreMapping(
int theStoreMapping);
 
   96   void BuildOut2InMap();
 
   98   vtkIdType GetInputId(
int theOutId) 
const;
 
  103   typedef std::map<vtkIdType,vtkIdType> 
TMapId;
 
  110   virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
 
  130 #pragma warning ( default:4251 )