18 #include "pandabase.h" 19 #include "typedReferenceCount.h" 21 #include "speedtree_api.h" 37 INLINE
const Filename &get_fullpath()
const;
39 INLINE
bool is_valid()
const;
41 virtual void output(ostream &out)
const;
44 INLINE
const SpeedTree::CTreeRender *get_tree()
const;
45 INLINE SpeedTree::CTreeRender *modify_tree();
50 SpeedTree::CTreeRender _tree;
56 static void init_type() {
57 TypedReferenceCount::init_type();
58 register_type(_type_handle,
"STTree",
59 TypedReferenceCount::get_class_type());
62 return get_class_type();
64 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
70 INLINE ostream &operator << (ostream &out,
const STTree &tree) {
void output(ostream &out) const
Outputs the Namable.
A base class for things which need to inherit from both TypedObject and from ReferenceCount.
A base class for all things which can have a name.
The name of a file, such as a texture file or an Egg file.
Interfaces with the SpeedTree library to render SpeedTree objects, especially trees, within the Panda3D scene graph.
TypeHandle is the identifier used to differentiate C++ class types.
Encapsulates a single tree model in the SpeedTree library, as loaded from an SRT file.