Fraxinus
2023.01.05-dev+develop.0da12
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 |
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 () |
virtual void | onEveryRender () |
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 () |
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 45 of file cxVideoRep.h.
cx::VideoFixedPlaneRep::VideoFixedPlaneRep | ( | const QString & | uid, |
const QString & | name = "" |
||
) |
Definition at line 37 of file cxVideoRep.cpp.
|
virtual |
Definition at line 74 of file cxVideoRep.cpp.
|
protectedvirtual |
Implements cx::RepImpl.
Definition at line 178 of file cxVideoRep.cpp.
bool cx::VideoFixedPlaneRep::getShowSector | ( | ) | const |
Definition at line 84 of file cxVideoRep.cpp.
|
inlinevirtual |
Implements cx::RepImpl.
Definition at line 51 of file cxVideoRep.h.
|
protectedvirtual |
Implements cx::RepImpl.
Definition at line 193 of file cxVideoRep.cpp.
void cx::VideoFixedPlaneRep::setRealtimeStream | ( | VideoSourcePtr | data | ) |
Definition at line 112 of file cxVideoRep.cpp.
void cx::VideoFixedPlaneRep::setShowSector | ( | bool | on | ) |
Definition at line 78 of file cxVideoRep.cpp.
void cx::VideoFixedPlaneRep::setTool | ( | ToolPtr | tool | ) |
Definition at line 106 of file cxVideoRep.cpp.