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

VrmlConverter_ShadingAspect::VrmlConverter_ShadingAspect (  ) 

Member Function Documentation

Handle_Vrml_Material VrmlConverter_ShadingAspect::FrontMaterial (  )  const
Standard_Boolean VrmlConverter_ShadingAspect::HasMaterial (  )  const
Standard_Boolean VrmlConverter_ShadingAspect::HasNormals (  )  const
void VrmlConverter_ShadingAspect::SetFrontMaterial ( const Handle< Vrml_Material > &  aMaterial  ) 
void VrmlConverter_ShadingAspect::SetHasMaterial ( const Standard_Boolean  OnOff  ) 
void VrmlConverter_ShadingAspect::SetHasNormals ( const Standard_Boolean  OnOff  ) 
void VrmlConverter_ShadingAspect::SetShapeHints ( const Vrml_ShapeHints aShapeHints  ) 
Vrml_ShapeHints VrmlConverter_ShadingAspect::ShapeHints (  )  const

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Thu Mar 3 11:08:32 2011 for Open CASCADE Technology by  doxygen 1.6.3