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

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

#include <cxStream2DRep3D.h>

Inheritance diagram for cx::Stream2DRep3D:
cx::RepImpl cx::Rep

Public Member Functions

virtual QString getType () const
 
void setTrackedStream (TrackedStreamPtr trackedStream)
 
bool isReady ()
 
- 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 Stream2DRep3DPtr New (SpaceProviderPtr spaceProvider, 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

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 ()
 

Additional Inherited Members

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

Detailed Description

Display a stream as 2D in 3D.

The stream can be either 2D or 3D

Date
Sep 10, 2015
Author
Ole Vegard Solberg, SINTEF

Definition at line 54 of file cxStream2DRep3D.h.

Member Function Documentation

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

Implements cx::RepImpl.

Definition at line 82 of file cxStream2DRep3D.cpp.

QString cx::Stream2DRep3D::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.

Implements cx::RepImpl.

Definition at line 59 of file cxStream2DRep3D.cpp.

bool cx::Stream2DRep3D::isReady ( )

Definition at line 99 of file cxStream2DRep3D.cpp.

Stream2DRep3DPtr cx::Stream2DRep3D::New ( SpaceProviderPtr  spaceProvider,
const QString &  uid = "" 
)
static

Definition at line 46 of file cxStream2DRep3D.cpp.

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

Implements cx::RepImpl.

Definition at line 87 of file cxStream2DRep3D.cpp.

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

Definition at line 64 of file cxStream2DRep3D.cpp.


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