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

Display a VideoSource in a View. More...

#include <cxVideoRep.h>

Inheritance diagram for cx::VideoFixedPlaneRep:
cx::RepImpl cx::Rep

Public Member Functions

 VideoFixedPlaneRep (const QString &uid, const QString &name="")
 
virtual ~VideoFixedPlaneRep ()
 
virtual QString getType () const
 
void setRealtimeStream (VideoSourcePtr data)
 
void setTool (ToolPtr tool)
 
void setShowSector (bool on)
 
bool getShowSector () const
 
- 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 ()
 

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

- Static Public Member Functions inherited from cx::RepImpl
template<class REP >
static boost::shared_ptr< REP > wrap_new (REP *object, QString uid)
 
- Protected Slots inherited from cx::RepImpl
void setModified ()
 

Detailed Description

Display a VideoSource in a View.

A rep visualizing a VideoSource directly into the view plane. It does not follow the tool, but controls the camera in order to fill the entire View.

Used by CustusX.

Date
Oct 31, 2010
Author
christiana

Definition at line 66 of file cxVideoRep.h.

Constructor & Destructor Documentation

cx::VideoFixedPlaneRep::VideoFixedPlaneRep ( const QString &  uid,
const QString &  name = "" 
)

Definition at line 58 of file cxVideoRep.cpp.

cx::VideoFixedPlaneRep::~VideoFixedPlaneRep ( )
virtual

Definition at line 95 of file cxVideoRep.cpp.

Member Function Documentation

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

Implements cx::RepImpl.

Definition at line 199 of file cxVideoRep.cpp.

bool cx::VideoFixedPlaneRep::getShowSector ( ) const

Definition at line 105 of file cxVideoRep.cpp.

virtual QString cx::VideoFixedPlaneRep::getType ( ) const
inlinevirtual
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 72 of file cxVideoRep.h.

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

Implements cx::RepImpl.

Definition at line 214 of file cxVideoRep.cpp.

void cx::VideoFixedPlaneRep::setRealtimeStream ( VideoSourcePtr  data)

Definition at line 133 of file cxVideoRep.cpp.

void cx::VideoFixedPlaneRep::setShowSector ( bool  on)

Definition at line 99 of file cxVideoRep.cpp.

void cx::VideoFixedPlaneRep::setTool ( ToolPtr  tool)

Definition at line 127 of file cxVideoRep.cpp.


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