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

This class used same as vtkGeometryFilter. See documentation on VTK for more information.

#include <VTKViewer_GeometryFilter.h>

Inheritance diagram for VTKViewer_GeometryFilter:
Inheritance graph

Public Types

typedef std::vector< vtkIdType > TVectorId
 
typedef std::vector< TVectorIdTMapOfVectorId
 

Public Member Functions

 vtkTypeMacro (VTKViewer_GeometryFilter, vtkGeometryFilter)
 VTK type revision macros. More...
 
void SetInside (int theShowInside)
 Sets myShowInside flag. myShowInside is changed, call this->Modified(). More...
 
int GetInside ()
 Return value of myShowInside. More...
 
int GetAppendCoincident3D () const
 Return value of myAppendCoincident3D. More...
 
void SetAppendCoincident3D (int theFlag)
 Sets myAppendCoincident3D flag. If this flag is true, filter append to the result data set coincident 3D elements. More...
 
void SetWireframeMode (int theIsWireframeMode)
 Sets myIsWireframeMode flag. myIsWireframeMode is changed, call this->Modified(). More...
 
int GetWireframeMode ()
 Return value of myIsWireframeMode. More...
 
void SetStoreMapping (int theStoreMapping)
 Sets myStoreMapping flag and call this->Modified() More...
 
int GetStoreMapping ()
 Return value of myStoreMapping. More...
 
virtual vtkIdType GetNodeObjId (int theVtkID)
 Return input value theVtkID. More...
 
virtual vtkIdType GetElemObjId (int theVtkID)
 Return object ID by VTK ID cell. More...
 
virtual void SetQuadraticArcMode (bool theFlag)
 
virtual bool GetQuadraticArcMode () const
 
virtual void SetQuadraticArcAngle (double theMaxAngle)
 
virtual double GetQuadraticArcAngle () const
 

Static Public Member Functions

static VTKViewer_GeometryFilterNew ()
 
static void InsertId (const vtkIdType theCellId, const vtkIdType theCellType, TVectorId &theVTK2ObjIds, TMapOfVectorId &theDimension2VTK2ObjIds)
 

Protected Member Functions

 VTKViewer_GeometryFilter ()
 Constructor which sets myShowInside = 0 and myStoreMapping = 0. More...
 
 ~VTKViewer_GeometryFilter ()
 Destructor. More...
 
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
int UnstructuredGridExecute (vtkDataSet *, vtkPolyData *, vtkInformation *)
 Filter culculation method for data object type is VTK_UNSTRUCTURED_GRID. More...
 
void BuildArcedPolygon (vtkIdType cellId, vtkUnstructuredGrid *input, vtkPolyData *output, TMapOfVectorId &theDimension2VTK2ObjIds, bool triangulate=false)
 

Private Attributes

TVectorId myVTK2ObjIds
 
int myShowInside
 
int myStoreMapping
 
int myIsWireframeMode
 
int myAppendCoincident3D
 
double myMaxArcAngle
 
bool myIsBuildArc
 

Member Typedef Documentation

typedef std::vector<vtkIdType> VTKViewer_GeometryFilter::TVectorId

Constructor & Destructor Documentation

VTKViewer_GeometryFilter::VTKViewer_GeometryFilter ( )
protected
VTKViewer_GeometryFilter::~VTKViewer_GeometryFilter ( )
protected

Member Function Documentation

void VTKViewer_GeometryFilter::BuildArcedPolygon ( vtkIdType  cellId,
vtkUnstructuredGrid *  input,
vtkPolyData *  output,
TMapOfVectorId theDimension2VTK2ObjIds,
bool  triangulate = false 
)
protected
int VTKViewer_GeometryFilter::GetAppendCoincident3D ( ) const
Return values
myAppendCoincident3D

References myAppendCoincident3D.

vtkIdType VTKViewer_GeometryFilter::GetElemObjId ( int  theVtkID)
virtual
Return values
myVTK2ObjIds[theVtkID]

References myVTK2ObjIds.

int VTKViewer_GeometryFilter::GetInside ( )
Return values
myShowInside
vtkIdType VTKViewer_GeometryFilter::GetNodeObjId ( int  theVtkID)
inlinevirtual
Return values
theVtkID
double VTKViewer_GeometryFilter::GetQuadraticArcAngle ( ) const
virtual

References myMaxArcAngle.

bool VTKViewer_GeometryFilter::GetQuadraticArcMode ( ) const
virtual

References myIsBuildArc.

int VTKViewer_GeometryFilter::GetStoreMapping ( )
Return values
myStoreMapping
int VTKViewer_GeometryFilter::GetWireframeMode ( )
Return values
myIsWireframeMode
void VTKViewer_GeometryFilter::InsertId ( const vtkIdType  theCellId,
const vtkIdType  theCellType,
TVectorId theVTK2ObjIds,
TMapOfVectorId theDimension2VTK2ObjIds 
)
static
static VTKViewer_GeometryFilter * VTKViewer_GeometryFilter::New ( )
static
int VTKViewer_GeometryFilter::RequestData ( vtkInformation *  request,
vtkInformationVector **  inputVector,
vtkInformationVector *  outputVector 
)
protectedvirtual
void VTKViewer_GeometryFilter::SetAppendCoincident3D ( int  theFlag)

References myAppendCoincident3D.

void VTKViewer_GeometryFilter::SetInside ( int  theShowInside)
Parameters
theShowInside- used for changing value of myShowInside variable.
void VTKViewer_GeometryFilter::SetQuadraticArcAngle ( double  theMaxAngle)
virtual

References myMaxArcAngle.

void VTKViewer_GeometryFilter::SetQuadraticArcMode ( bool  theFlag)
virtual

References myIsBuildArc.

void VTKViewer_GeometryFilter::SetStoreMapping ( int  theStoreMapping)
Parameters
theStoreMapping- used for changing value of myStoreMapping variable.
void VTKViewer_GeometryFilter::SetWireframeMode ( int  theIsWireframeMode)
Parameters
theIsWireframeMode- used for changing value of myIsWireframeMode variable.
void VTKViewer_GeometryFilter::UnstructuredGridExecute ( vtkDataSet *  dataSetInput,
vtkPolyData *  output,
vtkInformation *  outInfo 
)
protected
VTKViewer_GeometryFilter::vtkTypeMacro ( VTKViewer_GeometryFilter  ,
vtkGeometryFilter   
)

Member Data Documentation

int VTKViewer_GeometryFilter::myAppendCoincident3D
private
bool VTKViewer_GeometryFilter::myIsBuildArc
private
int VTKViewer_GeometryFilter::myIsWireframeMode
private
double VTKViewer_GeometryFilter::myMaxArcAngle
private
int VTKViewer_GeometryFilter::myShowInside
private
int VTKViewer_GeometryFilter::myStoreMapping
private
TVectorId VTKViewer_GeometryFilter::myVTK2ObjIds
private

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