fw4spl
fwRenderVTK::vtk::fwHandleRepresentation3D Class Reference

3D Representation to be used with vtkHandleWidget (represents a cube or a sphere). More...

#include <fwHandleRepresentation3D.hpp>

+ Inheritance diagram for fwRenderVTK::vtk::fwHandleRepresentation3D:
+ Collaboration diagram for fwRenderVTK::vtk::fwHandleRepresentation3D:

Public Types

enum  Shape { SPHERE, CUBE }
 

Public Member Functions

 vtkTypeMacro (fwHandleRepresentation3D, vtkPolygonalHandleRepresentation3D)
 
FWRENDERVTK_API void PrintSelf (ostream &os, vtkIndent indent) override
 
virtual FWRENDERVTK_API void SetWorldPosition (double p[3]) override
 
FWRENDERVTK_API vtkSetMacro (MarkerRadiusFactor, double)
 
FWRENDERVTK_API vtkGetMacro (MarkerRadiusFactor, double)
 
FWRENDERVTK_API void SetShapeRepresentation (Shape shape)
 
FWRENDERVTK_API vtkGetMacro (ShapeRepresentation, Shape)
 
FWRENDERVTK_API void SetMarkerProperty (vtkProperty *)
 
FWRENDERVTK_API vtkGetObjectMacro (MarkerProperty, vtkProperty)
 
virtual FWRENDERVTK_API void GetActors (vtkPropCollection *) override
 
virtual FWRENDERVTK_API void ReleaseGraphicsResources (vtkWindow *) override
 
virtual FWRENDERVTK_API int RenderOpaqueGeometry (vtkViewport *viewport) override
 
virtual FWRENDERVTK_API int RenderTranslucentPolygonalGeometry (vtkViewport *viewport) override
 
virtual FWRENDERVTK_API int HasTranslucentPolygonalGeometry () override
 

Static Public Member Functions

static FWRENDERVTK_API fwHandleRepresentation3DNew ()
 

Protected Member Functions

virtual void BuildRepresentation () override
 
void CreateDefaultProperties ()
 

Protected Attributes

vtkSmartPointer< vtkCubeSource > CubeSource
 
vtkSmartPointer< vtkSphereSource > SphereSource
 
Shape ShapeRepresentation
 
vtkSmartPointer< vtkFollower > Follower
 
vtkSmartPointer< vtkCleanPolyData > CleanPolyData
 
vtkSmartPointer< vtkPolyDataMapper > MarkerMapper
 
vtkSmartPointer< vtkPolyDataAlgorithm > Marker
 
double MarkerRadiusFactor
 
vtkProperty * MarkerProperty
 

Detailed Description

3D Representation to be used with vtkHandleWidget (represents a cube or a sphere).

Definition at line 29 of file fwHandleRepresentation3D.hpp.


The documentation for this class was generated from the following files: