NorMIT-nav  22.09
An IGT application
cx::GraphicalGeometricBase Class Referenceabstract

#include <cxGraphicalPrimitives.h>

Inheritance diagram for cx::GraphicalGeometricBase:
cx::GraphicalGlyph3DData cx::GraphicalPolyData3D

Public Member Functions

 GraphicalGeometricBase (vtkPolyDataAlgorithmPtr source=vtkPolyDataAlgorithmPtr(), vtkRendererPtr renderer=vtkRendererPtr())
 
 ~GraphicalGeometricBase ()
 
void setRenderer (vtkRendererPtr renderer=vtkRendererPtr())
 
void setSource (vtkPolyDataAlgorithmPtr source)
 
void setBackfaceCulling (bool val)
 
void setVisibility (bool visible)
 
void setFrontfaceCulling (bool val)
 
void setColor (double red, double green, double blue)
 
void setColor (Vector3D color)
 
void setPosition (Vector3D point)
 
void setOpacity (double val)
 
void setUserMatrix (vtkMatrix4x4 *matrix)
 
void setPointSize (int pointSize)
 
void setScalarVisibility (bool show)
 
void setScalarModeToUseCellData ()
 
vtkActorPtr getActor ()
 
vtkPropertyPtr getProperty ()
 
vtkPolyDataPtr getPolyData ()
 
Vector3D getPosition () const
 
vtkPolyDataAlgorithmPtr getSource ()
 

Protected Member Functions

virtual vtkMapperPtr getMapper ()=0
 

Protected Attributes

vtkPolyDataAlgorithmPtr mSource
 
vtkPropertyPtr mProperty
 
vtkActorPtr mActor
 
vtkPolyDataPtr mData
 
vtkRendererPtr mRenderer
 

Detailed Description

Definition at line 36 of file cxGraphicalPrimitives.h.

Constructor & Destructor Documentation

◆ GraphicalGeometricBase()

cx::GraphicalGeometricBase::GraphicalGeometricBase ( vtkPolyDataAlgorithmPtr  source = vtkPolyDataAlgorithmPtr(),
vtkRendererPtr  renderer = vtkRendererPtr() 
)

Definition at line 40 of file cxGraphicalPrimitives.cpp.

◆ ~GraphicalGeometricBase()

cx::GraphicalGeometricBase::~GraphicalGeometricBase ( )

Definition at line 47 of file cxGraphicalPrimitives.cpp.

Member Function Documentation

◆ getActor()

vtkActorPtr cx::GraphicalGeometricBase::getActor ( )

Definition at line 137 of file cxGraphicalPrimitives.cpp.

◆ getMapper()

virtual vtkMapperPtr cx::GraphicalGeometricBase::getMapper ( )
protectedpure virtual

◆ getPolyData()

vtkPolyDataPtr cx::GraphicalGeometricBase::getPolyData ( )

Definition at line 147 of file cxGraphicalPrimitives.cpp.

◆ getPosition()

Vector3D cx::GraphicalGeometricBase::getPosition ( ) const

Definition at line 132 of file cxGraphicalPrimitives.cpp.

◆ getProperty()

vtkPropertyPtr cx::GraphicalGeometricBase::getProperty ( )

Definition at line 142 of file cxGraphicalPrimitives.cpp.

◆ getSource()

vtkPolyDataAlgorithmPtr cx::GraphicalGeometricBase::getSource ( )

Definition at line 155 of file cxGraphicalPrimitives.cpp.

◆ setBackfaceCulling()

void cx::GraphicalGeometricBase::setBackfaceCulling ( bool  val)

Definition at line 80 of file cxGraphicalPrimitives.cpp.

◆ setColor() [1/2]

void cx::GraphicalGeometricBase::setColor ( double  red,
double  green,
double  blue 
)

Definition at line 90 of file cxGraphicalPrimitives.cpp.

◆ setColor() [2/2]

void cx::GraphicalGeometricBase::setColor ( Vector3D  color)

Definition at line 95 of file cxGraphicalPrimitives.cpp.

◆ setFrontfaceCulling()

void cx::GraphicalGeometricBase::setFrontfaceCulling ( bool  val)

Definition at line 85 of file cxGraphicalPrimitives.cpp.

◆ setOpacity()

void cx::GraphicalGeometricBase::setOpacity ( double  val)

Definition at line 105 of file cxGraphicalPrimitives.cpp.

◆ setPointSize()

void cx::GraphicalGeometricBase::setPointSize ( int  pointSize)

Definition at line 115 of file cxGraphicalPrimitives.cpp.

◆ setPosition()

void cx::GraphicalGeometricBase::setPosition ( Vector3D  point)

Definition at line 100 of file cxGraphicalPrimitives.cpp.

◆ setRenderer()

void cx::GraphicalGeometricBase::setRenderer ( vtkRendererPtr  renderer = vtkRendererPtr())

Definition at line 63 of file cxGraphicalPrimitives.cpp.

◆ setScalarModeToUseCellData()

void cx::GraphicalGeometricBase::setScalarModeToUseCellData ( )

Definition at line 127 of file cxGraphicalPrimitives.cpp.

◆ setScalarVisibility()

void cx::GraphicalGeometricBase::setScalarVisibility ( bool  show)

Definition at line 122 of file cxGraphicalPrimitives.cpp.

◆ setSource()

void cx::GraphicalGeometricBase::setSource ( vtkPolyDataAlgorithmPtr  source)

Definition at line 52 of file cxGraphicalPrimitives.cpp.

◆ setUserMatrix()

void cx::GraphicalGeometricBase::setUserMatrix ( vtkMatrix4x4 *  matrix)

Definition at line 110 of file cxGraphicalPrimitives.cpp.

◆ setVisibility()

void cx::GraphicalGeometricBase::setVisibility ( bool  visible)

Definition at line 74 of file cxGraphicalPrimitives.cpp.

Member Data Documentation

◆ mActor

vtkActorPtr cx::GraphicalGeometricBase::mActor
protected

Definition at line 69 of file cxGraphicalPrimitives.h.

◆ mData

vtkPolyDataPtr cx::GraphicalGeometricBase::mData
protected

Definition at line 70 of file cxGraphicalPrimitives.h.

◆ mProperty

vtkPropertyPtr cx::GraphicalGeometricBase::mProperty
protected

Definition at line 68 of file cxGraphicalPrimitives.h.

◆ mRenderer

vtkRendererPtr cx::GraphicalGeometricBase::mRenderer
protected

Definition at line 71 of file cxGraphicalPrimitives.h.

◆ mSource

vtkPolyDataAlgorithmPtr cx::GraphicalGeometricBase::mSource
protected

Definition at line 67 of file cxGraphicalPrimitives.h.


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