Class xlifepp::Rotation3d#

class Rotation3d : public xlifepp::Transformation#

Inheritence diagram for xlifepp::Rotation3d:

digraph { graph [bgcolor="#00000000"] node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2] edge [color="#1414CE"] "1" [label="xlifepp::Rotation3d" tooltip="xlifepp::Rotation3d" fillcolor="#BFBFBF"] "2" [label="xlifepp::Transformation" tooltip="xlifepp::Transformation"] "1" -> "2" [dir=forward tooltip="public-inheritance"] }

Collaboration diagram for xlifepp::Rotation3d:

digraph { graph [bgcolor="#00000000"] node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2] edge [color="#1414CE"] "3" [label="xlifepp::Matrix< real_t >" tooltip="xlifepp::Matrix< real_t >"] "8" [label="xlifepp::Vector< real_t >" tooltip="xlifepp::Vector< real_t >"] "5" [label="std::vector< T >" tooltip="std::vector< T >"] "7" [label="std::vector< K >" tooltip="std::vector< K >"] "10" [label="std::vector< const xlifepp::Transformation * >" tooltip="std::vector< const xlifepp::Transformation * >"] "4" [label="std::vector< real_t >" tooltip="std::vector< real_t >"] "6" [label="xlifepp::Matrix< K >" tooltip="xlifepp::Matrix< K >"] "11" [label="xlifepp::Point" tooltip="xlifepp::Point"] "1" [label="xlifepp::Rotation3d" tooltip="xlifepp::Rotation3d" fillcolor="#BFBFBF"] "2" [label="xlifepp::Transformation" tooltip="xlifepp::Transformation"] "9" [label="xlifepp::Vector< K >" tooltip="xlifepp::Vector< K >"] "3" -> "4" [dir=forward tooltip="public-inheritance"] "3" -> "6" [dir=forward tooltip="template-instance"] "8" -> "4" [dir=forward tooltip="public-inheritance"] "8" -> "9" [dir=forward tooltip="template-instance"] "7" -> "5" [dir=forward tooltip="template-instance"] "10" -> "5" [dir=forward tooltip="template-instance"] "4" -> "5" [dir=forward tooltip="template-instance"] "6" -> "7" [dir=forward tooltip="public-inheritance"] "11" -> "4" [dir=forward tooltip="public-inheritance"] "1" -> "2" [dir=forward tooltip="public-inheritance"] "1" -> "11" [dir=forward tooltip="usage"] "1" -> "4" [dir=forward tooltip="usage"] "2" -> "3" [dir=forward tooltip="usage"] "2" -> "8" [dir=forward tooltip="usage"] "2" -> "10" [dir=forward tooltip="usage"] "9" -> "7" [dir=forward tooltip="public-inheritance"] }

representation of a rotation from an axis ( a point and a vector ) and an angle

Public Functions

Rotation3d()#

default constructor

inline Rotation3d(const Parameter &p1)#

main constructor from one key

inline Rotation3d(const Parameter &p1, const Parameter &p2)#

main constructor from 2 keys

inline Rotation3d(const Parameter &p1, const Parameter &p2, const Parameter &p3)#

main constructor from 3 keys

inline Rotation3d(const Point &c, real_t dx, real_t dy, real_t angle)#

constructor with direction given with 2 reals

inline Rotation3d(const Point &c, real_t dx, real_t dy, real_t dz, real_t angle)#

constructor with direction given with 3 reals

inline Rotation3d(const Point &c, std::vector<real_t> d, real_t angle)#

constructor with a vector of real numbers

inline Rotation3d(const std::vector<Parameter> &ps)#

main constructor from a vector of keys

inline virtual ~Rotation3d()#

destructor

inline real_t angle() const#

accessor to rotation angle

virtual Point apply(const Point &p) const#

computes the image of a point by the transformation

inline const std::vector<real_t> &axisDirection() const#

accessor to rotation axis direction

inline const Point &axisPoint() const#

accessor to rotation axis point

inline virtual Transformation *clone() const#

virtual copy constructor

virtual void print(std::ostream&) const#

print Transformation

inline virtual Rotation3d *rotation3d()#

access to child Rotation3d object

inline virtual const Rotation3d *rotation3d() const#

access to child Rotation3d object (const)