Home | Download | Screen shots | Discussion | Documentation | Links |
---|
Inheritance diagram for Anchor:
Public Methods | |
Anchor (const NodeType &nodeType, const ScopePtr &scope) | |
Constructor. | |
virtual | ~Anchor () throw () |
Destructor. | |
virtual Anchor * | toAnchor () const |
Cast to an Anchor. | |
virtual void | render (Viewer &viewer, VrmlRenderContext context) |
Render the node. | |
void | activate () |
Handle a click by loading the url. | |
const BVolume * | getBVolume () const |
Get the bounding volume. | |
Private Methods | |
void | setDescription (const FieldValue &sfstring) throw (std::bad_cast, std::bad_alloc) |
void | setParameter (const FieldValue &mfstring) throw (std::bad_cast, std::bad_alloc) |
void | setUrl (const FieldValue &mfstring) throw (std::bad_cast, std::bad_alloc) |
void | processSet_description (const FieldValue &sfstring, double timestamp) throw (std::bad_cast, std::bad_alloc) |
set_description eventIn handler. | |
void | processSet_parameter (const FieldValue &mfstring, double timestamp) throw (std::bad_cast, std::bad_alloc) |
set_parameter eventIn handler. | |
void | processSet_url (const FieldValue &mfstring, double timestamp) throw (std::bad_cast, std::bad_alloc) |
set_url eventIn handler. | |
Private Attributes | |
SFString | description |
MFString | parameter |
MFString | url |
Friends | |
class | AnchorClass |
|
Constructor.
|
|
Destructor.
|
|
Handle a click by loading the url.
|
|
Get the bounding volume.
Reimplemented from Group. |
|
set_description eventIn handler.
|
|
set_parameter eventIn handler.
|
|
set_url eventIn handler.
|
|
Render the node.
Reimplemented from Group. |
|
Cast to an Anchor.
Reimplemented from Node. |