CustusX  15.3.3-beta
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::TrackedStream Class Reference

A data set for video streams (2D/3D). More...

#include <cxTrackedStream.h>

Inheritance diagram for cx::TrackedStream:
cx::Data

Signals

void streamChanged (QString uid)
 
void newTool (ToolPtr tool)
 
void newVideoSource (VideoSourcePtr videoSource)
 
void newFrame ()
 
void streaming (bool on)
 emitted when streaming started/stopped More...
 
- Signals inherited from cx::Data
void transformChanged ()
 emitted when transform is changed More...
 
void propertiesChanged ()
 emitted when one of the metadata properties (uid, name etc) changes More...
 

Public Member Functions

 TrackedStream (const QString &uid, const QString &name, const ToolPtr &probe, const VideoSourcePtr &videoSource)
 
void setProbeTool (const ToolPtr &probeTool)
 
ToolPtr getProbeTool ()
 
void setVideoSource (const VideoSourcePtr &videoSource)
 
VideoSourcePtr getVideoSource ()
 
void setSpaceProvider (SpaceProviderPtr spaceProvider)
 
virtual void addXml (QDomNode &dataNode)
 adds xml information about the data and its variabels More...
 
virtual void parseXml (QDomNode &dataNode)
 Use a XML node to load data. More...
 
virtual DoubleBoundingBox3D boundingBox () const
 
virtual bool load (QString path)
 Not used. More...
 
virtual void save (const QString &basePath)
 Not used. More...
 
virtual QString getType () const
 
ImagePtr getChangingImage ()
 
bool is3D ()
 
bool hasVideo () const
 
- Public Member Functions inherited from cx::Data
 Data (const QString &uid, const QString &name="")
 
virtual ~Data ()
 
void setUid (const QString &uid)
 
void setName (const QString &name)
 
void setAcquisitionTime (QDateTime time)
 
virtual RegistrationHistoryPtr get_rMd_History ()
 
LandmarksPtr getLandmarks ()
 
virtual QString getUid () const
 
virtual QString getName () const
 
virtual Transform3D get_rMd () const
 
virtual QDateTime getAcquisitionTime () const
 
virtual QString getFilename () const
 
virtual void setFilename (QString val)
 
virtual QString getSpace ()
 
virtual QString getParentSpace ()
 
virtual CoordinateSystem getCoordinateSystem ()
 

Static Public Member Functions

static TrackedStreamPtr create (const QString &uid, const QString &name="")
 
static QString getTypeName ()
 

Additional Inherited Members

- Protected Slots inherited from cx::Data
virtual void transformChangedSlot ()
 
- Protected Attributes inherited from cx::Data
QString mUid
 
QString mName
 
QString mFilename
 
QDateTime mAcquisitionTime
 
LandmarksPtr mLandmarks
 
REGISTRATION_STATUS mRegistrationStatus
 
RegistrationHistoryPtr m_rMd_History
 

Detailed Description

A data set for video streams (2D/3D).

Allowing video stream as a data type

Date
jan 28, 2015
Author
Ole Vegard Solberg, SINTEF

Definition at line 50 of file cxTrackedStream.h.

Constructor & Destructor Documentation

cx::TrackedStream::TrackedStream ( const QString &  uid,
const QString &  name,
const ToolPtr probe,
const VideoSourcePtr videoSource 
)

Definition at line 52 of file cxTrackedStream.cpp.

Member Function Documentation

void cx::TrackedStream::addXml ( QDomNode &  dataNode)
virtual

adds xml information about the data and its variabels

Reimplemented from cx::Data.

Definition at line 148 of file cxTrackedStream.cpp.

DoubleBoundingBox3D cx::TrackedStream::boundingBox ( ) const
virtual

Implements cx::Data.

Definition at line 158 of file cxTrackedStream.cpp.

TrackedStreamPtr cx::TrackedStream::create ( const QString &  uid,
const QString &  name = "" 
)
static

Definition at line 47 of file cxTrackedStream.cpp.

ImagePtr cx::TrackedStream::getChangingImage ( )

Definition at line 176 of file cxTrackedStream.cpp.

ToolPtr cx::TrackedStream::getProbeTool ( )

Definition at line 104 of file cxTrackedStream.cpp.

QString cx::TrackedStream::getType ( ) const
virtual

Reimplemented from cx::Data.

Definition at line 166 of file cxTrackedStream.cpp.

QString cx::TrackedStream::getTypeName ( )
static

Definition at line 171 of file cxTrackedStream.cpp.

VideoSourcePtr cx::TrackedStream::getVideoSource ( )

Definition at line 138 of file cxTrackedStream.cpp.

bool cx::TrackedStream::hasVideo ( ) const

Definition at line 193 of file cxTrackedStream.cpp.

bool cx::TrackedStream::is3D ( )

Definition at line 185 of file cxTrackedStream.cpp.

virtual bool cx::TrackedStream::load ( QString  path)
inlinevirtual

Not used.

Implements cx::Data.

Definition at line 67 of file cxTrackedStream.h.

void cx::TrackedStream::newFrame ( )
signal
void cx::TrackedStream::newTool ( ToolPtr  tool)
signal
void cx::TrackedStream::newVideoSource ( VideoSourcePtr  videoSource)
signal
void cx::TrackedStream::parseXml ( QDomNode &  dataNode)
virtual

Use a XML node to load data.

Parameters
dataNodeA XML data representation of this object.

Reimplemented from cx::Data.

Definition at line 153 of file cxTrackedStream.cpp.

virtual void cx::TrackedStream::save ( const QString &  basePath)
inlinevirtual

Not used.

Implements cx::Data.

Definition at line 68 of file cxTrackedStream.h.

void cx::TrackedStream::setProbeTool ( const ToolPtr probeTool)

Definition at line 63 of file cxTrackedStream.cpp.

void cx::TrackedStream::setSpaceProvider ( SpaceProviderPtr  spaceProvider)

Definition at line 143 of file cxTrackedStream.cpp.

void cx::TrackedStream::setVideoSource ( const VideoSourcePtr videoSource)

Definition at line 109 of file cxTrackedStream.cpp.

void cx::TrackedStream::streamChanged ( QString  uid)
signal
void cx::TrackedStream::streaming ( bool  on)
signal

emitted when streaming started/stopped


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