NTRT Simulator
v1.1
|
#include <tgStructureInfo.h>
Public Member Functions | |
tgStructureInfo (tgStructure &structure, tgBuildSpec &buildSpec) | |
tgStructureInfo (tgStructure &structure, tgBuildSpec &buildSpec, const tgTags &tags) | |
std::vector< tgRigidInfo * > | getAllRigids () const |
const std::vector < tgConnectorInfo * > & | getConnectors () const |
void | buildInto (tgModel &model, tgWorld &world) |
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 () |
tgTags & | getTags () |
const tgTags & | getTags () const |
void | setTags (tgTags tags) |
std::string | getTagStr (std::string delim=" ") const |
Friends | |
std::ostream & | operator<< (std::ostream &os, const tgStructureInfo &obj) |
Representation of a structure containing all info required to build it into a model or extract data for analysis (e.g. a matrix of connections, etc.)
Definition at line 48 of file tgStructureInfo.h.
|
friend |
Overload operator<<() to handle tgStructureInfo
[in,out] | os | an ostream |
[in] | a | reference to a tgStructureInfo |
Definition at line 374 of file tgStructureInfo.cpp.