X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FTransformer3D.h;h=cd25fd429abee3eb1211e070755cefd5c78cf684;hb=74f4f8e7e7e9a04fd303a14c0135d98bd3017af1;hp=7f84d53594e6fd50b15aad3fc648dc71d850b8dc;hpb=1fcf8e018b8b2d2be105d16407facc9c1ac86902;p=creaRigidRegistration.git diff --git a/lib/Transformer3D.h b/lib/Transformer3D.h index 7f84d53..cd25fd4 100644 --- a/lib/Transformer3D.h +++ b/lib/Transformer3D.h @@ -10,12 +10,23 @@ public: Transformer3D(); ~Transformer3D(); void SetTransform(vtkTransform *transform); - void SetCenterPoint(std::vector point); + void SetRotationAxis(double* axis); + void SetFirstTranslation(double* first); + void SetSecondTranslation(double* second); + void SetSecondRotationAxis(double* axis); + void SetAngle(double angle); + void SetSecondAngle(double angle); void Run(); vtkTransform *GetResult(); + vtkTransform *GetFirstResult(); private: - std::vector _centerPoint; + double _rotationAxis[3]; + double _secondRotationAxis[3]; + double _firstPoint[3]; + double _secondPoint[3]; + double _angle; + double _secondAngle; vtkTransform *_transform; };