NTRT Simulator
Version: Master
|
#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 50 of file tgStructureInfo.h.
This is the entry point from other classes. The buildInto method starts the building process, and calls most (all?) of the other methods in this class.
Definition at line 277 of file tgStructureInfo.cpp.
|
friend |
Overload operator<<() to handle tgStructureInfo
[in,out] | os | an ostream |
[in] | a | reference to a tgStructureInfo |
Definition at line 397 of file tgStructureInfo.cpp.