27 #ifndef GEOMETRIC_OBJECT_H
28 #define GEOMETRIC_OBJECT_H
34 #include <vtkSmartPointer.h>
37 class vtkPolyDataAlgorithm;
39 class vtkPolyDataMapper;
95 vtkSmartPointer<vtkActor> getActor();
98 void setPosition(
const double,
const double,
const double);
101 void setDirection(
const double,
const double,
const double);
104 void setColor(
const double,
const double,
const double);
110 void setSize(
const double);
139 void defaultValues();
Geometry myType
the geometric type
Definition: GeometricObject.h:133
the object in the X direction, size = 0.1
Definition: GeometricObject.h:62
Direction
possible direction of an object
Definition: GeometricObject.h:61
A geometric object allows to create geometric object (sphere, arrow, ...) that can be added directly ...
Definition: GeometricObject.h:51
vtkSmartPointer< vtkPolyDataAlgorithm > mySource
the creator of the geometry
Definition: GeometricObject.h:130
vtkSmartPointer< vtkActor > myActor
the actor
Definition: GeometricObject.h:124
#define CAMITK_API
Definition: CamiTKAPI.h:49
an arrow
Definition: GeometricObject.h:56
vtkSmartPointer< vtkPolyDataMapper > myMapper
the mapper
Definition: GeometricObject.h:127
the object in the Z direction, size = 0.1
Definition: GeometricObject.h:64
the object in the Y direction, size = 0.1
Definition: GeometricObject.h:63
A 3D representation of a vtkPointSet to be displayed in a InteractiveViewer, this class implements th...
Definition: Geometry.h:123
Geometry
the geometric type
Definition: GeometricObject.h:55
Geometry getType() const
return the type
Definition: GeometricObject.h:142
Direction myDirection
Direction of the geometric object (sometimes has no particular meaning, e.g. for a sphere) ...
Definition: GeometricObject.h:121