IGSTK
|
This class implements a spatial object represenation for MRI modality. More...
#include <igstkMRImageSpatialObjectRepresentation.h>
Public Member Functions | |
igstkStandardClassTraitsMacro (MRImageSpatialObjectRepresentation, ImageSpatialObjectRepresentation< MRImageSpatialObject >) Pointer Copy() const | |
Macro with standard traits declarations. | |
![]() | |
Pointer | Copy () const |
Return a copy of the current object representation. | |
void | RequestSetImageSpatialObject (const ImageSpatialObjectType *ImageSpatialObject) |
Connect this representation class to the spatial object. | |
void | RequestSetSliceNumber (SliceNumberType slice) |
Request the state machine to attempt to select a slice number. | |
void | RequestSetOrientation (OrientationType orientation) |
Request the state machine to attempt to select a slice orientation. | |
void | SetWindowLevel (double window, double level) |
Set the Window Level for the representation. | |
void | SetOpacity (float alpha) |
Set the opacity. | |
void | RequestGetSliceNumberBounds () |
Returns the Minimum and Maximum number of slice available in the current orientation. | |
![]() | |
void | SetColor (ColorScalarType r, ColorScalarType g, ColorScalarType b) |
Set the color. | |
ColorScalarType | GetRed () const |
Get each color component. | |
ColorScalarType | GetGreen () const |
ColorScalarType | GetBlue () const |
virtual void | SetOpacity (OpacityType alpha) |
Set/Get the opacity. | |
virtual OpacityType | GetOpacity () |
virtual ActorsListType | GetActors () |
Get the VTK actors. | |
virtual void | RequestUpdateRepresentation (const TimeStamp &time, const CoordinateSystem *cs) |
Update the visual representation with changes in the geometry. | |
![]() | |
virtual const char * | GetNameOfClass () const |
void | SetLogger (LoggerType *logger) |
Connect the Logger for this class. | |
void | RemoveObserver (unsigned long tag) const |
Protected Member Functions | |
MRImageSpatialObjectRepresentation (void) | |
virtual | ~MRImageSpatialObjectRepresentation (void) |
void | PrintSelf (std::ostream &os, itk::Indent indent) const |
Print the object information in a stream. | |
![]() | |
ImageSpatialObjectRepresentation () | |
Constructor. | |
~ImageSpatialObjectRepresentation () | |
Destructor. | |
void | DeleteActors () |
Overloaded function to delete actors. | |
void | CreateActors () |
Create the VTK actors for displaying geometry. | |
igstkObserverMacro (VTKImage, VTKImageModifiedEvent, EventHelperType::VTKImagePointerType) | |
Observer macro that will received a event with an image as payload and will store it internally. | |
igstkObserverMacro (ImageTransform, CoordinateSystemTransformToEvent, CoordinateSystemTransformToResult) | |
![]() | |
ObjectRepresentation (void) | |
~ObjectRepresentation (void) | |
void | AddActor (vtkProp *) |
Add an actor to the list. | |
void | RequestSetSpatialObject (const SpatialObject *spatialObject) |
Request the state machine to set a Spatial Object. | |
virtual bool | VerifyTimeStamp () const |
Verify the time stamp. | |
TimeStamp | GetRenderTimeStamp () const |
Get Time stamp for the time at which the next rendering will take place. | |
![]() | |
LoggerType * | GetLogger () const |
Object (void) | |
Constructor is protected in order to enforce the use of the New() operator. | |
virtual | ~Object (void) |
void | RegisterObservedObject (const ::igstk::Object *object, unsigned long tag) |
Register observed objects in an internal array so that they can be disconnected upon destruction. | |
void | RemoveFromObservedObjects () |
Remove observers that this object may have connected to other objects. |
Additional Inherited Members | |
![]() | |
enum | OrientationType |
Orientation Type: Publically declared orientation types supported for slice viewing. More... | |
typedef unsigned int | SliceNumberType |
Type used for representing the slice number. | |
![]() | |
static Pointer | New (void) |
![]() | |
igstkStandardTemplatedClassTraitsMacro(ImageSpatialObjectRepresentation, ObjectRepresentation) public typedef ImageSpatialObjectType::ConstPointer | ImageSpatialObjectConstPointer |
Macro with standard traits declarations. | |
![]() | |
ActorsListType | m_Actors |
OpacityType | m_Opacity |
This class implements a spatial object represenation for MRI modality.
Definition at line 33 of file igstkMRImageSpatialObjectRepresentation.h.
|
protected |
|
protectedvirtual |
igstk::MRImageSpatialObjectRepresentation::igstkStandardClassTraitsMacro | ( | MRImageSpatialObjectRepresentation | , |
ImageSpatialObjectRepresentation< MRImageSpatialObject > | |||
) | const |
Macro with standard traits declarations.
Return a copy of the current object representation.
|
protectedvirtual |
Print the object information in a stream.
Reimplemented from igstk::ImageSpatialObjectRepresentation< MRImageSpatialObject >.