IGSTK
|
This class implements the representation a Tube object. More...
#include <igstkTubeObjectRepresentation.h>
Public Member Functions | |
void | RequestSetTubeObject (const TubeObjectType *TubeObject) |
Connect this representation class to the spatial object. 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 | |
TubeObjectRepresentation (void) | |
Constructor. More... | |
~TubeObjectRepresentation (void) | |
Destructor. More... | |
virtual void | PrintSelf (std::ostream &os, itk::Indent indent) const |
Print object information. More... | |
void | CreateActors () |
Create the VTK actors. More... | |
![]() | |
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... | |
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 | |
![]() | |
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) |
![]() | |
igstkStandardAbstractClassTraitsMacro(ObjectRepresentation, Object) public typedef double | ColorScalarType |
Macro with standard traits declarations. More... | |
![]() | |
ActorsListType | m_Actors |
OpacityType | m_Opacity |
This class implements the representation a Tube object.
Basically the tube is represented as a VTK actor using a vtkTubeFilter.
Definition at line 41 of file igstkTubeObjectRepresentation.h.
|
protected |
Constructor.
|
protected |
Destructor.
void igstk::TubeObjectRepresentation::RequestSetTubeObject | ( | const TubeObjectType * | TubeObject | ) |
Connect this representation class to the spatial object.
|
protectedvirtual |
Print object information.
Reimplemented from igstk::ObjectRepresentation.
|
protectedvirtual |
Create the VTK actors.
Implements igstk::ObjectRepresentation.