Open CASCADE Technology  7.6.0
Public Member Functions

Vrml_WWWAnchor Class Reference

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. More...

#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_OStreamPrint (Standard_OStream &anOStream) const
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ Vrml_WWWAnchor()

Vrml_WWWAnchor::Vrml_WWWAnchor ( const TCollection_AsciiString aName = "",
const TCollection_AsciiString aDescription = "",
const Vrml_WWWAnchorMap  aMap = Vrml_MAP_NONE 
)

Member Function Documentation

◆ Description()

TCollection_AsciiString Vrml_WWWAnchor::Description ( ) const

◆ Map()

Vrml_WWWAnchorMap Vrml_WWWAnchor::Map ( ) const

◆ Name()

TCollection_AsciiString Vrml_WWWAnchor::Name ( ) const

◆ Print()

Standard_OStream& Vrml_WWWAnchor::Print ( Standard_OStream anOStream) const

◆ SetDescription()

void Vrml_WWWAnchor::SetDescription ( const TCollection_AsciiString aDescription)

◆ SetMap()

void Vrml_WWWAnchor::SetMap ( const Vrml_WWWAnchorMap  aMap)

◆ SetName()

void Vrml_WWWAnchor::SetName ( const TCollection_AsciiString aName)

The documentation for this class was generated from the following file: