CustusX  2021.04.21-dev+develop.337f9
An IGT application
cx::GraphicalPolyData3D Class Reference

Helper for rendering a a polydata in 3D. More...

#include <cxGraphicalPrimitives.h>

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

Public Member Functions

 GraphicalPolyData3D (vtkPolyDataAlgorithmPtr source=vtkPolyDataAlgorithmPtr(), vtkRendererPtr renderer=vtkRendererPtr())
 
void setIsWireFrame (bool val)
 
void setData (vtkPolyDataPtr data)
 
void setTexture (vtkTexturePtr texture)
 
vtkMapperPtr getMapper ()
 
- Public Member Functions inherited from cx::GraphicalGeometricBase
 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)
 
vtkActorPtr getActor ()
 
vtkPropertyPtr getProperty ()
 
vtkPolyDataPtr getPolyData ()
 
Vector3D getPosition () const
 
vtkPolyDataAlgorithmPtr getSource ()
 

Additional Inherited Members

- Protected Attributes inherited from cx::GraphicalGeometricBase
vtkPolyDataAlgorithmPtr mSource
 
vtkPropertyPtr mProperty
 
vtkActorPtr mActor
 
vtkPolyDataPtr mData
 
vtkRendererPtr mRenderer
 

Detailed Description

Helper for rendering a a polydata in 3D.

Definition at line 82 of file cxGraphicalPrimitives.h.

Constructor & Destructor Documentation

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

Definition at line 159 of file cxGraphicalPrimitives.cpp.

Member Function Documentation

vtkMapperPtr cx::GraphicalPolyData3D::getMapper ( )
virtual

Implements cx::GraphicalGeometricBase.

Definition at line 188 of file cxGraphicalPrimitives.cpp.

void cx::GraphicalPolyData3D::setData ( vtkPolyDataPtr  data)

Definition at line 174 of file cxGraphicalPrimitives.cpp.

void cx::GraphicalPolyData3D::setIsWireFrame ( bool  val)

Definition at line 169 of file cxGraphicalPrimitives.cpp.

void cx::GraphicalPolyData3D::setTexture ( vtkTexturePtr  texture)

Definition at line 182 of file cxGraphicalPrimitives.cpp.


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