|
IGSTK
|
This class provides a visual representation of a CrossHairSpatialObject. More...
#include <igstkCrossHairObjectRepresentation.h>


Public Types | |
| typedef CrossHairType::PointType | PointType |
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< 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. More... | |
| void | RequestSetCrossHairObject (const CrossHairType *crossHairObject) |
| Connect this representation class to the spatial object. More... | |
| virtual void | SetVisibility (bool visible) |
| void | SetLineWidth (double LineWidth) |
| Set/Get line width. More... | |
| virtual double | GetLineWidth () |
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 |
Public Attributes | |
| igstkStandardClassTraitsMacro(CrossHairObjectRepresentation, ObjectRepresentation) public typedef CrossHairType::Pointer | CrossHairPointerType |
| 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 Member Functions | |
| CrossHairObjectRepresentation (void) | |
| virtual | ~CrossHairObjectRepresentation (void) |
| virtual void | PrintSelf (std::ostream &os, itk::Indent indent) const |
| Print object information. More... | |
| void | CreateActors () |
| Create the VTK actors. More... | |
| virtual bool | VerifyTimeStamp () const |
| Verify time stamp. More... | |
Protected Member Functions inherited from igstk::ObjectRepresentation | |
| ObjectRepresentation (void) | |
| ~ObjectRepresentation (void) | |
| void | AddActor (vtkProp *) |
| Add an actor to the list. More... | |
| virtual void | DeleteActors () |
| Empty the list of actors. More... | |
| void | RequestSetSpatialObject (const SpatialObject *spatialObject) |
| Request the state machine to set a Spatial Object. 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 | |
| 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 | |
Static Public Member Functions inherited from igstk::Object | |
| static Pointer | New (void) |
Protected Attributes inherited from igstk::ObjectRepresentation | |
| 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.
1.8.6