Version: 6.3.1
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Types | Private Attributes

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 Member Functions

 vtkTypeRevisionMacro (VTKViewer_GeometryFilter, vtkGeometryFilter)
 VTK type revision macros.
void SetInside (int theShowInside)
 Sets myShowInside flag. myShowInside is changed, call this->Modified().
int GetInside ()
 Return value of myShowInside.
void SetWireframeMode (int theIsWireframeMode)
 Sets myIsWireframeMode flag. myIsWireframeMode is changed, call this->Modified().
int GetWireframeMode ()
 Return value of myIsWireframeMode.
void SetStoreMapping (int theStoreMapping)
 Sets myStoreMapping flag and call this->Modified()
int GetStoreMapping ()
 Return value of myStoreMapping.
virtual vtkIdType GetNodeObjId (int theVtkID)
 Return input value theVtkID.
virtual vtkIdType GetElemObjId (int theVtkID)
 Return object ID by VTK ID cell.
virtual void SetQuadraticArcMode (bool theFlag)
virtual bool GetQuadraticArcMode () const
virtual void SetQuadraticArcAngle (vtkFloatingPointType theMaxAngle)
virtual vtkFloatingPointType GetQuadraticArcAngle () const

Static Public Member Functions

static VTKViewer_GeometryFilterNew ()

Protected Member Functions

 VTKViewer_GeometryFilter ()
 Constructor which sets myShowInside = 0 and myStoreMapping = 0.
 ~VTKViewer_GeometryFilter ()
 Destructor.
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
int UnstructuredGridExecute (vtkDataSet *, vtkPolyData *, vtkInformation *)
void BuildArcedPolygon (vtkIdType cellId, vtkUnstructuredGrid *input, vtkPolyData *output, bool triangulate=false)

Private Types

typedef std::vector< vtkIdType > TVectorId

Private Attributes

TVectorId myVTK2ObjIds
int myShowInside
int myStoreMapping
int myIsWireframeMode
vtkFloatingPointType myMaxArcAngle
bool myIsBuildArc

Member Typedef Documentation

typedef std::vector<vtkIdType> VTKViewer_GeometryFilter.TVectorId [private]

Constructor & Destructor Documentation

VTKViewer_GeometryFilter::VTKViewer_GeometryFilter ( ) [protected]
VTKViewer_GeometryFilter::~VTKViewer_GeometryFilter ( ) [protected]

Member Function Documentation

static VTKViewer_GeometryFilter * VTKViewer_GeometryFilter::New ( ) [static]
VTKViewer_GeometryFilter::vtkTypeRevisionMacro ( VTKViewer_GeometryFilter  ,
vtkGeometryFilter   
)
void VTKViewer_GeometryFilter::SetInside ( int  theShowInside)
Parameters:
theShowInside- used for changing value of myShowInside variable.
int VTKViewer_GeometryFilter::GetInside ( )
Return values:
myShowInside
void VTKViewer_GeometryFilter::SetWireframeMode ( int  theIsWireframeMode)
Parameters:
theIsWireframeMode- used for changing value of myIsWireframeMode variable.
int VTKViewer_GeometryFilter::GetWireframeMode ( )
Return values:
myIsWireframeMode
void VTKViewer_GeometryFilter::SetStoreMapping ( int  theStoreMapping)
Parameters:
theStoreMapping- used for changing value of myStoreMapping variable.
int VTKViewer_GeometryFilter::GetStoreMapping ( )
Return values:
myStoreMapping
vtkIdType VTKViewer_GeometryFilter::GetNodeObjId ( int  theVtkID) [virtual]
Return values:
theVtkID
vtkIdType VTKViewer_GeometryFilter::GetElemObjId ( int  theVtkID) [virtual]
Return values:
myVTK2ObjIds[theVtkID]

References myVTK2ObjIds.

void VTKViewer_GeometryFilter::SetQuadraticArcMode ( bool  theFlag) [virtual]

References myIsBuildArc.

bool VTKViewer_GeometryFilter::GetQuadraticArcMode ( ) const [virtual]

References myIsBuildArc.

void VTKViewer_GeometryFilter::SetQuadraticArcAngle ( vtkFloatingPointType  theMaxAngle) [virtual]

References myMaxArcAngle.

vtkFloatingPointType VTKViewer_GeometryFilter::GetQuadraticArcAngle ( ) const [virtual]

References myMaxArcAngle.

int VTKViewer_GeometryFilter::RequestData ( vtkInformation *  request,
vtkInformationVector **  inputVector,
vtkInformationVector *  outputVector 
) [protected, virtual]
int VTKViewer_GeometryFilter::UnstructuredGridExecute ( vtkDataSet *  dataSetInput,
vtkPolyData *  output,
vtkInformation *  outInfo 
) [protected]
void VTKViewer_GeometryFilter::BuildArcedPolygon ( vtkIdType  cellId,
vtkUnstructuredGrid *  input,
vtkPolyData *  output,
bool  triangulate = false 
) [protected]

Field Documentation

Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS