Open CASCADE Technology  7.1.0.beta
Public Member Functions

Vrml_MaterialBinding Class Reference

defines a MaterialBinding node of VRML specifying properties of geometry and its appearance. Material nodes may contain more than one material. This node specifies how the current materials are bound to shapes that follow in the scene graph. Each shape node may interpret bindings differently. For example, a Sphere node is always drawn using the first material in the material node, no matter what the current MaterialBinding, while a Cube node may use six different materials to draw each of its six faces, depending on the MaterialBinding. More...

#include <Vrml_MaterialBinding.hxx>

Public Member Functions

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

Detailed Description

defines a MaterialBinding node of VRML specifying properties of geometry and its appearance. Material nodes may contain more than one material. This node specifies how the current materials are bound to shapes that follow in the scene graph. Each shape node may interpret bindings differently. For example, a Sphere node is always drawn using the first material in the material node, no matter what the current MaterialBinding, while a Cube node may use six different materials to draw each of its six faces, depending on the MaterialBinding.

Constructor & Destructor Documentation

Vrml_MaterialBinding::Vrml_MaterialBinding ( const Vrml_MaterialBindingAndNormalBinding  aValue)
Vrml_MaterialBinding::Vrml_MaterialBinding ( )

Member Function Documentation

Standard_OStream& Vrml_MaterialBinding::Print ( Standard_OStream anOStream) const
void Vrml_MaterialBinding::SetValue ( const Vrml_MaterialBindingAndNormalBinding  aValue)
Vrml_MaterialBindingAndNormalBinding Vrml_MaterialBinding::Value ( ) const

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