| Home | Download | Screen shots | Discussion | Documentation |
|---|
Public Member Functions | |
| anchor_node (const node_type &type, const boost::shared_ptr< openvrml::scope > &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. | |
| void | activate () |
| Handle a click by loading the url. | |
Private Member Functions | |
| virtual void | do_render_child (openvrml::viewer &viewer, rendering_context context) |
| Render the node. | |
Private Attributes | |
| exposedfield< sfstring > | description_ |
| description exposedField | |
| exposedfield< mfstring > | parameter_ |
| parameter exposedField | |
| exposedfield< mfstring > | url_ |
| url exposedField | |
Friends | |
| class | anchor_class |
| Class object for Anchor nodes. | |
| openvrml::vrml97_node::anchor_node::anchor_node | ( | const node_type & | type, | |
| const boost::shared_ptr< openvrml::scope > & | scope | |||
| ) |
| openvrml::vrml97_node::anchor_node::~anchor_node | ( | ) | throw () [virtual] |
Destroy.
| anchor_node * openvrml::vrml97_node::anchor_node::to_anchor | ( | ) | const [virtual] |
| const bounding_volume & openvrml::vrml97_node::anchor_node::bounding_volume | ( | ) | const [virtual] |
Get the bounding volume.
Reimplemented from openvrml::vrml97_node::group_node.
| void openvrml::vrml97_node::anchor_node::activate | ( | ) |
Handle a click by loading the url.
| void openvrml::vrml97_node::anchor_node::do_render_child | ( | openvrml::viewer & | viewer, | |
| rendering_context | context | |||
| ) | [private, virtual] |
Render the node.
| viewer | a Viewer. | |
| context | a rendering context. |
Reimplemented from openvrml::vrml97_node::group_node.
openvrml::vrml97_node::anchor_node::anchor_class [friend] |
Class object for Anchor nodes.
description exposedField
parameter exposedField
exposedfield< mfstring > openvrml::vrml97_node::anchor_node::url_ [private] |
url exposedField