![]() |
CustusX
18.04
An IGT application
|
Display one Mesh in 3D. More...
#include <cxGeometricRep.h>
Public Member Functions | |
virtual | ~GeometricRep () |
virtual QString | getType () const |
gives this reps type More... | |
void | setMesh (MeshPtr mesh) |
sets this reps mesh More... | |
MeshPtr | getMesh () |
gives this reps mesh More... | |
bool | hasMesh (MeshPtr mesh) const |
checks if this rep has the give mesh More... | |
![]() | |
RepImpl (const QString &uid="", const QString &name="") | |
virtual | ~RepImpl () |
virtual void | connectToView (ViewPtr theView) |
virtual void | disconnectFromView (ViewPtr theView) |
virtual bool | isConnectedToView (ViewPtr theView) const |
void | setName (QString name) |
QString | getName () const |
QString | getUid () const |
virtual void | printSelf (std::ostream &os, Indent indent) |
![]() | |
virtual | ~Rep () |
Static Public Member Functions | |
static GeometricRepPtr | New (const QString &uid="") |
![]() | |
template<class REP > | |
static boost::shared_ptr< REP > | wrap_new (REP *object, QString uid) |
Protected Member Functions | |
GeometricRep () | |
virtual void | addRepActorsToViewRenderer (ViewPtr view) |
virtual void | removeRepActorsFromViewRenderer (ViewPtr view) |
![]() | |
ViewPtr | getView () const |
vtkRendererPtr | getRenderer () |
RepPtr | getSelf () |
virtual void | onModifiedStartRender () |
virtual void | onEveryRender () |
Additional Inherited Members | |
![]() | |
void | setModified () |
Display one Mesh in 3D.
Use this to render geometric polydata (vtkPolyData) in a 3D scene.
Used by CustusX.
Definition at line 78 of file cxGeometricRep.h.
|
virtual |
Definition at line 174 of file cxGeometricRep.cpp.
|
protected |
Definition at line 169 of file cxGeometricRep.cpp.
|
protectedvirtual |
Implements cx::RepImpl.
Definition at line 182 of file cxGeometricRep.cpp.
MeshPtr cx::GeometricRep::getMesh | ( | ) |
gives this reps mesh
Definition at line 197 of file cxGeometricRep.cpp.
|
inlinevirtual |
bool cx::GeometricRep::hasMesh | ( | MeshPtr | mesh | ) | const |
checks if this rep has the give mesh
Definition at line 201 of file cxGeometricRep.cpp.
|
static |
Definition at line 177 of file cxGeometricRep.cpp.
|
protectedvirtual |
Implements cx::RepImpl.
Definition at line 187 of file cxGeometricRep.cpp.
void cx::GeometricRep::setMesh | ( | MeshPtr | mesh | ) |
sets this reps mesh
Definition at line 192 of file cxGeometricRep.cpp.