|
| tgNodes () |
|
| tgNodes (std::vector< btVector3 > &nodes) |
|
| tgNodes (std::vector< tgNode > &nodes) |
|
| ~tgNodes () |
|
void | setNode (int key, const btVector3 &node) |
|
void | setNode (int key, const tgNode &node) |
|
std::vector< tgNode > & | getNodes () |
|
const std::vector< tgNode > & | getNodes () const |
|
bool | nodeExists (int key) const |
|
int | addNode (const btVector3 &node) |
|
int | addNode (const btVector3 &node, std::string tags) |
|
int | addNode (const tgNode &node) |
|
int | addNode (double x, double y, double z) |
|
int | addNode (double x, double y, double z, std::string tags) |
|
tgPair | pair (int from, int to, std::string tags="") |
|
void | move (const btVector3 &offset) |
|
void | moveNode (int idx, const btVector3 offset) |
|
void | addRotation (const btVector3 &fixedPoint, const btVector3 &axis, double angle) |
|
void | addRotation (const btVector3 &fixedPoint, const btVector3 &fromOrientation, const btVector3 &toOrientation) |
|
void | addRotation (const btVector3 &fixedPoint, const btQuaternion &rotation) |
|
void | scale (const btVector3 &referencePoint, double scaleFactor) |
|
std::vector< tgNode * > | find (std::string tags) |
|
int | size () const |
|
std::vector< tgNode * > | findAll () |
|
std::vector< tgNode * > | findUntagged () |
|
bool | contains (const tgNode &needle) const |
|
tgNode & | operator[] (int key) |
|
const tgNode & | operator[] (int key) const |
|
tgNode & | operator-= (const tgNode &other) |
|
tgNode & | operator-= (const std::vector< tgNode * > other) |
|
tgNode & | operator+= (const tgNode &other) |
|
tgNode & | operator+= (const std::vector< tgNode * > other) |
|
|
void | assertNodeExists (int key) const |
|
void | assertUniqueNodes () const |
|
int | addElement (tgNodeelement) |
|
void | addElements (std::vector< tgNode * > elements) |
|
void | setElement (int key, tgNodeelement) |
|
std::vector< tgNode > & | getElements () |
|
const std::vector< tgNode > & | getElements () const |
|
void | removeElement (const tgNode &element) |
|
void | removeElement (const tgNode *element) |
|
void | removeElements (const std::vector< tgNode > &elements) |
|
void | removeElements (const std::vector< tgNode * > &elements) |
|
tgNode & | getElement (int key) |
|
const tgNode & | getElement (int key) const |
|
bool | keyExists (int key) const |
|
bool | elementExists (const tgNode &element) const |
|
void | assertKeyExists (int key, std::string message="Element at index does not exist") const |
|
void | assertUnique (tgNode &element, std::string message="Taggable elements must be unique.") |
|
void | assertUniqueElements (std::string message="Taggable elements must be unique.") const |
|
tgTaggable * | _taggable (tgNode *obj) |
|
A node is an attachment point. The client identifies nodes with an integer index or selects them using tags (see tgTaggable). : add error checking
- Todo:
- : move operator[] out of tgTaggables into here
Definition at line 49 of file tgNodes.h.