Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
VTKViewer_ExtractUnstructuredGrid Class Reference

#include <VTKViewer_ExtractUnstructuredGrid.h>

Inheritance diagram for VTKViewer_ExtractUnstructuredGrid:
Inheritance graph

Public Types

enum  EExtraction { eCells, ePoints }
 
enum  EChanging { ePassAll, eAdding, eRemoving }
 
typedef std::vector< vtkIdType > TVectorId
 Gets the output id by input id. More...
 
typedef std::map< vtkIdType,
vtkIdType > 
TMapId
 
typedef std::set< vtkIdType > TSetId
 

Public Member Functions

 vtkTypeMacro (VTKViewer_ExtractUnstructuredGrid, vtkUnstructuredGridAlgorithm)
 VTK type macros. More...
 
void SetModeOfExtraction (EExtraction theExtractionMode)
 Sets mode of extraction to theExtractionMode. More...
 
EExtraction GetModeOfExtraction ()
 Get Extraction mode (Return: myExtractionMode field) More...
 
void SetModeOfChanging (EChanging theChangeMode)
 Sets mode of changing to theChangeMode. More...
 
EChanging GetModeOfChanging ()
 Return myChangeMode field. More...
 
void RegisterCell (vtkIdType theCellId)
 Add cell id to myCellIds std::set. More...
 
int IsCellsRegistered ()
 Check if myCellIds is empty. More...
 
void ClearRegisteredCells ()
 Remove the cell from the output. More...
 
void RegisterCellsWithType (vtkIdType theCellType)
 Add cell type to myCellTypes std::set. More...
 
int IsCellsWithTypeRegistered ()
 Check if myCellTypes is empty. More...
 
void ClearRegisteredCellsWithType ()
 Remove every cells with the type from the output. More...
 
int IsChanging ()
 Do the filter do some real work. More...
 
void SetStoreMapping (int theStoreMapping)
 Do it keep the mapping between input's and output's UnstructuredGrid. More...
 
int GetStoreMapping ()
 Get myStoreMapping. More...
 
void BuildOut2InMap ()
 Computes a map out IDs to in IDs. Call it before GetInputId()!!! More...
 
vtkIdType GetInputId (int theOutId) const
 Gets the input id by output id. Call BuildOut2InMap() before. More...
 

Static Public Member Functions

static
VTKViewer_ExtractUnstructuredGrid
New ()
 Construct with all types of clipping turned off. More...
 

Protected Member Functions

 VTKViewer_ExtractUnstructuredGrid ()
 
 ~VTKViewer_ExtractUnstructuredGrid ()
 
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 

Protected Attributes

EExtraction myExtractionMode
 
EChanging myChangeMode
 
TSetId myCellIds
 
TSetId myCellTypes
 
bool myStoreMapping
 
bool myPassAll
 
TVectorId myOut2InId
 

Private Member Functions

 VTKViewer_ExtractUnstructuredGrid (const VTKViewer_ExtractUnstructuredGrid &)
 Not implemented. More...
 
void operator= (const VTKViewer_ExtractUnstructuredGrid &)
 Not implemented. More...
 

Member Typedef Documentation

typedef std::map<vtkIdType,vtkIdType> VTKViewer_ExtractUnstructuredGrid::TMapId
typedef std::set<vtkIdType> VTKViewer_ExtractUnstructuredGrid::TSetId
typedef std::vector<vtkIdType> VTKViewer_ExtractUnstructuredGrid::TVectorId

Member Enumeration Documentation

Enumerator
ePassAll 
eAdding 
eRemoving 
Enumerator
eCells 
ePoints 

Constructor & Destructor Documentation

VTKViewer_ExtractUnstructuredGrid::VTKViewer_ExtractUnstructuredGrid ( )
protected
VTKViewer_ExtractUnstructuredGrid::~VTKViewer_ExtractUnstructuredGrid ( )
protected
VTKViewer_ExtractUnstructuredGrid::VTKViewer_ExtractUnstructuredGrid ( const VTKViewer_ExtractUnstructuredGrid )
private

Member Function Documentation

void VTKViewer_ExtractUnstructuredGrid::BuildOut2InMap ( )
void VTKViewer_ExtractUnstructuredGrid::ClearRegisteredCells ( )
inline
void VTKViewer_ExtractUnstructuredGrid::ClearRegisteredCellsWithType ( )
inline
vtkIdType VTKViewer_ExtractUnstructuredGrid::GetInputId ( int  theOutId) const
EChanging VTKViewer_ExtractUnstructuredGrid::GetModeOfChanging ( )
inline
EExtraction VTKViewer_ExtractUnstructuredGrid::GetModeOfExtraction ( )
inline
int VTKViewer_ExtractUnstructuredGrid::GetStoreMapping ( )
inline
int VTKViewer_ExtractUnstructuredGrid::IsCellsRegistered ( )
inline
int VTKViewer_ExtractUnstructuredGrid::IsCellsWithTypeRegistered ( )
inline
int VTKViewer_ExtractUnstructuredGrid::IsChanging ( )
inline
static VTKViewer_ExtractUnstructuredGrid* VTKViewer_ExtractUnstructuredGrid::New ( )
static
void VTKViewer_ExtractUnstructuredGrid::operator= ( const VTKViewer_ExtractUnstructuredGrid )
private
void VTKViewer_ExtractUnstructuredGrid::RegisterCell ( vtkIdType  theCellId)

References myCellIds.

void VTKViewer_ExtractUnstructuredGrid::RegisterCellsWithType ( vtkIdType  theCellType)

References myCellTypes.

int VTKViewer_ExtractUnstructuredGrid::RequestData ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protectedvirtual
void VTKViewer_ExtractUnstructuredGrid::SetModeOfChanging ( EChanging  theChangeMode)
inline
void VTKViewer_ExtractUnstructuredGrid::SetModeOfExtraction ( EExtraction  theExtractionMode)
inline
void VTKViewer_ExtractUnstructuredGrid::SetStoreMapping ( int  theStoreMapping)

References myStoreMapping.

VTKViewer_ExtractUnstructuredGrid::vtkTypeMacro ( VTKViewer_ExtractUnstructuredGrid  ,
vtkUnstructuredGridAlgorithm   
)

Member Data Documentation

TSetId VTKViewer_ExtractUnstructuredGrid::myCellIds
protected
TSetId VTKViewer_ExtractUnstructuredGrid::myCellTypes
protected
EChanging VTKViewer_ExtractUnstructuredGrid::myChangeMode
protected
EExtraction VTKViewer_ExtractUnstructuredGrid::myExtractionMode
protected
TVectorId VTKViewer_ExtractUnstructuredGrid::myOut2InId
protected
bool VTKViewer_ExtractUnstructuredGrid::myPassAll
protected
bool VTKViewer_ExtractUnstructuredGrid::myStoreMapping
protected

The documentation for this class was generated from the following files: