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);
127 vtkSmartPointer<vtkActor> myActor;
130 vtkSmartPointer<vtkPolyDataMapper> myMapper;
133 vtkSmartPointer<vtkPolyDataAlgorithm> mySource;
142 void defaultValues();
#define CAMITK_API
Definition: CamiTKAPI.h:49
Class that defines the direction of the Load with x, y and z.
Definition: Direction.h:39
A geometric object allows one to create geometric object (sphere, arrow, ...) that can be added direc...
Definition: GeometricObject.h:54
Geometry
the geometric type
Definition: GeometricObject.h:58
@ ARROW
an arrow
Definition: GeometricObject.h:59
Geometry getType() const
return the type
Definition: GeometricObject.h:145
@ Y
the object in the Y direction, size = 0.1
Definition: GeometricObject.h:66
@ Z
the object in the Z direction, size = 0.1
Definition: GeometricObject.h:67
@ X
the object in the X direction, size = 0.1
Definition: GeometricObject.h:65
A 3D representation of a vtkPointSet to be displayed in a InteractiveViewer, this class implements th...
Definition: Geometry.h:126
Definition: Action.cpp:36