Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
VrmlConverter_ShadingAspect Class Reference

qualifies the aspect properties for
the VRML conversation of ShadedShape .

#include <VrmlConverter_ShadingAspect.hxx>

Inheritance diagram for VrmlConverter_ShadingAspect:
Inheritance graph
[legend]

Public Member Functions

 VrmlConverter_ShadingAspect ()
 create a default ShadingAspect.

void SetFrontMaterial (const Handle< Vrml_Material > &aMaterial)
Handle_Vrml_Material FrontMaterial () const
void SetShapeHints (const Vrml_ShapeHints &aShapeHints)
Vrml_ShapeHints ShapeHints () const
void SetHasNormals (const Standard_Boolean OnOff)
 defines necessary of a calculation of normals for ShadedShape to more
accurately display curved surfaces, pacticularly when smoooth or phong
shading is used in VRML viewer.
By default False - the normals are not calculated,
True - the normals are calculated.
Warning: If normals are calculated the resulting VRML file will
be substantially lager.

Standard_Boolean HasNormals () const
 returns True if the normals are calculating

void SetHasMaterial (const Standard_Boolean OnOff)
 defines necessary of writing Material from Vrml into output OStream.
By default False - the material is not writing into OStream,
True - the material is writing.

Standard_Boolean HasMaterial () const
 returns True if the materials is writing into OStream.


Constructor & Destructor Documentation


Member Function Documentation

Handle_Vrml_Material VrmlConverter_ShadingAspect::FrontMaterial ( ) const

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