Home | Download | Screen shots | Discussion | Documentation | Links |
---|
Inheritance diagram for Appearance:
Public Methods | |
Appearance (const NodeType &nodeType, const ScopePtr &scope) | |
Constructor. | |
virtual | ~Appearance () throw () |
Destructor. | |
virtual bool | isModified () const |
Determine whether the node has been modified. | |
virtual void | updateModified (NodePath &path, int flags=0x003) |
Propagate the bvolume dirty flag from children to parents. | |
virtual void | render (Viewer &viewer, VrmlRenderContext context) |
Render the node. | |
virtual const SFNode & | getMaterial () const throw () |
Get the material node. | |
virtual const SFNode & | getTexture () const throw () |
Get the texture node. | |
virtual const SFNode & | getTextureTransform () const throw () |
Get the texture transform node. | |
Private Methods | |
void | processSet_material (const FieldValue &sfnode, double timestamp) throw (std::bad_cast, std::bad_alloc) |
set_material eventIn handler. | |
void | processSet_texture (const FieldValue &sfnode, double timestamp) throw (std::bad_cast, std::bad_alloc) |
set_texture eventIn handler. | |
void | processSet_textureTransform (const FieldValue &sfnode, double timestamp) throw (std::bad_cast, std::bad_alloc) |
set_textureTransform eventIn handler. | |
Private Attributes | |
SFNode | material |
SFNode | texture |
SFNode | textureTransform |
Friends | |
class | AppearanceClass |
|
Constructor.
|
|
Destructor.
|
|
Get the material node.
Implements AppearanceNode. |
|
Get the texture node.
Implements AppearanceNode. |
|
Get the texture transform node.
Implements AppearanceNode. |
|
Determine whether the node has been modified.
Reimplemented from Node. |
|
set_material eventIn handler.
|
|
set_texture eventIn handler.
|
|
set_textureTransform eventIn handler.
|
|
Render the node.
Reimplemented from Node. |
|
Propagate the bvolume dirty flag from children to parents.
Reimplemented from Node. |