Home | Download | Screen shots | Discussion | Documentation |
---|
Inheritance diagram for openvrml::vrml97_node::anchor_node:
Public Member Functions | |
anchor_node (const node_type &type, const scope_ptr &scope) | |
Construct. | |
virtual | ~anchor_node () throw () |
Destroy. | |
virtual anchor_node * | to_anchor () const |
Cast to an anchor. | |
virtual const openvrml::bounding_volume & | bounding_volume () const |
Get the bounding volume. | |
virtual void | render (openvrml::viewer &viewer, rendering_context context) |
Render the node. | |
void | activate () |
Handle a click by loading the url. | |
Private Member Functions | |
void | process_set_description (const field_value &value, double timestamp) throw (std::bad_cast, std::bad_alloc) |
set_description eventIn handler. | |
void | process_set_parameter (const field_value &value, double timestamp) throw (std::bad_cast, std::bad_alloc) |
set_parameter eventIn handler. | |
void | process_set_url (const field_value &value, double timestamp) throw (std::bad_cast, std::bad_alloc) |
set_url eventIn handler. | |
Private Attributes | |
sfstring | description |
description exposedField | |
mfstring | parameter |
parameter exposedField | |
mfstring | url |
url exposedField | |
Friends | |
class | anchor_class |
Class object for Anchor nodes. |
|
Construct.
|
|
Get the bounding volume.
Reimplemented from openvrml::vrml97_node::group_node. |
|
set_description eventIn handler.
|
|
set_parameter eventIn handler.
|
|
set_url eventIn handler.
|
|
Render the node.
Reimplemented from openvrml::vrml97_node::group_node. |
|
Cast to an anchor.
Reimplemented from openvrml::node. |