IGSTK
|
This class represents a Mesh object. More...
#include <igstkMeshResliceObjectRepresentation.h>
Public Types | |
typedef ReslicerPlaneSpatialObject | ReslicerPlaneType |
typedef ReslicerPlaneType::Pointer | ReslicerPlanePointerType |
typedef ReslicerPlaneType::VectorType | VectorType |
![]() | |
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 | RequestSetMeshObject (const MeshObjectType *MeshObject) |
Connect this representation class to the spatial object. | |
void | SetVisibility (bool visibility) |
Sets visibility. | |
void | RequestSetReslicePlaneSpatialObject (const ReslicerPlaneType *planeSpatialObject) |
Sets the reslicer plane. | |
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(MeshResliceObjectRepresentation, ObjectRepresentation) public typedef MeshObjectType::PointType | PointType |
Macro with standard traits declarations. | |
![]() | |
igstkStandardAbstractClassTraitsMacro(ObjectRepresentation, Object) public typedef double | ColorScalarType |
Macro with standard traits declarations. |
Protected Member Functions | |
virtual void | PrintSelf (std::ostream &os, itk::Indent indent) const |
Print object information. | |
MeshResliceObjectRepresentation (void) | |
Constructor. | |
~MeshResliceObjectRepresentation (void) | |
Destructor. | |
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 represents a Mesh object.
Definition at line 43 of file igstkMeshResliceObjectRepresentation.h.
Definition at line 61 of file igstkMeshResliceObjectRepresentation.h.
Definition at line 62 of file igstkMeshResliceObjectRepresentation.h.
Definition at line 64 of file igstkMeshResliceObjectRepresentation.h.
|
protected |
Constructor.
|
protected |
Destructor.
Pointer igstk::MeshResliceObjectRepresentation::Copy | ( | ) | const |
Return a copy of the current object representation.
void igstk::MeshResliceObjectRepresentation::RequestSetMeshObject | ( | const MeshObjectType * | MeshObject | ) |
Connect this representation class to the spatial object.
void igstk::MeshResliceObjectRepresentation::SetVisibility | ( | bool | visibility | ) |
Sets visibility.
void igstk::MeshResliceObjectRepresentation::RequestSetReslicePlaneSpatialObject | ( | const ReslicerPlaneType * | planeSpatialObject | ) |
Sets the reslicer plane.
void igstk::MeshResliceObjectRepresentation::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 ( MeshResliceObjectRepresentation, ObjectRepresentation ) public typedef MeshObjectType::PointType igstk::MeshResliceObjectRepresentation::PointType |
Macro with standard traits declarations.
Typedefs
Definition at line 50 of file igstkMeshResliceObjectRepresentation.h.