NorMIT-nav
2023.01.05-dev+develop.0da12
An IGT application
|
A data set for video streams (2D/3D). More...
#include <cxTrackedStream.h>
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... | |
void | newPosition () |
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... | |
void | clipPlanesChanged () |
Public Member Functions | |
TrackedStream (const QString &uid, const QString &name, const ToolPtr &probe, const VideoSourcePtr &videoSource) | |
~TrackedStream () | |
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 QString | getType () const |
ImagePtr | getChangingImage () |
void | deleteImageToStopEmittingFrames () |
bool | is3D () |
bool | is2D () |
bool | hasVideo () const |
bool | isStreaming () 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) |
void | setSoftwareAcquisitionTime (QDateTime time) |
void | setOriginalAcquisitionTime (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 TimeInfo | getAdvancedTimeInfo () const |
virtual QIcon | getIcon () |
virtual bool | isEqual (DataPtr metric) |
virtual QString | getFilename () const |
virtual void | setFilename (QString val) |
virtual QString | getSpace () |
virtual QString | getParentSpace () |
virtual std::vector< Vector3D > | getPointCloud () const |
virtual bool | load (QString path, FileManagerServicePtr port)=0 |
virtual void | save (const QString &basePath, FileManagerServicePtr port)=0 |
virtual CoordinateSystem | getCoordinateSystem () |
virtual void | addPersistentClipPlane (vtkPlanePtr plane) |
virtual std::vector< vtkPlanePtr > | getAllClipPlanes () |
virtual void | clearPersistentClipPlanes () |
virtual void | setInteractiveClipPlane (vtkPlanePtr plane) |
set a plane that is not saved More... | |
void | addInteractiveClipPlane (vtkPlanePtr plane) |
void | removeInteractiveClipPlane (vtkPlanePtr plane) |
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 |
TimeInfo | mTimeInfo |
LandmarksPtr | mLandmarks |
REGISTRATION_STATUS | mRegistrationStatus |
RegistrationHistoryPtr | m_rMd_History |
std::vector< vtkPlanePtr > | mPersistentClipPlanes |
std::vector< vtkPlanePtr > | mInteractiveClipPlanes |
vtkPlanePtr | mInteractiveClipPlane |
A data set for video streams (2D/3D).
Allowing video stream as a data type
Definition at line 29 of file cxTrackedStream.h.
cx::TrackedStream::TrackedStream | ( | const QString & | uid, |
const QString & | name, | ||
const ToolPtr & | probe, | ||
const VideoSourcePtr & | videoSource | ||
) |
Definition at line 31 of file cxTrackedStream.cpp.
cx::TrackedStream::~TrackedStream | ( | ) |
Definition at line 42 of file cxTrackedStream.cpp.
|
virtual |
adds xml information about the data and its variabels
Reimplemented from cx::Data.
Definition at line 137 of file cxTrackedStream.cpp.
|
virtual |
Implements cx::Data.
Definition at line 147 of file cxTrackedStream.cpp.
|
static |
Definition at line 26 of file cxTrackedStream.cpp.
void cx::TrackedStream::deleteImageToStopEmittingFrames | ( | ) |
Definition at line 174 of file cxTrackedStream.cpp.
ImagePtr cx::TrackedStream::getChangingImage | ( | ) |
Definition at line 165 of file cxTrackedStream.cpp.
ToolPtr cx::TrackedStream::getProbeTool | ( | ) |
Definition at line 94 of file cxTrackedStream.cpp.
|
virtual |
Reimplemented from cx::Data.
Definition at line 155 of file cxTrackedStream.cpp.
|
static |
Definition at line 160 of file cxTrackedStream.cpp.
VideoSourcePtr cx::TrackedStream::getVideoSource | ( | ) |
Definition at line 127 of file cxTrackedStream.cpp.
bool cx::TrackedStream::hasVideo | ( | ) | const |
Definition at line 195 of file cxTrackedStream.cpp.
bool cx::TrackedStream::is2D | ( | ) |
Definition at line 187 of file cxTrackedStream.cpp.
bool cx::TrackedStream::is3D | ( | ) |
Definition at line 179 of file cxTrackedStream.cpp.
bool cx::TrackedStream::isStreaming | ( | ) | const |
Definition at line 202 of file cxTrackedStream.cpp.
|
signal |
|
signal |
|
signal |
|
signal |
|
virtual |
Use a XML node to load data.
dataNode | A XML data representation of this object. |
Reimplemented from cx::Data.
Definition at line 142 of file cxTrackedStream.cpp.
void cx::TrackedStream::setProbeTool | ( | const ToolPtr & | probeTool | ) |
Definition at line 51 of file cxTrackedStream.cpp.
void cx::TrackedStream::setSpaceProvider | ( | SpaceProviderPtr | spaceProvider | ) |
Definition at line 132 of file cxTrackedStream.cpp.
void cx::TrackedStream::setVideoSource | ( | const VideoSourcePtr & | videoSource | ) |
Definition at line 99 of file cxTrackedStream.cpp.
|
signal |
|
signal |
emitted when streaming started/stopped