IGSTK
|
This class implements a spatial object representation for CT images. More...
#include <igstkCTImageSpatialObjectRepresentation.h>
Public Member Functions | |
igstkStandardClassTraitsMacro (CTImageSpatialObjectRepresentation, ImageSpatialObjectRepresentation< CTImageSpatialObject >) Pointer Copy() const | |
Macro with standard traits declarations. More... | |
![]() | |
Pointer | Copy () const |
Return a copy of the current object representation. More... | |
void | RequestSetImageSpatialObject (const ImageSpatialObjectType *ImageSpatialObject) |
Connect this representation class to the spatial object. More... | |
void | RequestSetSliceNumber (SliceNumberType slice) |
Request the state machine to attempt to select a slice number. More... | |
void | RequestSetOrientation (OrientationType orientation) |
Request the state machine to attempt to select a slice orientation. More... | |
void | SetWindowLevel (double window, double level) |
Set the Window Level for the representation. More... | |
void | SetOpacity (float alpha) |
Set the opacity. More... | |
void | RequestGetSliceNumberBounds () |
Returns the Minimum and Maximum number of slice available in the current orientation. More... | |
![]() | |
void | SetColor (ColorScalarType r, ColorScalarType g, ColorScalarType b) |
Set the color. More... | |
ColorScalarType | GetRed () const |
Get each color component. More... | |
ColorScalarType | GetGreen () const |
ColorScalarType | GetBlue () const |
virtual void | SetOpacity (OpacityType alpha) |
Set/Get the opacity. More... | |
virtual OpacityType | GetOpacity () |
virtual ActorsListType | GetActors () |
Get the VTK actors. More... | |
virtual void | RequestUpdateRepresentation (const TimeStamp &time, const CoordinateSystem *cs) |
Update the visual representation with changes in the geometry. More... | |
![]() | |
virtual const char * | GetNameOfClass () const |
void | SetLogger (LoggerType *logger) |
Connect the Logger for this class. More... | |
void | RemoveObserver (unsigned long tag) const |
Protected Member Functions | |
CTImageSpatialObjectRepresentation (void) | |
virtual | ~CTImageSpatialObjectRepresentation (void) |
void | PrintSelf (std::ostream &os, itk::Indent indent) const |
Print the object information in a stream. More... | |
![]() | |
ImageSpatialObjectRepresentation () | |
Constructor. More... | |
~ImageSpatialObjectRepresentation () | |
Destructor. More... | |
void | DeleteActors () |
Overloaded function to delete actors. More... | |
void | CreateActors () |
Create the VTK actors for displaying geometry. More... | |
igstkObserverMacro (VTKImage, VTKImageModifiedEvent, EventHelperType::VTKImagePointerType) | |
Observer macro that will received a event with an image as payload and will store it internally. More... | |
igstkObserverMacro (ImageTransform, CoordinateSystemTransformToEvent, CoordinateSystemTransformToResult) | |
![]() | |
ObjectRepresentation (void) | |
~ObjectRepresentation (void) | |
void | AddActor (vtkProp *) |
Add an actor to the list. More... | |
void | RequestSetSpatialObject (const SpatialObject *spatialObject) |
Request the state machine to set a Spatial Object. More... | |
virtual bool | VerifyTimeStamp () const |
Verify the time stamp. More... | |
TimeStamp | GetRenderTimeStamp () const |
Get Time stamp for the time at which the next rendering will take place. More... | |
![]() | |
LoggerType * | GetLogger () const |
Object (void) | |
Constructor is protected in order to enforce the use of the New() operator. More... | |
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. More... | |
void | RemoveFromObservedObjects () |
Remove observers that this object may have connected to other objects. More... | |
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. More... | |
![]() | |
typedef double | OpacityType |
Type for representing the opacity of the object. More... | |
![]() | |
typedef Object | Self |
General Typedefs. More... | |
typedef ::itk::Object | Superclass |
typedef ::itk::SmartPointer< Self > | Pointer |
typedef ::itk::SmartPointer < const Self > | ConstPointer |
typedef igstk::Logger | LoggerType |
![]() | |
static Pointer | New (void) |
![]() | |
igstkStandardTemplatedClassTraitsMacro(ImageSpatialObjectRepresentation, ObjectRepresentation) public typedef ImageSpatialObjectType::ConstPointer | ImageSpatialObjectConstPointer |
Macro with standard traits declarations. More... | |
![]() | |
igstkStandardAbstractClassTraitsMacro(ObjectRepresentation, Object) public typedef double | ColorScalarType |
Macro with standard traits declarations. More... | |
![]() | |
ActorsListType | m_Actors |
OpacityType | m_Opacity |
This class implements a spatial object representation for CT images.
"CT Image Spatial Object Representation State Diagram"
"CT Image Spatial Object Representation State Diagram"Definition at line 39 of file igstkCTImageSpatialObjectRepresentation.h.
|
protected |
|
inlineprotectedvirtual |
Definition at line 57 of file igstkCTImageSpatialObjectRepresentation.h.
igstk::CTImageSpatialObjectRepresentation::igstkStandardClassTraitsMacro | ( | CTImageSpatialObjectRepresentation | , |
ImageSpatialObjectRepresentation< CTImageSpatialObject > | |||
) | 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< CTImageSpatialObject >.