Home | Download | Screen shots | Discussion | Documentation |
---|
Public Member Functions | |
appearance_node (const node_type &type, const boost::shared_ptr< openvrml::scope > &scope) | |
Construct. | |
virtual | ~appearance_node () throw () |
Destroy. | |
virtual bool | modified () const |
Determine whether the node has been modified. | |
virtual const node_ptr & | material () const throw () |
Get the material node. | |
virtual const node_ptr & | texture () const throw () |
Get the texture node. | |
virtual const node_ptr & | texture_transform () const throw () |
Get the texture transform node. | |
Private Member Functions | |
virtual void | do_render_appearance (viewer &v, rendering_context context) |
render_appearance implementation. | |
Private Attributes | |
exposedfield< sfnode > | material_ |
material exposedField. | |
exposedfield< sfnode > | texture_ |
texture exposedField. | |
exposedfield< sfnode > | texture_transform_ |
textureTransform exposedField. | |
Friends | |
class | appearance_class |
Class object for Appearance nodes. |
openvrml::vrml97_node::appearance_node::appearance_node | ( | const node_type & | type, | |
const boost::shared_ptr< openvrml::scope > & | scope | |||
) |
openvrml::vrml97_node::appearance_node::~appearance_node | ( | ) | throw () [virtual] |
bool openvrml::vrml97_node::appearance_node::modified | ( | ) | const [virtual] |
Determine whether the node has been modified.
true
if the node or one of its children has been modified, false
otherwise. Reimplemented from openvrml::node.
const node_ptr & openvrml::vrml97_node::appearance_node::material | ( | ) | const throw () [virtual] |
const node_ptr & openvrml::vrml97_node::appearance_node::texture | ( | ) | const throw () [virtual] |
const node_ptr & openvrml::vrml97_node::appearance_node::texture_transform | ( | ) | const throw () [virtual] |
void openvrml::vrml97_node::appearance_node::do_render_appearance | ( | viewer & | v, | |
rendering_context | context | |||
) | [private, virtual] |
render_appearance implementation.
v | viewer. | |
context | rendering_context. |
Reimplemented from openvrml::appearance_node.
openvrml::vrml97_node::appearance_node::appearance_class [friend] |
Class object for Appearance nodes.
material exposedField.
texture exposedField.
textureTransform exposedField.