OCCT3D OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    Vrml_Switch Class Reference

    defines a Switch node of VRML specifying group properties. This group node traverses one, none, or all of its children. One can use this node to switch on and off the effects of some properties or to switch between different properties. The whichChild field specifies the index of the child to traverse, where the first child has index 0. A value of -1 (the default) means do not traverse any children. A value of -3 traverses all children, making the switch behave exactly like a regular Group. More...

    #include <Vrml_Switch.hxx>

    Public Member Functions

     Vrml_Switch (const int aWhichChild=-1)
    void SetWhichChild (const int aWhichChild)
    int WhichChild () const
    Standard_OStreamPrint (Standard_OStream &anOStream) const

    Detailed Description

    defines a Switch node of VRML specifying group properties. This group node traverses one, none, or all of its children. One can use this node to switch on and off the effects of some properties or to switch between different properties. The whichChild field specifies the index of the child to traverse, where the first child has index 0. A value of -1 (the default) means do not traverse any children. A value of -3 traverses all children, making the switch behave exactly like a regular Group.

    Constructor & Destructor Documentation

    ◆ Vrml_Switch()

    Vrml_Switch::Vrml_Switch ( const int aWhichChild = -1)

    Member Function Documentation

    ◆ Print()

    Standard_OStream & Vrml_Switch::Print ( Standard_OStream & anOStream) const

    ◆ SetWhichChild()

    void Vrml_Switch::SetWhichChild ( const int aWhichChild)

    ◆ WhichChild()

    int Vrml_Switch::WhichChild ( ) const

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