Open CASCADE Technology 6.6.0
|
defines a WWWAnchor node of VRML specifying group properties.
The WWWAnchor group node loads a new scene into a VRML browser
when one of its children is closen. Exactly how a user "chooses"
a child of the WWWAnchor is up to the VRML browser.
WWWAnchor with an empty ("") name does nothing when its
children are chosen.
WWWAnchor behaves like a Separator, pushing the traversal state
before traversing its children and popping it afterwards.
#include <Vrml_WWWAnchor.hxx>
Public Member Functions | |
Vrml_WWWAnchor (const TCollection_AsciiString &aName="", const TCollection_AsciiString &aDescription="", const Vrml_WWWAnchorMap aMap=Vrml_MAP_NONE) | |
void | SetName (const TCollection_AsciiString &aName) |
TCollection_AsciiString | Name () const |
void | SetDescription (const TCollection_AsciiString &aDescription) |
TCollection_AsciiString | Description () const |
void | SetMap (const Vrml_WWWAnchorMap aMap) |
Vrml_WWWAnchorMap | Map () const |
Standard_OStream & | Print (Standard_OStream &anOStream) const |
Vrml_WWWAnchor::Vrml_WWWAnchor | ( | const TCollection_AsciiString & | aName = "" , |
const TCollection_AsciiString & | aDescription = "" , |
||
const Vrml_WWWAnchorMap | aMap = Vrml_MAP_NONE |
||
) |
TCollection_AsciiString Vrml_WWWAnchor::Description | ( | ) | const |
Vrml_WWWAnchorMap Vrml_WWWAnchor::Map | ( | ) | const |
TCollection_AsciiString Vrml_WWWAnchor::Name | ( | ) | const |
Standard_OStream& Vrml_WWWAnchor::Print | ( | Standard_OStream & | anOStream | ) | const |
void Vrml_WWWAnchor::SetDescription | ( | const TCollection_AsciiString & | aDescription | ) |
void Vrml_WWWAnchor::SetMap | ( | const Vrml_WWWAnchorMap | aMap | ) |
void Vrml_WWWAnchor::SetName | ( | const TCollection_AsciiString & | aName | ) |