|
Open CASCADE Technology 6.5.2
|
qualifies the aspect properties for
the VRML conversation of ShadedShape .
#include <VrmlConverter_ShadingAspect.hxx>

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. | |
| VrmlConverter_ShadingAspect::VrmlConverter_ShadingAspect | ( | ) |
| 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 |
1.7.4