IGSTK
|
This class provides a visual representation of a CrossHairSpatialObject. More...
#include <igstkCrossHairObjectRepresentation.h>
Public Types | |
typedef CrossHairType::PointType | PointType |
![]() | |
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 | RequestSetCrossHairObject (const CrossHairType *crossHairObject) |
Connect this representation class to the spatial object. | |
virtual void | SetVisibility (bool visible) |
void | SetLineWidth (double LineWidth) |
Set/Get line width. | |
virtual double | GetLineWidth () |
![]() | |
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 | |
igstkStandardClassTraitsMacro(CrossHairObjectRepresentation, ObjectRepresentation) public typedef CrossHairType::Pointer | CrossHairPointerType |
Macro with standard traits declarations. | |
![]() | |
igstkStandardAbstractClassTraitsMacro(ObjectRepresentation, Object) public typedef double | ColorScalarType |
Macro with standard traits declarations. |
Protected Member Functions | |
CrossHairObjectRepresentation (void) | |
virtual | ~CrossHairObjectRepresentation (void) |
virtual void | PrintSelf (std::ostream &os, itk::Indent indent) const |
Print object information. | |
void | CreateActors () |
Create the VTK actors. | |
virtual bool | VerifyTimeStamp () const |
Verify time stamp. | |
![]() | |
ObjectRepresentation (void) | |
~ObjectRepresentation (void) | |
void | AddActor (vtkProp *) |
Add an actor to the list. | |
virtual void | DeleteActors () |
Empty the list of actors. | |
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 provides a visual representation of a CrossHairSpatialObject.
RequestSetReslicePlaneSpatialObject sets the driving plane onto which the tool´s long axis is projected.
Definition at line 45 of file igstkCrossHairObjectRepresentation.h.
typedef CrossHairType::PointType igstk::CrossHairObjectRepresentation::PointType |
Definition at line 59 of file igstkCrossHairObjectRepresentation.h.
|
protected |
|
protectedvirtual |
Pointer igstk::CrossHairObjectRepresentation::Copy | ( | ) | const |
Return a copy of the current object representation.
void igstk::CrossHairObjectRepresentation::RequestSetCrossHairObject | ( | const CrossHairType * | crossHairObject | ) |
Connect this representation class to the spatial object.
|
virtual |
void igstk::CrossHairObjectRepresentation::SetLineWidth | ( | double | LineWidth | ) |
Set/Get line width.
|
virtual |
|
protectedvirtual |
Print object information.
Reimplemented from igstk::ObjectRepresentation.
|
protectedvirtual |
Create the VTK actors.
Implements igstk::ObjectRepresentation.
|
protectedvirtual |
Verify time stamp.
Use the reslicing tool transform to verify the time stamp
Reimplemented from igstk::ObjectRepresentation.
igstkStandardClassTraitsMacro ( CrossHairObjectRepresentation, ObjectRepresentation ) public typedef CrossHairType::Pointer igstk::CrossHairObjectRepresentation::CrossHairPointerType |
Macro with standard traits declarations.
Typedefs
Definition at line 51 of file igstkCrossHairObjectRepresentation.h.