Open CASCADE Technology  7.3.0
Public Member Functions

Vrml_NormalBinding Class Reference

defines a NormalBinding node of VRML specifying properties of geometry and its appearance. This node specifies how the current normals are bound to shapes that follow in the scene graph. Each shape node may interpret bindings differently. The bindings for faces and vertices are meaningful only for shapes that are made from faces and vertices. Similarly, the indexed bindings are only used by the shapes that allow indexing. For bindings that require multiple normals, be sure to have at least as many normals defined as are necessary; otherwise, errors will occur. More...

#include <Vrml_NormalBinding.hxx>

Public Member Functions

 Vrml_NormalBinding (const Vrml_MaterialBindingAndNormalBinding aValue)
 
 Vrml_NormalBinding ()
 
void SetValue (const Vrml_MaterialBindingAndNormalBinding aValue)
 
Vrml_MaterialBindingAndNormalBinding Value () const
 
Standard_OStreamPrint (Standard_OStream &anOStream) const
 

Detailed Description

defines a NormalBinding node of VRML specifying properties of geometry and its appearance. This node specifies how the current normals are bound to shapes that follow in the scene graph. Each shape node may interpret bindings differently. The bindings for faces and vertices are meaningful only for shapes that are made from faces and vertices. Similarly, the indexed bindings are only used by the shapes that allow indexing. For bindings that require multiple normals, be sure to have at least as many normals defined as are necessary; otherwise, errors will occur.

Constructor & Destructor Documentation

◆ Vrml_NormalBinding() [1/2]

Vrml_NormalBinding::Vrml_NormalBinding ( const Vrml_MaterialBindingAndNormalBinding  aValue)

◆ Vrml_NormalBinding() [2/2]

Vrml_NormalBinding::Vrml_NormalBinding ( )

Member Function Documentation

◆ Print()

Standard_OStream& Vrml_NormalBinding::Print ( Standard_OStream anOStream) const

◆ SetValue()

void Vrml_NormalBinding::SetValue ( const Vrml_MaterialBindingAndNormalBinding  aValue)

◆ Value()

Vrml_MaterialBindingAndNormalBinding Vrml_NormalBinding::Value ( ) const

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