| Home | Download | Screen shots | Discussion | Documentation |
|---|
Public Member Functions | |
| virtual | ~appearance_node ()=0 throw () |
| Destroy. | |
| void | render_appearance (viewer &v, rendering_context context) |
| Insert appearance when rendering. | |
| virtual const node_ptr & | material () const =0 throw () |
| Get the material node associated with this appearance node. | |
| virtual const node_ptr & | texture () const =0 throw () |
| Get the texture node associated with this appearance node. | |
| virtual const node_ptr & | texture_transform () const =0 throw () |
| Get the texture transform node associated with this appearance node. | |
Protected Member Functions | |
| appearance_node (const node_type &type, const boost::shared_ptr< openvrml::scope > &scope) throw () | |
| Construct. | |
Private Member Functions | |
| virtual appearance_node * | to_appearance () throw () |
| Cast to an appearance_node. | |
| virtual void | do_render_appearance (viewer &v, rendering_context context) |
| render_appearance implementation. | |
| openvrml::appearance_node::~appearance_node | ( | ) | throw () [pure virtual] |
| openvrml::appearance_node::appearance_node | ( | const node_type & | type, | |
| const boost::shared_ptr< openvrml::scope > & | scope | |||
| ) | throw () [protected] |
| void openvrml::appearance_node::render_appearance | ( | viewer & | v, | |
| rendering_context | context | |||
| ) |
| const node_ptr & openvrml::appearance_node::material | ( | ) | const throw () [pure virtual] |
Get the material node associated with this appearance node.
Implemented in openvrml::vrml97_node::appearance_node.
| const node_ptr & openvrml::appearance_node::texture | ( | ) | const throw () [pure virtual] |
Get the texture node associated with this appearance node.
Implemented in openvrml::vrml97_node::appearance_node.
| const node_ptr & openvrml::appearance_node::texture_transform | ( | ) | const throw () [pure virtual] |
Get the texture transform node associated with this appearance node.
Implemented in openvrml::vrml97_node::appearance_node.
| appearance_node * openvrml::appearance_node::to_appearance | ( | ) | throw () [private, virtual] |
Cast to an appearance_node.
Reimplemented from openvrml::node.
| void openvrml::appearance_node::do_render_appearance | ( | viewer & | v, | |
| rendering_context | context | |||
| ) | [private, virtual] |
render_appearance implementation.
| v | viewer. | |
| context | rendering_context. |
Reimplemented in openvrml::vrml97_node::appearance_node.