Blender
V3.3
|
#include <NodeTransform.h>
Public Member Functions | |
NodeTransform () | |
virtual | ~NodeTransform () |
void | Translate (real x, real y, real z) |
void | Rotate (real iAngle, real x, real y, real z) |
void | Scale (real x, real y, real z) |
void | MultiplyMatrix (const Matrix44r &iMatrix) |
void | setMatrix (const Matrix44r &iMatrix) |
virtual void | accept (SceneVisitor &v) |
virtual void | AddBBox (const BBox< Vec3r > &iBBox) |
bool | isScaled (const Matrix44r &M) |
const Matrix44r & | matrix () const |
bool | scaled () const |
![]() | |
NodeGroup () | |
virtual | ~NodeGroup () |
virtual void | AddChild (Node *iChild) |
virtual int | destroy () |
virtual void | DetachChildren () |
virtual void | DetachChild (Node *iChild) |
virtual void | RetrieveChildren (vector< Node * > &oNodes) |
virtual const BBox< Vec3r > & | UpdateBBox () |
virtual int | numberOfChildren () |
![]() | |
Node () | |
Node (const Node &iBrother) | |
virtual | ~Node () |
virtual const BBox< Vec3r > & | bbox () const |
virtual void | setBBox (const BBox< Vec3r > &iBox) |
virtual void | clearBBox () |
![]() | |
BaseObject () | |
virtual | ~BaseObject () |
int | addRef () |
int | release () |
Additional Inherited Members | |
![]() | |
vector< Node * > | _Children |
Definition at line 21 of file NodeTransform.h.
|
inline |
Definition at line 23 of file NodeTransform.h.
References Freestyle::VecMat::SquareMatrix< real, 4 >::identity().
|
inlinevirtual |
Definition at line 29 of file NodeTransform.h.
|
virtual |
Accept the corresponding visitor
Reimplemented from Freestyle::NodeGroup.
Definition at line 95 of file NodeTransform.cpp.
References Freestyle::NodeGroup::_Children, node, and v.
Overloads the Node::AddBBox in order to take care about the transformation
Reimplemented from Freestyle::Node.
Definition at line 107 of file NodeTransform.cpp.
References Freestyle::Node::AddBBox(), Freestyle::BBox< Point >::getMax(), and Freestyle::BBox< Point >::getMin().
Checks whether a matrix contains a scale factor or not. Returns true if yes. M The matrix to check
Definition at line 148 of file NodeTransform.cpp.
Referenced by setMatrix().
|
inline |
accessors
Definition at line 70 of file NodeTransform.h.
Multiplies the current matrix by iMatrix
Definition at line 81 of file NodeTransform.cpp.
multiplies the current matrix by a rotation matrix iAngle The rotation angle x, y, z The rotation axis
Definition at line 22 of file NodeTransform.cpp.
References KDL::cos(), Freestyle::VecMat::SquareMatrix< real, 4 >::identity(), Freestyle::VecMat::SquareMatrix< T, N >::identity(), M_PI, norm(), R, KDL::sin(), sqrt(), Freestyle::x, y, and z.
multiplies the current matrix by a scaling matrix. x, y, z The scaling coefficients with respect to the x,y,z axis
Definition at line 72 of file NodeTransform.cpp.
References Freestyle::x, y, and z.
|
inline |
Definition at line 75 of file NodeTransform.h.
Sets the current matrix to iMatrix
Definition at line 87 of file NodeTransform.cpp.
References isScaled().
multiplies the current matrix by the x, y, z translation matrix.
Definition at line 15 of file NodeTransform.cpp.
References Freestyle::x, y, and z.