CustusX  22.04-rc5
An IGT application
cx::GraphicalGeometric Class Reference

Display one Mesh in 3D. More...

#include <cxGeometricRep.h>

Inheritance diagram for cx::GraphicalGeometric:

Public Member Functions

 GraphicalGeometric ()
 
virtual ~GraphicalGeometric ()
 
void setMesh (MeshPtr mesh)
 sets this reps mesh More...
 
MeshPtr getMesh ()
 gives this reps mesh More...
 
void setRenderer (vtkRendererPtr renderer)
 
void setTransformOffset (Transform3D rMrr)
 

Protected Member Functions

void clearClipping ()
 

Protected Attributes

GraphicalPolyData3DPtr mGraphicalPolyDataPtr
 
GraphicalGlyph3DDataPtr mGraphicalGlyph3DDataPtr
 
MeshPtr mMesh
 
Transform3D m_rMrr
 

Detailed Description

Display one Mesh in 3D.

Use this to render geometric polydata (vtkPolyData) in a 3D scene.

Used by CustusX.

Definition at line 38 of file cxGeometricRep.h.

Constructor & Destructor Documentation

cx::GraphicalGeometric::GraphicalGeometric ( )

Definition at line 34 of file cxGeometricRep.cpp.

cx::GraphicalGeometric::~GraphicalGeometric ( )
virtual

Definition at line 40 of file cxGeometricRep.cpp.

Member Function Documentation

void cx::GraphicalGeometric::clearClipping ( )
protected

Definition at line 82 of file cxGeometricRep.cpp.

MeshPtr cx::GraphicalGeometric::getMesh ( )

gives this reps mesh

Definition at line 90 of file cxGeometricRep.cpp.

void cx::GraphicalGeometric::setMesh ( MeshPtr  mesh)

sets this reps mesh

Definition at line 44 of file cxGeometricRep.cpp.

void cx::GraphicalGeometric::setRenderer ( vtkRendererPtr  renderer)

Definition at line 95 of file cxGeometricRep.cpp.

void cx::GraphicalGeometric::setTransformOffset ( Transform3D  rMrr)

insert a transform between r and the mesh, such that M = rMrr*rMd

Definition at line 101 of file cxGeometricRep.cpp.

Member Data Documentation

Transform3D cx::GraphicalGeometric::m_rMrr
protected

Definition at line 59 of file cxGeometricRep.h.

GraphicalGlyph3DDataPtr cx::GraphicalGeometric::mGraphicalGlyph3DDataPtr
protected

Definition at line 57 of file cxGeometricRep.h.

GraphicalPolyData3DPtr cx::GraphicalGeometric::mGraphicalPolyDataPtr
protected

Definition at line 56 of file cxGeometricRep.h.

MeshPtr cx::GraphicalGeometric::mMesh
protected

Definition at line 58 of file cxGeometricRep.h.


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