AnimaL |
Tutorial |
Documentation |
#include <Frame.h>
Public Member Functions | |
Frame () | |
Frame (const Vec3d origin, const Vec3d u, const Vec3d v, const Vec3d w) | |
~Frame () | |
Vec3d | getVector (unsigned int i) const |
Vec3d | operator[] (unsigned int i) const |
void | setVector (unsigned int i, Vec3d v) |
Vec3d | getOrigin () const |
void | setOrigin (Vec3d v) |
HMat | getMatrix () const |
HMat | getInvMatrix () const |
Vec3d | computePosition (Vec3d params, Vec3d scaling=Vec3d(1, 1, 1)) const |
Given the local coordinates params, get the position in the global frame Also give a scale value for the vectors. | |
Vec3d | getLocalCoordinates (Vec3d Q) |
Given the global coordinates, get the local coordinates in the frame. | |
Protected Attributes | |
std::vector< Vec3d > | _frame |
Vec3d | _origin |
HMat | _matrix |
HMat | _invMatrix |
bool | _invMatrixComputed |
|
Definition at line 11 of file Frame.cpp. References _invMatrix, and animal::Matrix< T >::resize(). |
|
Definition at line 18 of file Frame.cpp. References _invMatrix, getOrigin(), getVector(), animal::Matrix< T >::resize(), and animal::octree::Vec3d. |
|
|
|
Given the local coordinates params, get the position in the global frame Also give a scale value for the vectors.
Definition at line 67 of file Frame.cpp. References animal::octree::Vec3d. |
|
Definition at line 37 of file Frame.h. References _invMatrix, and animal::octree::HMat. |
|
Given the global coordinates, get the local coordinates in the frame.
Definition at line 94 of file Frame.cpp. References animal::octree::getMatrixInverse(), animal::octree::HVec, animal::octree::HVecToVec3d(), animal::v_eq_Ab(), animal::octree::Vec3d, and animal::octree::Vec3dToHVec(). |
|
Definition at line 36 of file Frame.h. References animal::octree::HMat. |
|
Definition at line 33 of file Frame.h. References _origin, and animal::octree::Vec3d. Referenced by animal::octree::Octree::directManipulation(), and Frame(). |
|
Definition at line 57 of file Frame.cpp. References Require, and animal::octree::Vec3d. Referenced by animal::octree::Octree::directManipulation(), Frame(), and animal::octree::Octree::structureChangedRecLeaves(). |
|
Definition at line 62 of file Frame.cpp. References animal::octree::Vec3d. |
|
Definition at line 49 of file Frame.cpp. References animal::octree::Vec3d. Referenced by animal::octree::Octree::directManipulation(), animal::octree::ConstrainedVertex::setPosition(), and animal::octree::Octree::structureChangedRecLeaves(). |
|
Definition at line 41 of file Frame.cpp. References animal::octree::Vec3d. Referenced by animal::octree::Octree::directManipulation(), and animal::octree::Octree::structureChangedRecLeaves(). |
|
|
|
Definition at line 57 of file Frame.h. Referenced by Frame(), and getInvMatrix(). |
|
|
|
|
|
Definition at line 54 of file Frame.h. Referenced by getOrigin(). |