![]() |
NorMIT-nav
16.5
An IGT application
|
Display a VideoSource in a View. More...
#include <cxVideoRep.h>
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 |
![]() | |
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) |
![]() | |
virtual | ~Rep () |
Protected Member Functions | |
virtual void | addRepActorsToViewRenderer (ViewPtr view) |
virtual void | removeRepActorsFromViewRenderer (ViewPtr view) |
![]() | |
ViewPtr | getView () const |
vtkRendererPtr | getRenderer () |
RepPtr | getSelf () |
virtual void | onModifiedStartRender () |
Additional Inherited Members | |
![]() | |
template<class REP > | |
static boost::shared_ptr< REP > | wrap_new (REP *object, QString uid) |
![]() | |
void | setModified () |
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.
Definition at line 66 of file cxVideoRep.h.
cx::VideoFixedPlaneRep::VideoFixedPlaneRep | ( | const QString & | uid, |
const QString & | name = "" |
||
) |
Definition at line 58 of file cxVideoRep.cpp.
|
virtual |
Definition at line 95 of file cxVideoRep.cpp.
|
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.
|
inlinevirtual |
Implements cx::RepImpl.
Definition at line 72 of file cxVideoRep.h.
|
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.