#include <SignSink.h>
Inheritance diagram for SignSink:


SignSink is an abstract superclass for all OpenTracker sinks used in The SIGN. It provides basic functionality such as setting the station name, connecting the sink to viewers and MRML nodes, and defining a user transform for position and orientation data.
Public Member Functions | |
| vtkTypeRevisionMacro (SignSink, vtkObject) | |
| void | SetName (std::string stationName) |
| Sets the station name. | |
| virtual void | AddViewer (SignViewer *viewer) |
| Adds a viewer that will be updated after an event was received. | |
| virtual vtkTransform * | GetTransform () |
| Returns the user transform. | |
| virtual void | setMrmlNode (vtkMRMLNode *mn) |
| Sets the MRML node this sink is connected to. | |
| virtual void | setViewer (Sign2DViewer *viewer) |
| Sets the main 2D viewer this sink is connected to. | |
Public Attributes | |
| SignStationEventInfo | state |
| Event information for SIGN classes, generated from OpenTracker event info. | |
| bool | connect_to_user_transform |
| Flag indicating if tracker will be connected to node's user transform. | |
| ot::Event | stored_event |
| Event information coming from OpenTracker. | |
Protected Member Functions | |
| SignSink () | |
| Constructor. | |
| ~SignSink () | |
| Destructor. | |
| SignSink (const SignSink &) | |
| void | operator= (const SignSink &) |
Protected Attributes | |
| ViewerVector | viewers |
| Vector of viewers connected to this sink. | |
|
|
Constructor.
|
|
|
Destructor.
|
|
|
|
|
|
Adds a viewer that will be updated after an event was received.
|
|
|
Returns the user transform.
Reimplemented in SignImageSink, and SignOTSink. |
|
|
|
|
|
Sets the MRML node this sink is connected to.
|
|
|
Sets the station name.
|
|
|
Sets the main 2D viewer this sink is connected to.
Reimplemented in SignImageSink. |
|
||||||||||||
|
|
|
|
Flag indicating if tracker will be connected to node's user transform.
|
|
|
Event information for SIGN classes, generated from OpenTracker event info.
|
|
|
Event information coming from OpenTracker.
|
|
|
Vector of viewers connected to this sink.
|
1.4.6