igstk::VideoFrameRepresentation< TVideoFrameSpatialObject > Class Template Reference

#include <igstkVideoFrameRepresentation.h>

Inheritance diagram for igstk::VideoFrameRepresentation< TVideoFrameSpatialObject >:
Inheritance graph
[legend]
Collaboration diagram for igstk::VideoFrameRepresentation< TVideoFrameSpatialObject >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef
VideoFrameSpatialObjectType::ConstPointer 
VideoFrameSpatialObjectConstPointer

Public Member Functions

void RequestSetVideoFrameSpatialObject (const VideoFrameSpatialObjectType *spatialObject)
 Connect this representation class to the spatial object.
 igstkObserverMacro (VTKImage, VTKImageModifiedEvent, EventHelperType::VTKImagePointerType)
 Observer macro that will received a event with an image as payload and will store it internally.
void SetWindowLevel (double window, double level)
 Set the Window Level for the representation.
void SaveScreenShot (const std::string &filename)
Pointer Copy () const
 Return a copy of the current object representation.

Public Attributes

igstkStandardTemplatedClassTraitsMacro(VideoFrameRepresentation,
ObjectRepresentation) typedef
itk typedef
TVideoFrameSpatialObject 
VideoFrameSpatialObjectType
 Observer type for loaded event, the callback can be set to a member function.

Protected Member Functions

 VideoFrameRepresentation (void)
 ~VideoFrameRepresentation (void)
void DeleteActors ()
 Overloaded function to delete actors.
bool VerifyTimeStamp () const
 Verify the time stamp.
void CreateActors ()
 Create the VTK actors for displaying geometry.

Detailed Description

template<class TVideoFrameSpatialObject>
class igstk::VideoFrameRepresentation< TVideoFrameSpatialObject >

Definition at line 32 of file igstkVideoFrameRepresentation.h.


Member Typedef Documentation

template<class TVideoFrameSpatialObject >
typedef VideoFrameSpatialObjectType::ConstPointer igstk::VideoFrameRepresentation< TVideoFrameSpatialObject >::VideoFrameSpatialObjectConstPointer

Definition at line 45 of file igstkVideoFrameRepresentation.h.


Constructor & Destructor Documentation

template<class TVideoFrameSpatialObject >
igstk::VideoFrameRepresentation< TVideoFrameSpatialObject >::VideoFrameRepresentation ( void   )  [protected]
template<class TVideoFrameSpatialObject >
igstk::VideoFrameRepresentation< TVideoFrameSpatialObject >::~VideoFrameRepresentation ( void   )  [protected]

Member Function Documentation

template<class TVideoFrameSpatialObject >
void igstk::VideoFrameRepresentation< TVideoFrameSpatialObject >::RequestSetVideoFrameSpatialObject ( const VideoFrameSpatialObjectType spatialObject  ) 

Connect this representation class to the spatial object.

template<class TVideoFrameSpatialObject >
igstk::VideoFrameRepresentation< TVideoFrameSpatialObject >::igstkObserverMacro ( VTKImage  ,
VTKImageModifiedEvent  ,
EventHelperType::VTKImagePointerType   
)

Observer macro that will received a event with an image as payload and will store it internally.

This will be the receptor of the event sent by the VideoFrameSpatialObject when an image is requested.

template<class TVideoFrameSpatialObject >
void igstk::VideoFrameRepresentation< TVideoFrameSpatialObject >::SetWindowLevel ( double  window,
double  level 
)

Set the Window Level for the representation.

template<class TVideoFrameSpatialObject >
void igstk::VideoFrameRepresentation< TVideoFrameSpatialObject >::SaveScreenShot ( const std::string &  filename  ) 
template<class TVideoFrameSpatialObject >
Pointer igstk::VideoFrameRepresentation< TVideoFrameSpatialObject >::Copy (  )  const

Return a copy of the current object representation.

template<class TVideoFrameSpatialObject >
void igstk::VideoFrameRepresentation< TVideoFrameSpatialObject >::DeleteActors (  )  [protected, virtual]

Overloaded function to delete actors.

Reimplemented from igstk::ObjectRepresentation.

template<class TVideoFrameSpatialObject >
bool igstk::VideoFrameRepresentation< TVideoFrameSpatialObject >::VerifyTimeStamp (  )  const [protected, virtual]

Verify the time stamp.

A default implementation is provided that checks if the spatial object transform is within the Rendering time period. This method could be overridden in derived classes that can use other criteria to verify the time stamp.

Reimplemented from igstk::ObjectRepresentation.

template<class TVideoFrameSpatialObject >
void igstk::VideoFrameRepresentation< TVideoFrameSpatialObject >::CreateActors (  )  [protected, virtual]

Create the VTK actors for displaying geometry.

Implements igstk::ObjectRepresentation.


Member Data Documentation

template<class TVideoFrameSpatialObject >
igstkStandardTemplatedClassTraitsMacro ( VideoFrameRepresentation, ObjectRepresentation ) typedef itk typedef TVideoFrameSpatialObject igstk::VideoFrameRepresentation< TVideoFrameSpatialObject >::VideoFrameSpatialObjectType

Observer type for loaded event, the callback can be set to a member function.

Definition at line 36 of file igstkVideoFrameRepresentation.h.


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

Generated by  doxygen 1.6.2