IGSTK
|
This class implements a spatial object representation for US modality. More...
#include <igstkUSImageObjectRepresentation.h>
Public Member Functions | |
igstkStandardClassTraitsMacro (USImageObjectRepresentation, ImageSpatialObjectRepresentation< USImageObject >) 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 | |
USImageObjectRepresentation (void) | |
virtual | ~USImageObjectRepresentation (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 US modality.
ImageRepresentation objects are responsible for rendering images according to their specific characteristics of PixelType and Dimension. In this case, this image representation class is tailored for displaying Ultrasound images.
Definition at line 39 of file igstkUSImageObjectRepresentation.h.
|
protected |
|
protectedvirtual |
igstk::USImageObjectRepresentation::igstkStandardClassTraitsMacro | ( | USImageObjectRepresentation | , |
ImageSpatialObjectRepresentation< USImageObject > | |||
) | 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< USImageObject >.