NorMIT-nav  16.5
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::LayoutVideoSource Class Reference

#include <cxLayoutVideoSource.h>

Inheritance diagram for cx::LayoutVideoSource:
cx::VideoSource

Public Member Functions

 LayoutVideoSource (ViewCollectionWidget *widget)
 
virtual QString getUid ()
 
virtual QString getName ()
 
virtual vtkImageDataPtr getVtkImageData ()
 
virtual double getTimestamp ()
 
virtual QString getInfoString () const
 an information text intended to be visible along with the data stream at all times More...
 
virtual QString getStatusString () const
 status text describing the stream state, display instead of stream when the stream is invalid. More...
 
virtual void start ()
 start streaming More...
 
virtual void stop ()
 stop streaming More...
 
virtual bool validData () const
 return true is data stream is ok to display. This is a heuristic based on the data rate. More...
 
virtual bool isConnected () const
 return true when a connection to the data source is established. More...
 
virtual bool isStreaming () const
 return true when the source is streaming data. More...
 
- Public Member Functions inherited from cx::VideoSource
virtual ~VideoSource ()
 
virtual TimeInfo getAdvancedTimeInfo ()=0
 
virtual void setResolution (double mmPerPixel)
 

Additional Inherited Members

- Signals inherited from cx::VideoSource
void streaming (bool on)
 emitted when streaming started/stopped More...
 
void connected (bool on)
 emitted when source is connected/disconnected More...
 
void newFrame ()
 emitted when a new frame has arrived (getVtkImageData() returns something new). info/status/name/valid might also have changed More...
 

Detailed Description

Stream images rendered to the input ViewCollectionWidget.

Definition at line 46 of file cxLayoutVideoSource.h.

Constructor & Destructor Documentation

cx::LayoutVideoSource::LayoutVideoSource ( ViewCollectionWidget widget)
explicit

Definition at line 41 of file cxLayoutVideoSource.cpp.

Member Function Documentation

virtual QString cx::LayoutVideoSource::getInfoString ( ) const
inlinevirtual

an information text intended to be visible along with the data stream at all times

Implements cx::VideoSource.

Definition at line 58 of file cxLayoutVideoSource.h.

QString cx::LayoutVideoSource::getName ( )
virtual

Implements cx::VideoSource.

Definition at line 54 of file cxLayoutVideoSource.cpp.

virtual QString cx::LayoutVideoSource::getStatusString ( ) const
inlinevirtual

status text describing the stream state, display instead of stream when the stream is invalid.

Implements cx::VideoSource.

Definition at line 59 of file cxLayoutVideoSource.h.

double cx::LayoutVideoSource::getTimestamp ( )
virtual

Implements cx::VideoSource.

Definition at line 59 of file cxLayoutVideoSource.cpp.

QString cx::LayoutVideoSource::getUid ( )
virtual

Implements cx::VideoSource.

Definition at line 49 of file cxLayoutVideoSource.cpp.

vtkImageDataPtr cx::LayoutVideoSource::getVtkImageData ( )
virtual

Implements cx::VideoSource.

Definition at line 108 of file cxLayoutVideoSource.cpp.

bool cx::LayoutVideoSource::isConnected ( ) const
virtual

return true when a connection to the data source is established.

Implements cx::VideoSource.

Definition at line 88 of file cxLayoutVideoSource.cpp.

bool cx::LayoutVideoSource::isStreaming ( ) const
virtual

return true when the source is streaming data.

Implements cx::VideoSource.

Definition at line 93 of file cxLayoutVideoSource.cpp.

void cx::LayoutVideoSource::start ( )
virtual

start streaming

Implements cx::VideoSource.

Definition at line 64 of file cxLayoutVideoSource.cpp.

void cx::LayoutVideoSource::stop ( )
virtual

stop streaming

Implements cx::VideoSource.

Definition at line 73 of file cxLayoutVideoSource.cpp.

bool cx::LayoutVideoSource::validData ( ) const
virtual

return true is data stream is ok to display. This is a heuristic based on the data rate.

Implements cx::VideoSource.

Definition at line 83 of file cxLayoutVideoSource.cpp.


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