1 #ifndef FIGURECUTTINGMODEL_H_
2 #define FIGURECUTTINGMODEL_H_
4 #include "vtkTransform.h"
5 #include "vtkPolyData.h"
14 virtual void SetPosition(double x,double y, double z){
20 virtual void SetScale(double sx,double sy, double sz){
26 virtual void SetRotation(double alfa,double beta, double teta){
32 virtual void SetSpacing(double spcX,double spcY, double spcZ){
38 virtual void SetVtkTransform(vtkTransform *transform){
39 double *orient = transform->GetOrientation();
44 double *scale = transform->GetScale();
49 double *position = transform->GetPosition();
56 virtual void SetInversVtkTransform(vtkTransform *inverstransform){
57 _inversModel = inverstransform;
60 virtual bool IfPointInside(double x, double y, double z) = 0;
61 virtual double GetTheoricVolume()=0;
62 virtual vtkPolyData* getPolyData()=0;
79 vtkTransform *_inversModel;
80 vtkTransform *_matrixModel;
83 #endif /*FIGURECUTTINGMODEL_H_*/