Transformer3D();
~Transformer3D();
void SetTransform(vtkTransform *transform);
- void SetCenterPoint(std::vector<int> 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<int> _centerPoint;
+ double _rotationAxis[3];
+ double _secondRotationAxis[3];
+ double _firstPoint[3];
+ double _secondPoint[3];
+ double _angle;
+ double _secondAngle;
vtkTransform *_transform;
};