27 #ifndef GEOMETRIC_OBJECT_H 28 #define GEOMETRIC_OBJECT_H 34 #include <vtkSmartPointer.h> 37 class vtkPolyDataAlgorithm;
39 class vtkPolyDataMapper;
98 vtkSmartPointer<vtkActor> getActor();
101 void setPosition(
const double,
const double,
const double);
104 void setDirection(
const double,
const double,
const double);
107 void setColor(
const double,
const double,
const double);
113 void setSize(
const double);
142 void defaultValues();
Geometry myType
the geometric type
Definition: GeometricObject.h:136
the object in the X direction, size = 0.1
Definition: GeometricObject.h:65
A geometric object allows one to create geometric object (sphere, arrow, ...) that can be added direc...
Definition: GeometricObject.h:54
Definition: Action.cpp:36
vtkSmartPointer< vtkPolyDataAlgorithm > mySource
the creator of the geometry
Definition: GeometricObject.h:133
vtkSmartPointer< vtkActor > myActor
the actor
Definition: GeometricObject.h:127
Geometry getType() const
return the type
Definition: GeometricObject.h:145
#define CAMITK_API
Definition: CamiTKAPI.h:49
Class that defines the direction of the Load with x, y and z.
Definition: Direction.h:39
an arrow
Definition: GeometricObject.h:59
vtkSmartPointer< vtkPolyDataMapper > myMapper
the mapper
Definition: GeometricObject.h:130
the object in the Z direction, size = 0.1
Definition: GeometricObject.h:67
the object in the Y direction, size = 0.1
Definition: GeometricObject.h:66
Geometry
the geometric type
Definition: GeometricObject.h:58
Direction myDirection
Direction of the geometric object (sometimes has no particular meaning, e.g. for a sphere) ...
Definition: GeometricObject.h:124