|
Computer Assited Medical Intervention Tool Kit
version 5.0
|
|
Go to the documentation of this file.
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
@ Y
the object in the Y direction, size = 0.1
Definition: GeometricObject.h:66
Geometry
the geometric type
Definition: GeometricObject.h:58
A 3D representation of a vtkPointSet to be displayed in a InteractiveViewer, this class implements th...
Definition: Geometry.h:126
A geometric object allows one to create geometric object (sphere, arrow, ...) that can be added direc...
Definition: GeometricObject.h:54
@ ARROW
an arrow
Definition: GeometricObject.h:59
Class that defines the direction of the Load with x, y and z.
Definition: Direction.h:39
GeometricObject(Geometry)
constructor by default of a geometric object of type given in parameters.
Definition: GeometricObject.cpp:78
@ X
the object in the X direction, size = 0.1
Definition: GeometricObject.h:65
vtkSmartPointer< vtkPolyDataMapper > myMapper
the mapper
Definition: GeometricObject.h:130
vtkSmartPointer< vtkActor > myActor
the actor
Definition: GeometricObject.h:127
Direction myDirection
Direction of the geometric object (sometimes has no particular meaning, e.g. for a sphere)
Definition: GeometricObject.h:124
Geometry getType() const
return the type
Definition: GeometricObject.h:145
vtkSmartPointer< vtkPolyDataAlgorithm > mySource
the creator of the geometry
Definition: GeometricObject.h:133
@ Z
the object in the Z direction, size = 0.1
Definition: GeometricObject.h:67
#define CAMITK_API
Definition: CamiTKAPI.h:49
Definition: Action.cpp:35