CustusX
22.04-rc3
An IGT application
|
Display one Mesh in 2D. More...
#include <cxGeometricRep2D.h>
Public Member Functions | |
virtual | ~GeometricRep2D () |
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... | |
void | setSliceProxy (SliceProxyPtr slicer) |
Public Member Functions inherited from cx::RepImpl | |
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) |
Public Member Functions inherited from cx::Rep | |
virtual | ~Rep () |
Static Public Member Functions | |
static GeometricRep2DPtr | New (const QString &uid="") |
Static Public Member Functions inherited from cx::RepImpl | |
template<class REP > | |
static boost::shared_ptr< REP > | wrap_new (REP *object, QString uid) |
Protected Member Functions | |
GeometricRep2D () | |
virtual void | addRepActorsToViewRenderer (ViewPtr view) |
virtual void | removeRepActorsFromViewRenderer (ViewPtr view) |
Protected Member Functions inherited from cx::RepImpl | |
ViewPtr | getView () const |
vtkRendererPtr | getRenderer () |
RepPtr | getSelf () |
virtual void | onModifiedStartRender () |
virtual void | onEveryRender () |
Protected Attributes | |
vtkPolyDataMapperPtr | mMapper |
vtkPropertyPtr | mProperty |
vtkActorPtr | mActor |
MeshPtr | mMesh |
SliceProxyPtr | mSlicer |
Additional Inherited Members | |
Protected Slots inherited from cx::RepImpl | |
void | setModified () |
Display one Mesh in 2D.
Use this to render geometric polydata in a 2D scene as an intersection between the full polydata and the slice plane.
Used by CustusX.
Definition at line 39 of file cxGeometricRep2D.h.
|
virtual |
Definition at line 46 of file cxGeometricRep2D.cpp.
|
protected |
Definition at line 36 of file cxGeometricRep2D.cpp.
|
protectedvirtual |
Implements cx::RepImpl.
Definition at line 55 of file cxGeometricRep2D.cpp.
MeshPtr cx::GeometricRep2D::getMesh | ( | ) |
gives this reps mesh
Definition at line 84 of file cxGeometricRep2D.cpp.
|
inlinevirtual |
bool cx::GeometricRep2D::hasMesh | ( | MeshPtr | mesh | ) | const |
checks if this rep has the give mesh
Definition at line 88 of file cxGeometricRep2D.cpp.
|
static |
Definition at line 50 of file cxGeometricRep2D.cpp.
|
protectedvirtual |
Implements cx::RepImpl.
Definition at line 60 of file cxGeometricRep2D.cpp.
void cx::GeometricRep2D::setMesh | ( | MeshPtr | mesh | ) |
sets this reps mesh
Definition at line 65 of file cxGeometricRep2D.cpp.
void cx::GeometricRep2D::setSliceProxy | ( | SliceProxyPtr | slicer | ) |
Definition at line 93 of file cxGeometricRep2D.cpp.
|
protected |
Definition at line 60 of file cxGeometricRep2D.h.
|
protected |
Definition at line 58 of file cxGeometricRep2D.h.
|
protected |
Definition at line 62 of file cxGeometricRep2D.h.
|
protected |
Definition at line 59 of file cxGeometricRep2D.h.
|
protected |
Definition at line 63 of file cxGeometricRep2D.h.