Go to the documentation of this file.
34 INLINE
const Filename &get_fullpath()
const;
36 INLINE
bool is_valid()
const;
38 virtual void output(std::ostream &out)
const;
41 INLINE
const SpeedTree::CTreeRender *get_tree()
const;
42 INLINE SpeedTree::CTreeRender *modify_tree();
47 SpeedTree::CTreeRender _tree;
53 static void init_type() {
54 TypedReferenceCount::init_type();
56 TypedReferenceCount::get_class_type());
59 return get_class_type();
61 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
67 INLINE std::ostream &operator << (std::ostream &out,
const STTree &tree) {
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
A base class for things which need to inherit from both TypedObject and from ReferenceCount.
TypeHandle is the identifier used to differentiate C++ class types.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void output(std::ostream &out) const
Outputs the Namable.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A base class for all things which can have a name.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Interfaces with the SpeedTree library to render SpeedTree objects, especially trees,...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
The name of a file, such as a texture file or an Egg file.
Encapsulates a single tree model in the SpeedTree library, as loaded from an SRT file.