65 tgModel(std::string space_separated_tags);
94 virtual void step(
double dt);
119 virtual std::string
toString(std::string prefix =
"")
const;
128 template <
typename T>
141 template <
typename T>
142 std::vector<T*>
find(
const std::string& tagSearch)
158 bool invariant()
const;
167 std::vector<tgModel*> m_children;
Contains the definition of class tgTagSearch $Id$.
virtual void setup(tgWorld &world)
virtual std::string toString(std::string prefix="") const
void addChild(tgModel *pChild)
virtual void step(double dt)
Utility class for class casting and filtering collections by type.
virtual void onVisit(const tgModelVisitor &r) const
std::vector< T * > find(const std::string &tagSearch)
std::vector< T * > find(const tgTagSearch &tagSearch)
Contains the definition of class tgTaggable $Id$.
std::ostream & operator<<(std::ostream &os, const tgModel &obj)
std::vector< tgModel * > getDescendants() const