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

#include <VTKViewer_ShrinkFilter.h>

Inheritance diagram for VTKViewer_ShrinkFilter:
Inheritance graph

Public Member Functions

 vtkTypeMacro (VTKViewer_ShrinkFilter, vtkShrinkFilter)
 
void SetStoreMapping (int theStoreMapping)
 
int GetStoreMapping ()
 
virtual vtkIdType GetNodeObjId (int theVtkID)
 
virtual vtkIdType GetElemObjId (int theVtkID)
 

Static Public Member Functions

static VTKViewer_ShrinkFilterNew ()
 

Protected Member Functions

 VTKViewer_ShrinkFilter ()
 
 ~VTKViewer_ShrinkFilter ()
 
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
void UnstructuredGridExecute ()
 

Private Types

typedef std::vector< vtkIdType > TVectorId
 

Private Attributes

int myStoreMapping
 
TVectorId myVTK2ObjIds
 

Detailed Description

Shrink cells composing an arbitrary data set.

Warning
It is possible to turn cells inside out or cause self intersection in special cases.

Member Typedef Documentation

typedef std::vector<vtkIdType> VTKViewer_ShrinkFilter::TVectorId
private

Constructor & Destructor Documentation

VTKViewer_ShrinkFilter::VTKViewer_ShrinkFilter ( )
protected

Constructor. Sets store mapping to zero.

VTKViewer_ShrinkFilter::~VTKViewer_ShrinkFilter ( )
protected

Destructor.

Member Function Documentation

virtual vtkIdType VTKViewer_ShrinkFilter::GetElemObjId ( int  theVtkID)
inlinevirtual

Return element id by vtk id.

vtkIdType VTKViewer_ShrinkFilter::GetNodeObjId ( int  theVtkID)
virtual

Return node object id by vtk node id.

Return values
-1- if no object, else return id.

References myVTK2ObjIds.

int VTKViewer_ShrinkFilter::GetStoreMapping ( )
inline

Gets store mapping flag.

static VTKViewer_ShrinkFilter* VTKViewer_ShrinkFilter::New ( )
static

Create new instance of VTKViewer_ShrinkFilter.

int VTKViewer_ShrinkFilter::RequestData ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protectedvirtual

Execute method. Calculate output.

References myStoreMapping, and myVTK2ObjIds.

void VTKViewer_ShrinkFilter::SetStoreMapping ( int  theStoreMapping)

Sets store mapping.

References myStoreMapping.

void VTKViewer_ShrinkFilter::UnstructuredGridExecute ( )
protected

Not implemented.

VTKViewer_ShrinkFilter::vtkTypeMacro ( VTKViewer_ShrinkFilter  ,
vtkShrinkFilter   
)

Member Data Documentation

int VTKViewer_ShrinkFilter::myStoreMapping
private
TVectorId VTKViewer_ShrinkFilter::myVTK2ObjIds
private

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