IGSTK
|
This class represents an ellipsoid object. More...
#include <igstkEllipsoidObjectRepresentation.h>
Public Member Functions | |
void | RequestSetEllipsoidObject (const EllipsoidObjectType *ellipsoidObject) |
Connect this representation class to the spatial object. | |
![]() | |
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 |
Protected Member Functions | |
EllipsoidObjectRepresentation (void) | |
virtual | ~EllipsoidObjectRepresentation (void) |
virtual void | PrintSelf (std::ostream &os, itk::Indent indent) const |
Print the object information in a stream. | |
void | CreateActors () |
Create the VTK actors per view. | |
![]() | |
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. | |
virtual bool | VerifyTimeStamp () const |
Verify the time stamp. | |
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 | |
![]() | |
typedef double | OpacityType |
Type for representing the opacity of the object. | |
![]() | |
static Pointer | New (void) |
![]() | |
igstkStandardAbstractClassTraitsMacro(ObjectRepresentation, Object) public typedef double | ColorScalarType |
Macro with standard traits declarations. | |
![]() | |
ActorsListType | m_Actors |
OpacityType | m_Opacity |
This class represents an ellipsoid object.
The parameters of the object are the three radii defining the lenght of the principal axes of the ellipsoid. The axes of the ellipsoid are orthogonal. The Ellipsoidal object is rendered in a VTK scene using the vtkSuperquadricSource object.
Definition at line 43 of file igstkEllipsoidObjectRepresentation.h.
|
protected |
|
protectedvirtual |
void igstk::EllipsoidObjectRepresentation::RequestSetEllipsoidObject | ( | const EllipsoidObjectType * | ellipsoidObject | ) |
Connect this representation class to the spatial object.
|
protectedvirtual |
Print the object information in a stream.
Reimplemented from igstk::ObjectRepresentation.
|
protectedvirtual |
Create the VTK actors per view.
Implements igstk::ObjectRepresentation.