X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FsourceVectorMath.h;h=b13aea249f46d34d91e8342900015a1dba6d17b3;hb=683ff9386e374db4f94ae5d4c32859cc808c3ad4;hp=96f8f06d29bd3f03640d70ef3e2d23d3dc54ea90;hpb=2aad4ea488fa7bf60864e6f9ee49e5f5247861d7;p=creaRigidRegistration.git diff --git a/lib/sourceVectorMath.h b/lib/sourceVectorMath.h index 96f8f06..b13aea2 100644 --- a/lib/sourceVectorMath.h +++ b/lib/sourceVectorMath.h @@ -8,22 +8,31 @@ class VectorMath{ public: VectorMath(); ~VectorMath(); - /*void SetTransform(vtkTransform *transform); - void SetCenterPoint(std::vector point); - void SetAngle(double angle); - void SetScaleX(double scaleX); - void SetScaleY(double scaleY); - void SetScaleZ(double scaleZ); + void SetData(std::vector pointsX1, std::vector pointsX2, std::vector pointsY1, std::vector pointsY2, std::vector pointsZ1, std::vector pointsZ2); void Run(); - vtkTransform *GetResult(); + /* + int[3]* GetPoints(); + double[3]* GetScales(); + double GetAngle();*/ private: - std::vector _centerPoint; - double _angle; - double _scaleX; - double _scaleY; - double _scaleZ; - //vtkImageData *_image; - vtkTransform *_transform;*/ + //float[3] _points; + + int _pointx1a; + int _pointx1b; + int _pointx2a; + int _pointx2b; + + int _pointy1a; + int _pointy1b; + int _pointy2a; + int _pointy2b; + + int _pointz1a; + int _pointz1b; + int _pointz2a; + int _pointz2b; + + vtkMath *_math; }; #endif \ No newline at end of file