Encapsulates a single tree model in the SpeedTree library, as loaded from an SRT file.
More...
Public Member Functions |
| | STTree (const Filename &fullpath) |
| | The constructor reads the indicated SRT file immediately.
|
|
virtual TypeHandle | force_init_type () |
| const Filename & | get_fullpath () const |
| | Returns the full pathname to the SRT file that was loaded for this tree, as passed to the constructor.
|
| const SpeedTree::CTreeRender * | get_tree () const |
| | Returns a const pointer to the internal SpeedTree object.
|
|
virtual TypeHandle | get_type () const |
| bool | is_valid () const |
| | Returns true if the tree was successfully loaded and is ready to be used, false otherwise.
|
| SpeedTree::CTreeRender * | modify_tree () |
| | Returns a modifiable pointer to the internal SpeedTree object.
|
| virtual void | output (ostream &out) const |
| | Outputs the Namable.
|
Static Public Member Functions |
|
static TypeHandle | get_class_type () |
|
static void | init_type () |
Encapsulates a single tree model in the SpeedTree library, as loaded from an SRT file.
Definition at line 30 of file stTree.h.