NorMIT-nav  2023.01.05-dev+develop.0da12
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

◆ GraphicalGeometric()

cx::GraphicalGeometric::GraphicalGeometric ( )

Definition at line 34 of file cxGeometricRep.cpp.

◆ ~GraphicalGeometric()

cx::GraphicalGeometric::~GraphicalGeometric ( )
virtual

Definition at line 40 of file cxGeometricRep.cpp.

Member Function Documentation

◆ clearClipping()

void cx::GraphicalGeometric::clearClipping ( )
protected

Definition at line 82 of file cxGeometricRep.cpp.

◆ getMesh()

MeshPtr cx::GraphicalGeometric::getMesh ( )

gives this reps mesh

Definition at line 90 of file cxGeometricRep.cpp.

◆ setMesh()

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

sets this reps mesh

Definition at line 44 of file cxGeometricRep.cpp.

◆ setRenderer()

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

Definition at line 95 of file cxGeometricRep.cpp.

◆ setTransformOffset()

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

◆ m_rMrr

Transform3D cx::GraphicalGeometric::m_rMrr
protected

Definition at line 59 of file cxGeometricRep.h.

◆ mGraphicalGlyph3DDataPtr

GraphicalGlyph3DDataPtr cx::GraphicalGeometric::mGraphicalGlyph3DDataPtr
protected

Definition at line 57 of file cxGeometricRep.h.

◆ mGraphicalPolyDataPtr

GraphicalPolyData3DPtr cx::GraphicalGeometric::mGraphicalPolyDataPtr
protected

Definition at line 56 of file cxGeometricRep.h.

◆ mMesh

MeshPtr cx::GraphicalGeometric::mMesh
protected

Definition at line 58 of file cxGeometricRep.h.


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