NTRT Simulator  Version: Master
 All Classes Namespaces Files Functions Variables Typedefs Friends Pages
tgNode Class Reference

#include <tgNode.h>

Inheritance diagram for tgNode:
Collaboration diagram for tgNode:

Public Member Functions

 tgNode (const btVector3 &v=btVector3(), const std::string &tags="")
 
 tgNode (double x, double y, double z, const std::string &tags="")
 
void addRotation (const btVector3 &fixedPoint, const btVector3 &fromOrientation, const btVector3 &toOrientation)
 
void addRotation (const btVector3 &fixedPoint, const btVector3 &axis, double angle)
 
void addRotation (const btVector3 &fixedPoint, const btQuaternion &rotation)
 
bool operator== (const tgNode &other) const
 
void addTags (const std::string &space_separated_tags)
 
void addTags (const tgTags &tags)
 
bool hasTag (const std::string tag) const
 
bool hasAllTags (std::string tags)
 
bool hasAnyTags (const std::string tags)
 
bool hasNoTags ()
 
tgTagsgetTags ()
 
const tgTagsgetTags () const
 
void setTags (tgTags tags)
 
std::string getTagStr (std::string delim=" ") const
 

Detailed Description

An extension of btVector3 that adds taggability, rotation, and other editing features (to be added). Tagging just a node can allow a tgSphere to be placed there.

Definition at line 45 of file tgNode.h.

Member Function Documentation

void tgNode::addRotation ( const btVector3 &  fixedPoint,
const btVector3 &  fromOrientation,
const btVector3 &  toOrientation 
)
inline

Rotate this vector around the specified fixed point

Definition at line 62 of file tgNode.h.

Here is the call graph for this function:

Here is the caller graph for this function:

void tgNode::addRotation ( const btVector3 &  fixedPoint,
const btVector3 &  axis,
double  angle 
)
inline

Rotate this vector around the specified fixed point

Definition at line 75 of file tgNode.h.

Here is the call graph for this function:

void tgNode::addRotation ( const btVector3 &  fixedPoint,
const btQuaternion &  rotation 
)
inline

Rotate this vector around the specified fixed point

Definition at line 86 of file tgNode.h.

Here is the call graph for this function:


The documentation for this class was generated from the following file: