IGSTK
|
This class represents an oblique image object. More...
#include <igstkImageResliceObjectRepresentation.h>
Public Types | |
typedef ImageSpatialObjectType::PointType | PointType |
typedef ReslicerPlaneSpatialObject | ReslicerPlaneType |
typedef ReslicerPlaneType::Pointer | ReslicerPlanePointerType |
typedef ReslicerPlaneType::VectorType | VectorType |
![]() | |
typedef double | OpacityType |
Type for representing the opacity of the object. | |
![]() | |
typedef Object | Self |
General Typedefs. | |
typedef ::itk::Object | Superclass |
typedef ::itk::SmartPointer< Self > | Pointer |
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. | |
![]() | |
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 |
Public Attributes | |
igstkStandardTemplatedClassTraitsMacro(ImageResliceObjectRepresentation, ObjectRepresentation) public typedef ImageSpatialObjectType::ConstPointer | ImageSpatialObjectConstPointer |
Macro with standard traits declarations. | |
![]() | |
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. | |
![]() | |
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. | |
![]() | |
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 | |
![]() | |
static Pointer | New (void) |
![]() | |
ActorsListType | m_Actors |
OpacityType | m_Opacity |
This class represents an oblique image object.
Definition at line 55 of file igstkImageResliceObjectRepresentation.h.
typedef ImageSpatialObjectType::PointType igstk::ImageResliceObjectRepresentation< TImageSpatialObject >::PointType |
Definition at line 71 of file igstkImageResliceObjectRepresentation.h.
typedef ReslicerPlaneSpatialObject igstk::ImageResliceObjectRepresentation< TImageSpatialObject >::ReslicerPlaneType |
Definition at line 73 of file igstkImageResliceObjectRepresentation.h.
typedef ReslicerPlaneType::Pointer igstk::ImageResliceObjectRepresentation< TImageSpatialObject >::ReslicerPlanePointerType |
Definition at line 75 of file igstkImageResliceObjectRepresentation.h.
typedef ReslicerPlaneType::VectorType igstk::ImageResliceObjectRepresentation< TImageSpatialObject >::VectorType |
Definition at line 77 of file igstkImageResliceObjectRepresentation.h.
|
protected |
Constructor.
|
protected |
Destructor.
Pointer igstk::ImageResliceObjectRepresentation< TImageSpatialObject >::Copy | ( | ) | const |
Return a copy of the current object representation.
void igstk::ImageResliceObjectRepresentation< TImageSpatialObject >::RequestSetReslicePlaneSpatialObject | ( | const ReslicerPlaneType * | planeSpatialObject | ) |
void igstk::ImageResliceObjectRepresentation< TImageSpatialObject >::RequestSetImageSpatialObject | ( | const ImageSpatialObjectType * | ImageSpatialObject | ) |
Connect this representation class to the spatial object.
void igstk::ImageResliceObjectRepresentation< TImageSpatialObject >::SetWindowLevel | ( | double | window, |
double | level | ||
) |
Set the window level of the resliced image plane.
void igstk::ImageResliceObjectRepresentation< TImageSpatialObject >::SetFrameColor | ( | ColorScalarType | r, |
ColorScalarType | g, | ||
ColorScalarType | b | ||
) |
Set the color of the frame around the resliced image plane.
void igstk::ImageResliceObjectRepresentation< TImageSpatialObject >::SetRestrictPlaneToVolume | ( | int | value | ) |
Restrict the resulting resliced image to the image volume.
void igstk::ImageResliceObjectRepresentation< TImageSpatialObject >::SetTextureInterpolate | ( | int | value | ) |
Set the texture interpolation type internally used in vtkTexture.
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
|
virtual |
Print the object information in a stream.
Reimplemented from igstk::ObjectRepresentation.
|
protectedvirtual |
Overloaded function to delete actors.
Reimplemented from igstk::ObjectRepresentation.
|
protectedvirtual |
Create the VTK actors for displaying geometry.
Implements igstk::ObjectRepresentation.
|
protected |
Get each frame color component.
|
protected |
|
protected |
|
protectedvirtual |
Verify time stamp.
Use the reslicing tool transform to verify the time stamp
Reimplemented from igstk::ObjectRepresentation.
igstkStandardTemplatedClassTraitsMacro ( ImageResliceObjectRepresentation,ObjectRepresentation ) public typedef ImageSpatialObjectType::ConstPointer igstk::ImageResliceObjectRepresentation< TImageSpatialObject >::ImageSpatialObjectConstPointer |
Macro with standard traits declarations.
Definition at line 61 of file igstkImageResliceObjectRepresentation.h.