27 #ifndef GEOMETRIC_OBJECT_H
28 #define GEOMETRIC_OBJECT_H
34 #include <vtkSmartPointer.h>
37 class vtkPolyDataAlgorithm;
39 class vtkPolyDataMapper;
99 vtkSmartPointer<vtkActor> getActor();
102 void setPosition(
const double,
const double,
const double);
105 void setDirection(
const double,
const double,
const double);
108 void setColor(
const double,
const double,
const double);
114 void setSize(
const double);
143 void defaultValues();
Geometry myType
the geometric type
Definition: GeometricObject.h:137
the object in the X direction, size = 0.1
Definition: GeometricObject.h:66
A geometric object allows to create geometric object (sphere, arrow, ...) that can be added directly ...
Definition: GeometricObject.h:55
vtkSmartPointer< vtkPolyDataAlgorithm > mySource
the creator of the geometry
Definition: GeometricObject.h:134
vtkSmartPointer< vtkActor > myActor
the actor
Definition: GeometricObject.h:128
#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:60
vtkSmartPointer< vtkPolyDataMapper > myMapper
the mapper
Definition: GeometricObject.h:131
the object in the Z direction, size = 0.1
Definition: GeometricObject.h:68
the object in the Y direction, size = 0.1
Definition: GeometricObject.h:67
A 3D representation of a vtkPointSet to be displayed in a InteractiveViewer, this class implements th...
Definition: Geometry.h:126
Geometry
the geometric type
Definition: GeometricObject.h:59
Geometry getType() const
return the type
Definition: GeometricObject.h:146
Direction myDirection
Direction of the geometric object (sometimes has no particular meaning, e.g. for a sphere) ...
Definition: GeometricObject.h:125