 |
Computer Assited Medical Intervention Tool Kit
version 4.1
|
Go to the documentation of this file.
29 #include <vtkSmartPointer.h>
33 class vtkPolyDataMapper;
93 vtkSmartPointer<vtkActor>
getActor();
119 vtkSmartPointer<vtkPlaneSource>
plane;
void setVisuActivePlaneOff()
Visualization of the plane in blue tone.
Definition: PlaneC.cpp:121
@ Y_MIN
the plane's normal is in Y direction, the plane is at the min y
Definition: PlaneC.h:56
vtkSmartPointer< vtkActor > planeActor
Definition: PlaneC.h:121
void translatePlaneX()
Translate the plane on XAxis.
Definition: PlaneC.cpp:200
void setVisuActivePlane()
Visualization of the plane in red tone.
Definition: PlaneC.cpp:110
~PlaneC()
Destructor.
Definition: PlaneC.cpp:91
void getTransformationInPercent(double *, double *, double *)
get the transformation (translation, rot1 and rot2) in percentage
Definition: PlaneC.cpp:356
void clear()
Delete the plane from the View.
Definition: PlaneC.cpp:133
void getNormal(double *tab)
get the normal of the plane
Definition: PlaneC.cpp:375
void setOrigin(double, double, double)
Initilize the origin of the plane.
Definition: PlaneC.cpp:380
double angle2
Definition: PlaneC.h:130
PlaneCType
a planeC could represent a plane of a bounding box
Definition: PlaneC.h:54
vtkSmartPointer< vtkActor > getActor()
get the actor of the plane
Definition: PlaneC.cpp:149
void setVisuPlane()
Visualization of the plane in wireframe.
Definition: PlaneC.cpp:97
void getOrigin(double *tab)
get the origin of the plane
Definition: PlaneC.cpp:369
double angle1
difference between current and initial position
Definition: PlaneC.h:129
@ Z_MIN
the plane's normal is in Z direction, the plane is at the min z
Definition: PlaneC.h:57
void setTranslationMaxInPercent(double)
set the translation value of the plane max to 100%
Definition: PlaneC.cpp:363
@ X_MAX
the plane's normal is in X direction, the plane is at the max x
Definition: PlaneC.h:58
void setYAxisPoint(double, double, double)
The local y-axis vector will be set to (PointY - Origin) .
Definition: PlaneC.cpp:392
vtkSmartPointer< vtkPlaneSource > plane
Definition: PlaneC.h:119
void rotationAxe1()
Rotate the plane around Axe1.
Definition: PlaneC.cpp:255
@ X_MIN
the plane's normal is in X direction, the plane is at the min x
Definition: PlaneC.h:55
PlaneC()
Constructor by default.
Definition: PlaneC.cpp:67
@ Y_MAX
the plane's normal is in Y direction, the plane is at the max y
Definition: PlaneC.h:59
void translatePlaneY()
Translate the plane on YAxis.
Definition: PlaneC.cpp:218
void rotationAxe2()
Rotate the plane around Axe2.
Definition: PlaneC.cpp:302
vtkSmartPointer< vtkPolyDataMapper > planeMapper
Definition: PlaneC.h:120
vtkSmartPointer< vtkProperty > aProp
Definition: PlaneC.h:122
void setTransfoPercentToRealValue(double *tab, double, double)
set the transformation (translation, rot1 and rot2)and convert percentage to real value
Definition: PlaneC.cpp:348
@ Z_MAX
the plane's normal is in Z direction, the plane is at the max z
Definition: PlaneC.h:60
double transformation[3]
store the transformation
Definition: PlaneC.h:125
@ UNDEFINED
the plane's normal is not defined yet
Definition: PlaneC.h:61
void translatePlaneZ()
Translate the plane on ZAxis.
Definition: PlaneC.cpp:236
void init(PlaneCType type, double *bounds)
Initialize the plane at a particular place of a bounding box.
Definition: PlaneC.cpp:154
double translation1
Definition: PlaneC.h:131
double translation
store the translation in percentage
Definition: PlaneC.h:127
This class allows you to transform a plane(translation,rotation around an axis) and visualize it.
Definition: PlaneC.h:51
void setXAxisPoint(double, double, double)
The local x-axis vector will be set to (PointX - Origin) .
Definition: PlaneC.cpp:386
Definition: Action.cpp:36