IGSTK
|
#include <igstkVideoFrameRepresentation.h>
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. |
Definition at line 32 of file igstkVideoFrameRepresentation.h.
typedef VideoFrameSpatialObjectType::ConstPointer igstk::VideoFrameRepresentation< TVideoFrameSpatialObject >::VideoFrameSpatialObjectConstPointer |
Definition at line 45 of file igstkVideoFrameRepresentation.h.
igstk::VideoFrameRepresentation< TVideoFrameSpatialObject >::VideoFrameRepresentation | ( | void | ) | [protected] |
igstk::VideoFrameRepresentation< TVideoFrameSpatialObject >::~VideoFrameRepresentation | ( | void | ) | [protected] |
void igstk::VideoFrameRepresentation< TVideoFrameSpatialObject >::RequestSetVideoFrameSpatialObject | ( | const VideoFrameSpatialObjectType * | spatialObject | ) |
Connect this representation class to the spatial object.
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.
void igstk::VideoFrameRepresentation< TVideoFrameSpatialObject >::SetWindowLevel | ( | double | window, |
double | level | ||
) |
Set the Window Level for the representation.
void igstk::VideoFrameRepresentation< TVideoFrameSpatialObject >::SaveScreenShot | ( | const std::string & | filename | ) |
Pointer igstk::VideoFrameRepresentation< TVideoFrameSpatialObject >::Copy | ( | ) | const |
Return a copy of the current object representation.
void igstk::VideoFrameRepresentation< TVideoFrameSpatialObject >::DeleteActors | ( | ) | [protected, virtual] |
Overloaded function to delete actors.
Reimplemented from igstk::ObjectRepresentation.
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.
void igstk::VideoFrameRepresentation< TVideoFrameSpatialObject >::CreateActors | ( | ) | [protected, virtual] |
Create the VTK actors for displaying geometry.
Implements igstk::ObjectRepresentation.
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.