#include <VTKViewer_ExtractUnstructuredGrid.h>

Public Types | |
| enum | EExtraction { eCells, ePoints } |
| enum | EChanging { ePassAll, eAdding, eRemoving } |
| typedef std::vector< vtkIdType > | TVectorId |
| typedef std::map< vtkIdType, vtkIdType > | TMapId |
Public Member Functions | |
| vtkTypeMacro (VTKViewer_ExtractUnstructuredGrid, vtkUnstructuredGridToUnstructuredGridFilter) | |
| VTK type macros. | |
| void | SetModeOfExtraction (EExtraction theExtractionMode) |
| Sets mode of extraction to theExtractionMode. | |
| EExtraction | GetModeOfExtraction () |
| Get Extraction mode (Return: myExtractionMode field) | |
| void | SetModeOfChanging (EChanging theChangeMode) |
| Sets mode of changing to theChangeMode. | |
| EChanging | GetModeOfChanging () |
| Return myChangeMode field. | |
| void | RegisterCell (vtkIdType theCellId) |
| Add cell id to myCellIds std.set. | |
| int | IsCellsRegistered () |
| Check if myCellIds is empty. | |
| void | ClearRegisteredCells () |
| Remove the cell from the output. | |
| void | RegisterCellsWithType (vtkIdType theCellType) |
| Add cell type to myCellTypes std.set. | |
| int | IsCellsWithTypeRegistered () |
| Check if myCellTypes is empty. | |
| void | ClearRegisteredCellsWithType () |
| Remove every cells with the type from the output. | |
| int | IsChanging () |
| Do the filter do some real work. | |
| void | SetStoreMapping (int theStoreMapping) |
| Do it keep the mapping between input's and output's UnstructuredGrid. | |
| int | GetStoreMapping () |
| Get myStoreMapping. | |
| vtkIdType | GetInputId (int theOutId) const |
| Gets the input id by output id. | |
| vtkIdType | GetOutputId (int theInId) const |
| Gets the output id by input id. | |
Static Public Member Functions | |
| static VTKViewer_ExtractUnstructuredGrid * | New () |
| Construct with all types of clipping turned off. | |
Protected Types | |
| typedef std::set< vtkIdType > | TSetId |
Protected Member Functions | |
| VTKViewer_ExtractUnstructuredGrid () | |
| ~VTKViewer_ExtractUnstructuredGrid () | |
| virtual void | Execute () |
| Main method, which calculate output. | |
Protected Attributes | |
| EExtraction | myExtractionMode |
| EChanging | myChangeMode |
| TSetId | myCellIds |
| TSetId | myCellTypes |
| bool | myStoreMapping |
| TVectorId | myOut2InId |
| TMapId | myIn2OutId |
Private Member Functions | |
| VTKViewer_ExtractUnstructuredGrid (const VTKViewer_ExtractUnstructuredGrid &) | |
| Not implemented. | |
| void | operator= (const VTKViewer_ExtractUnstructuredGrid &) |
| Not implemented. | |
| typedef std::vector<vtkIdType> VTKViewer_ExtractUnstructuredGrid.TVectorId |
| typedef std::map<vtkIdType,vtkIdType> VTKViewer_ExtractUnstructuredGrid.TMapId |
typedef std::set<vtkIdType> VTKViewer_ExtractUnstructuredGrid.TSetId [protected] |
| VTKViewer_ExtractUnstructuredGrid::VTKViewer_ExtractUnstructuredGrid | ( | ) | [protected] |
| VTKViewer_ExtractUnstructuredGrid::~VTKViewer_ExtractUnstructuredGrid | ( | ) | [protected] |
| VTKViewer_ExtractUnstructuredGrid.VTKViewer_ExtractUnstructuredGrid | ( | const VTKViewer_ExtractUnstructuredGrid & | ) | [private] |
| VTKViewer_ExtractUnstructuredGrid.vtkTypeMacro | ( | VTKViewer_ExtractUnstructuredGrid | , |
| vtkUnstructuredGridToUnstructuredGridFilter | |||
| ) |
| static VTKViewer_ExtractUnstructuredGrid* VTKViewer_ExtractUnstructuredGrid.New | ( | ) | [static] |
| void VTKViewer_ExtractUnstructuredGrid.SetModeOfExtraction | ( | EExtraction | theExtractionMode | ) |
| EExtraction VTKViewer_ExtractUnstructuredGrid.GetModeOfExtraction | ( | ) |
| void VTKViewer_ExtractUnstructuredGrid.SetModeOfChanging | ( | EChanging | theChangeMode | ) |
| EChanging VTKViewer_ExtractUnstructuredGrid.GetModeOfChanging | ( | ) |
| void VTKViewer_ExtractUnstructuredGrid::RegisterCell | ( | vtkIdType | theCellId | ) |
References myCellIds.
| int VTKViewer_ExtractUnstructuredGrid.IsCellsRegistered | ( | ) |
| void VTKViewer_ExtractUnstructuredGrid.ClearRegisteredCells | ( | ) |
| void VTKViewer_ExtractUnstructuredGrid::RegisterCellsWithType | ( | vtkIdType | theCellType | ) |
References myCellTypes.
| int VTKViewer_ExtractUnstructuredGrid.IsCellsWithTypeRegistered | ( | ) |
| void VTKViewer_ExtractUnstructuredGrid.ClearRegisteredCellsWithType | ( | ) |
| int VTKViewer_ExtractUnstructuredGrid.IsChanging | ( | ) |
| void VTKViewer_ExtractUnstructuredGrid::SetStoreMapping | ( | int | theStoreMapping | ) |
References myStoreMapping.
| int VTKViewer_ExtractUnstructuredGrid.GetStoreMapping | ( | ) |
| vtkIdType VTKViewer_ExtractUnstructuredGrid::GetInputId | ( | int | theOutId | ) | const |
References myCellIds, myCellTypes, and myOut2InId.
| vtkIdType VTKViewer_ExtractUnstructuredGrid::GetOutputId | ( | int | theInId | ) | const |
References myCellIds, myCellTypes, and myIn2OutId.
| void VTKViewer_ExtractUnstructuredGrid::Execute | ( | ) | [protected, virtual] |
References eAdding, eCells, ePassAll, eRemoving, InsertCell(), InsertPointCell(), myCellIds, myCellTypes, myChangeMode, myExtractionMode, myIn2OutId, myOut2InId, myStoreMapping, and New().
| void VTKViewer_ExtractUnstructuredGrid.operator= | ( | const VTKViewer_ExtractUnstructuredGrid & | ) | [private] |
TSetId VTKViewer_ExtractUnstructuredGrid.myCellIds [protected] |
TSetId VTKViewer_ExtractUnstructuredGrid.myCellTypes [protected] |
bool VTKViewer_ExtractUnstructuredGrid.myStoreMapping [protected] |
TMapId VTKViewer_ExtractUnstructuredGrid.myIn2OutId [protected] |