NorMIT-nav  18.04-rc6
An IGT application
cx::StreamRep3D Class Reference

Display a 3D stream in 3D. More...

#include <cxStreamRep3D.h>

Inheritance diagram for cx::StreamRep3D:
cx::VolumetricRep cx::VolumetricBaseRep cx::RepImpl cx::Rep

Public Member Functions

virtual QString getType () const
 
void setTrackedStream (TrackedStreamPtr trackedStream)
 
TrackedStreamPtr getTrackedStream ()
 
- Public Member Functions inherited from cx::VolumetricRep
virtual ~VolumetricRep ()
 
virtual void setImage (ImagePtr image)
 set the reps image More...
 
virtual ImagePtr getImage ()
 get the reps image More...
 
virtual bool hasImage (ImagePtr image) const
 check if the reps has the image More...
 
virtual vtkVolumePtr getVtkVolume ()
 get the images vtkVolume More...
 
void setMaxVolumeSize (long maxVoxels)
 set max volume size for rendering. Must be set before setImage() More...
 
void setUseGPUVolumeRayCastMapper ()
 
void setUseVolumeTextureMapper ()
 
- Public Member Functions inherited from cx::VolumetricBaseRep
virtual ~VolumetricBaseRep ()
 
- 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 StreamRep3DPtr New (SpaceProviderPtr spaceProvider, PatientModelServicePtr patientModelService, const QString &uid="")
 
- Static Public Member Functions inherited from cx::VolumetricRep
static VolumetricRepPtr New (QString uid="")
 
- Static Public Member Functions inherited from cx::RepImpl
template<class REP >
static boost::shared_ptr< REP > wrap_new (REP *object, QString uid)
 

Additional Inherited Members

- Protected Slots inherited from cx::VolumetricRep
void transformChangedSlot ()
 
void vtkImageDataChangedSlot ()
 
void updateVtkImageDataSlot ()
 
- Protected Slots inherited from cx::RepImpl
void setModified ()
 
- Protected Member Functions inherited from cx::VolumetricRep
 VolumetricRep ()
 
virtual void addRepActorsToViewRenderer (ViewPtr view)
 
virtual void removeRepActorsFromViewRenderer (ViewPtr view)
 
- Protected Member Functions inherited from cx::VolumetricBaseRep
 VolumetricBaseRep ()
 
- Protected Member Functions inherited from cx::RepImpl
ViewPtr getView () const
 
vtkRendererPtr getRenderer ()
 
RepPtr getSelf ()
 
virtual void onModifiedStartRender ()
 
virtual void onEveryRender ()
 
- Protected Attributes inherited from cx::VolumetricRep
cx::VolumePropertyPtr mVolumeProperty
 
vtkVolumeMapperPtr mMapper
 
vtkVolumePtr mVolume
 
long mMaxVoxels
 always resample volume below this size. More...
 
ImagePtr mImage
 
cx::ImageMapperMonitorPtr mMonitor
 helper object for visualizing clipping/cropping More...
 

Detailed Description

Display a 3D stream in 3D.

Date
jan 29, 2015
Author
Ole Vegard Solberg, SINTEF

Definition at line 31 of file cxStreamRep3D.h.

Member Function Documentation

TrackedStreamPtr cx::StreamRep3D::getTrackedStream ( )

Definition at line 100 of file cxStreamRep3D.cpp.

QString cx::StreamRep3D::getType ( ) const
virtual
Returns
a string identifying the Rep type. Each suclass implement this with its own class name. Subclasses from other namespaces (such as cx and snw) should add that namespace as a prefix.

Reimplemented from cx::VolumetricRep.

Definition at line 105 of file cxStreamRep3D.cpp.

StreamRep3DPtr cx::StreamRep3D::New ( SpaceProviderPtr  spaceProvider,
PatientModelServicePtr  patientModelService,
const QString &  uid = "" 
)
static

Definition at line 35 of file cxStreamRep3D.cpp.

void cx::StreamRep3D::setTrackedStream ( TrackedStreamPtr  trackedStream)

Definition at line 48 of file cxStreamRep3D.cpp.


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