IGSTK
Public Member Functions | Protected Member Functions | List of all members
igstk::CTImageSpatialObjectRepresentation Class Reference

This class implements a spatial object representation for CT images. More...

#include <igstkCTImageSpatialObjectRepresentation.h>

Inheritance diagram for igstk::CTImageSpatialObjectRepresentation:
Inheritance graph
[legend]
Collaboration diagram for igstk::CTImageSpatialObjectRepresentation:
Collaboration graph
[legend]

Public Member Functions

 igstkStandardClassTraitsMacro (CTImageSpatialObjectRepresentation, ImageSpatialObjectRepresentation< CTImageSpatialObject >) Pointer Copy() const
 Macro with standard traits declarations. More...
 
- Public Member Functions inherited from igstk::ImageSpatialObjectRepresentation< CTImageSpatialObject >
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...
 
- Public Member Functions inherited from igstk::ObjectRepresentation
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...
 
- Public Member Functions inherited from igstk::Object
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...
 
- Protected Member Functions inherited from igstk::ImageSpatialObjectRepresentation< CTImageSpatialObject >
 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)
 
- Protected Member Functions inherited from igstk::ObjectRepresentation
 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...
 
- Protected Member Functions inherited from igstk::Object
LoggerTypeGetLogger () 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

- Public Types inherited from igstk::ImageSpatialObjectRepresentation< CTImageSpatialObject >
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...
 
- Public Types inherited from igstk::ObjectRepresentation
typedef double OpacityType
 Type for representing the opacity of the object. More...
 
- Public Types inherited from igstk::Object
typedef Object Self
 General Typedefs. More...
 
typedef ::itk::Object Superclass
 
typedef ::itk::SmartPointer< SelfPointer
 
typedef ::itk::SmartPointer
< const Self
ConstPointer
 
typedef igstk::Logger LoggerType
 
- Static Public Member Functions inherited from igstk::Object
static Pointer New (void)
 
- Public Attributes inherited from igstk::ImageSpatialObjectRepresentation< CTImageSpatialObject >
igstkStandardTemplatedClassTraitsMacro(ImageSpatialObjectRepresentation,
ObjectRepresentation) public
typedef
ImageSpatialObjectType::ConstPointer 
ImageSpatialObjectConstPointer
 Macro with standard traits declarations. More...
 
- Public Attributes inherited from igstk::ObjectRepresentation
igstkStandardAbstractClassTraitsMacro(ObjectRepresentation,
Object) public typedef double 
ColorScalarType
 Macro with standard traits declarations. More...
 
- Protected Attributes inherited from igstk::ObjectRepresentation
ActorsListType m_Actors
 
OpacityType m_Opacity
 

Detailed Description

This class implements a spatial object representation for CT images.

igstkCTImageSpatialObjectRepresentation.png

"CT Image Spatial Object Representation State Diagram"

"CT Image Spatial Object Representation State Diagram"

Definition at line 39 of file igstkCTImageSpatialObjectRepresentation.h.

Constructor & Destructor Documentation

igstk::CTImageSpatialObjectRepresentation::CTImageSpatialObjectRepresentation ( void  )
protected
virtual igstk::CTImageSpatialObjectRepresentation::~CTImageSpatialObjectRepresentation ( void  )
inlineprotectedvirtual

Definition at line 57 of file igstkCTImageSpatialObjectRepresentation.h.

Member Function Documentation

igstk::CTImageSpatialObjectRepresentation::igstkStandardClassTraitsMacro ( CTImageSpatialObjectRepresentation  ,
ImageSpatialObjectRepresentation< CTImageSpatialObject  
) const

Macro with standard traits declarations.

Return a copy of the current object representation.

Warning
This method does not connect the ImageSpatialObject of the original.
void igstk::CTImageSpatialObjectRepresentation::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
protectedvirtual

Print the object information in a stream.

Reimplemented from igstk::ImageSpatialObjectRepresentation< CTImageSpatialObject >.


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