Fraxinus  16.5.0-fx-rc9
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::GeometricRep Class Reference

Display one Mesh in 3D. More...

#include <cxGeometricRep.h>

Inheritance diagram for cx::GeometricRep:
cx::RepImpl cx::Rep

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...
 
- 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 GeometricRepPtr 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

 GeometricRep ()
 
virtual void addRepActorsToViewRenderer (ViewPtr view)
 
virtual void removeRepActorsFromViewRenderer (ViewPtr view)
 
void clearClipping ()
 
- Protected Member Functions inherited from cx::RepImpl
ViewPtr getView () const
 
vtkRendererPtr getRenderer ()
 
RepPtr getSelf ()
 
virtual void onModifiedStartRender ()
 

Protected Attributes

GraphicalPolyData3DPtr mGraphicalPolyDataPtr
 
GraphicalGlyph3DDataPtr mGraphicalGlyph3DDataPtr
 
MeshPtr mMesh
 

Additional Inherited Members

- Protected Slots inherited from cx::RepImpl
void setModified ()
 

Detailed Description

Display one Mesh in 3D.

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

Used by CustusX.

Definition at line 61 of file cxGeometricRep.h.

Constructor & Destructor Documentation

cx::GeometricRep::~GeometricRep ( )
virtual

Definition at line 60 of file cxGeometricRep.cpp.

cx::GeometricRep::GeometricRep ( )
protected

Definition at line 53 of file cxGeometricRep.cpp.

Member Function Documentation

void cx::GeometricRep::addRepActorsToViewRenderer ( ViewPtr  view)
protectedvirtual

Implements cx::RepImpl.

Definition at line 68 of file cxGeometricRep.cpp.

void cx::GeometricRep::clearClipping ( )
protected

Definition at line 118 of file cxGeometricRep.cpp.

MeshPtr cx::GeometricRep::getMesh ( )

gives this reps mesh

Definition at line 126 of file cxGeometricRep.cpp.

virtual QString cx::GeometricRep::getType ( ) const
inlinevirtual

gives this reps type

Implements cx::RepImpl.

Definition at line 68 of file cxGeometricRep.h.

bool cx::GeometricRep::hasMesh ( MeshPtr  mesh) const

checks if this rep has the give mesh

Definition at line 130 of file cxGeometricRep.cpp.

GeometricRepPtr cx::GeometricRep::New ( const QString &  uid = "")
static

Definition at line 63 of file cxGeometricRep.cpp.

void cx::GeometricRep::removeRepActorsFromViewRenderer ( ViewPtr  view)
protectedvirtual

Implements cx::RepImpl.

Definition at line 74 of file cxGeometricRep.cpp.

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

sets this reps mesh

Definition at line 80 of file cxGeometricRep.cpp.

Member Data Documentation

GraphicalGlyph3DDataPtr cx::GeometricRep::mGraphicalGlyph3DDataPtr
protected

Definition at line 79 of file cxGeometricRep.h.

GraphicalPolyData3DPtr cx::GeometricRep::mGraphicalPolyDataPtr
protected

Definition at line 78 of file cxGeometricRep.h.

MeshPtr cx::GeometricRep::mMesh
protected

Definition at line 81 of file cxGeometricRep.h.


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