SignImageSink Class Reference

#include <SignImageSink.h>

Inheritance diagram for SignImageSink:

Inheritance graph
[legend]
Collaboration diagram for SignImageSink:

Collaboration graph
[legend]
List of all members.

Detailed Description

OpenTracker sink for images.

SignImageSink is an OpenTracker sink that receives image data and passes it on as vtkImageData.

Author:
Eigil Samset


Public Member Functions

 vtkTypeRevisionMacro (SignImageSink, SignSink)
virtual void PrintSelf (ostream &os, vtkIndent indent)
virtual int isEventGenerator ()
virtual void onEventGenerated (ot::Event &event, ot::Node &generator)
void setSignContext (SignContext *sp)
 Sets a pointer to the SIGN context.
void setViewer (Sign2DViewer *tdv)
 Sets the 2D viewer that is controlled by this sink.
vtkImageData * GetImageData ()
 Returns the image data from the last event.
vtkTransform * GetTransform ()
 Returns the IJK->RAS matrix.
virtual vtkPoints * GetPoints ()
 Returns the coordinates of the points in the corners of the image.

Static Public Member Functions

static SignImageSinkNew ()

Public Attributes

SignContextsignContext
Sign2DViewerviewer
vtkPoints * cornerPoints
 Coordinates of the points in the corners of the image.

Protected Member Functions

 SignImageSink ()
 Constructor.
 ~SignImageSink ()
 Destructor.
 SignImageSink (const SignImageSink &)
void operator= (const SignImageSink &)

Friends

class SignOTModule


Constructor & Destructor Documentation

SignImageSink::SignImageSink  )  [protected]
 

Constructor.

SignImageSink::~SignImageSink  )  [protected]
 

Destructor.

SignImageSink::SignImageSink const SignImageSink  )  [protected]
 


Member Function Documentation

vtkImageData * SignImageSink::GetImageData  ) 
 

Returns the image data from the last event.

vtkPoints * SignImageSink::GetPoints  )  [virtual]
 

Returns the coordinates of the points in the corners of the image.

vtkTransform * SignImageSink::GetTransform  )  [virtual]
 

Returns the IJK->RAS matrix.

Reimplemented from SignSink.

int SignImageSink::isEventGenerator  )  [virtual]
 

tests for EventGenerator interface being present. Is overriden to return 1 always.

Returns:
always 1

static SignImageSink* SignImageSink::New  )  [static]
 

void SignImageSink::onEventGenerated ot::Event &  event,
ot::Node &  generator
[virtual]
 

this method notifies the object that a new event was generated. It stores a copy of the received event and passes the event on to its observers.

Parameters:
event reference to the new event. Do not change the event values, make a copy and change that !
generator reference to the EventGenerator object that notified the EventObserver.

void SignImageSink::operator= const SignImageSink  )  [protected]
 

void SignImageSink::PrintSelf ostream &  os,
vtkIndent  indent
[virtual]
 

void SignImageSink::setSignContext SignContext sp  ) 
 

Sets a pointer to the SIGN context.

void SignImageSink::setViewer Sign2DViewer tdv  )  [virtual]
 

Sets the 2D viewer that is controlled by this sink.

Reimplemented from SignSink.

SignImageSink::vtkTypeRevisionMacro SignImageSink  ,
SignSink 
 


Friends And Related Function Documentation

friend class SignOTModule [friend]
 


Member Data Documentation

vtkPoints* SignImageSink::cornerPoints
 

Coordinates of the points in the corners of the image.

SignContext* SignImageSink::signContext
 

Sign2DViewer* SignImageSink::viewer
 


The documentation for this class was generated from the following files:
Generated on Mon Feb 26 12:13:11 2007 for TheSIGN by  doxygen 1.4.6