IGSTK
Public Types | Public Member Functions | Public Attributes | Protected Member Functions | List of all members
igstk::ImageResliceObjectRepresentation< TImageSpatialObject > Class Template Reference

This class represents an oblique image object. More...

#include <igstkImageResliceObjectRepresentation.h>

Inheritance diagram for igstk::ImageResliceObjectRepresentation< TImageSpatialObject >:
Inheritance graph
[legend]
Collaboration diagram for igstk::ImageResliceObjectRepresentation< TImageSpatialObject >:
Collaboration graph
[legend]

Public Types

typedef
ImageSpatialObjectType::PointType 
PointType
typedef ReslicerPlaneSpatialObject ReslicerPlaneType
typedef ReslicerPlaneType::Pointer ReslicerPlanePointerType
typedef
ReslicerPlaneType::VectorType 
VectorType
- Public Types inherited from igstk::ObjectRepresentation
typedef double OpacityType
 Type for representing the opacity of the object.
- Public Types inherited from igstk::Object
typedef Object Self
 General Typedefs.
typedef ::itk::Object Superclass
typedef ::itk::SmartPointer< SelfPointer
typedef ::itk::SmartPointer
< const Self
ConstPointer
typedef igstk::Logger LoggerType

Public Member Functions

Pointer Copy () const
 Return a copy of the current object representation.
void RequestSetReslicePlaneSpatialObject (const ReslicerPlaneType *planeSpatialObject)
void RequestSetImageSpatialObject (const ImageSpatialObjectType *ImageSpatialObject)
 Connect this representation class to the spatial object.
void SetWindowLevel (double window, double level)
 Set the window level of the resliced image plane.
void SetFrameColor (ColorScalarType r, ColorScalarType g, ColorScalarType b)
 Set the color of the frame around the resliced image plane.
void SetRestrictPlaneToVolume (int value)
 Restrict the resulting resliced image to the image volume.
void SetTextureInterpolate (int value)
 Set the texture interpolation type internally used in vtkTexture.
void SetResliceInterpolate (int value)
 Set the reslice interpolation type internally used in vtkImageReslice.
virtual void PrintSelf (std::ostream &os, itk::Indent indent) const
 Print the object information in a stream.
- Public Member Functions inherited from igstk::ObjectRepresentation
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.
- Public Member Functions inherited from igstk::Object
virtual const char * GetNameOfClass () const
void SetLogger (LoggerType *logger)
 Connect the Logger for this class.
void RemoveObserver (unsigned long tag) const

Public Attributes

igstkStandardTemplatedClassTraitsMacro(ImageResliceObjectRepresentation,
ObjectRepresentation) public
typedef
ImageSpatialObjectType::ConstPointer 
ImageSpatialObjectConstPointer
 Macro with standard traits declarations.
- Public Attributes inherited from igstk::ObjectRepresentation
igstkStandardAbstractClassTraitsMacro(ObjectRepresentation,
Object) public typedef double 
ColorScalarType
 Macro with standard traits declarations.

Protected Member Functions

 ImageResliceObjectRepresentation ()
 Constructor.
 ~ImageResliceObjectRepresentation ()
 Destructor.
void DeleteActors ()
 Overloaded function to delete actors.
void CreateActors ()
 Create the VTK actors for displaying geometry.
ColorScalarType GetFrameRed () const
 Get each frame color component.
ColorScalarType GetFrameGreen () const
ColorScalarType GetFrameBlue () const
virtual bool VerifyTimeStamp () const
 Verify time stamp.
- Protected Member Functions inherited from igstk::ObjectRepresentation
 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.
TimeStamp GetRenderTimeStamp () const
 Get Time stamp for the time at which the next rendering will take place.
- Protected Member Functions inherited from igstk::Object
LoggerTypeGetLogger () 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

- Static Public Member Functions inherited from igstk::Object
static Pointer New (void)
- Protected Attributes inherited from igstk::ObjectRepresentation
ActorsListType m_Actors
OpacityType m_Opacity

Detailed Description

template<class TImageSpatialObject>
class igstk::ImageResliceObjectRepresentation< TImageSpatialObject >

This class represents an oblique image object.

Definition at line 55 of file igstkImageResliceObjectRepresentation.h.

Member Typedef Documentation

template<class TImageSpatialObject >
typedef ImageSpatialObjectType::PointType igstk::ImageResliceObjectRepresentation< TImageSpatialObject >::PointType

Definition at line 71 of file igstkImageResliceObjectRepresentation.h.

template<class TImageSpatialObject >
typedef ReslicerPlaneSpatialObject igstk::ImageResliceObjectRepresentation< TImageSpatialObject >::ReslicerPlaneType

Definition at line 73 of file igstkImageResliceObjectRepresentation.h.

template<class TImageSpatialObject >
typedef ReslicerPlaneType::Pointer igstk::ImageResliceObjectRepresentation< TImageSpatialObject >::ReslicerPlanePointerType

Definition at line 75 of file igstkImageResliceObjectRepresentation.h.

template<class TImageSpatialObject >
typedef ReslicerPlaneType::VectorType igstk::ImageResliceObjectRepresentation< TImageSpatialObject >::VectorType

Definition at line 77 of file igstkImageResliceObjectRepresentation.h.

Constructor & Destructor Documentation

template<class TImageSpatialObject >
igstk::ImageResliceObjectRepresentation< TImageSpatialObject >::ImageResliceObjectRepresentation ( )
protected

Constructor.

template<class TImageSpatialObject >
igstk::ImageResliceObjectRepresentation< TImageSpatialObject >::~ImageResliceObjectRepresentation ( )
protected

Destructor.

Member Function Documentation

template<class TImageSpatialObject >
Pointer igstk::ImageResliceObjectRepresentation< TImageSpatialObject >::Copy ( ) const

Return a copy of the current object representation.

template<class TImageSpatialObject >
void igstk::ImageResliceObjectRepresentation< TImageSpatialObject >::RequestSetReslicePlaneSpatialObject ( const ReslicerPlaneType planeSpatialObject)
template<class TImageSpatialObject >
void igstk::ImageResliceObjectRepresentation< TImageSpatialObject >::RequestSetImageSpatialObject ( const ImageSpatialObjectType *  ImageSpatialObject)

Connect this representation class to the spatial object.

template<class TImageSpatialObject >
void igstk::ImageResliceObjectRepresentation< TImageSpatialObject >::SetWindowLevel ( double  window,
double  level 
)

Set the window level of the resliced image plane.

template<class TImageSpatialObject >
void igstk::ImageResliceObjectRepresentation< TImageSpatialObject >::SetFrameColor ( ColorScalarType  r,
ColorScalarType  g,
ColorScalarType  b 
)

Set the color of the frame around the resliced image plane.

template<class TImageSpatialObject >
void igstk::ImageResliceObjectRepresentation< TImageSpatialObject >::SetRestrictPlaneToVolume ( int  value)

Restrict the resulting resliced image to the image volume.

template<class TImageSpatialObject >
void igstk::ImageResliceObjectRepresentation< TImageSpatialObject >::SetTextureInterpolate ( int  value)

Set the texture interpolation type internally used in vtkTexture.

template<class TImageSpatialObject >
void igstk::ImageResliceObjectRepresentation< TImageSpatialObject >::SetResliceInterpolate ( int  value)

Set the reslice interpolation type internally used in vtkImageReslice.

VTK_NEAREST_RESLICE 0 (default) VTK_LINEAR_RESLICE 1, VTK_CUBIC_RESLICE 2

template<class TImageSpatialObject >
virtual void igstk::ImageResliceObjectRepresentation< TImageSpatialObject >::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
virtual

Print the object information in a stream.

Reimplemented from igstk::ObjectRepresentation.

template<class TImageSpatialObject >
void igstk::ImageResliceObjectRepresentation< TImageSpatialObject >::DeleteActors ( )
protectedvirtual

Overloaded function to delete actors.

Reimplemented from igstk::ObjectRepresentation.

template<class TImageSpatialObject >
void igstk::ImageResliceObjectRepresentation< TImageSpatialObject >::CreateActors ( )
protectedvirtual

Create the VTK actors for displaying geometry.

Implements igstk::ObjectRepresentation.

template<class TImageSpatialObject >
ColorScalarType igstk::ImageResliceObjectRepresentation< TImageSpatialObject >::GetFrameRed ( ) const
protected

Get each frame color component.

template<class TImageSpatialObject >
ColorScalarType igstk::ImageResliceObjectRepresentation< TImageSpatialObject >::GetFrameGreen ( ) const
protected
template<class TImageSpatialObject >
ColorScalarType igstk::ImageResliceObjectRepresentation< TImageSpatialObject >::GetFrameBlue ( ) const
protected
template<class TImageSpatialObject >
virtual bool igstk::ImageResliceObjectRepresentation< TImageSpatialObject >::VerifyTimeStamp ( ) const
protectedvirtual

Verify time stamp.

Use the reslicing tool transform to verify the time stamp

Reimplemented from igstk::ObjectRepresentation.

Member Data Documentation

template<class TImageSpatialObject >
igstkStandardTemplatedClassTraitsMacro ( ImageResliceObjectRepresentation,ObjectRepresentation ) public typedef ImageSpatialObjectType::ConstPointer igstk::ImageResliceObjectRepresentation< TImageSpatialObject >::ImageSpatialObjectConstPointer

Macro with standard traits declarations.

Definition at line 61 of file igstkImageResliceObjectRepresentation.h.


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