Open CASCADE Technology 6.6.0
Public Member Functions
Prs3d_ShadingAspect Class Reference

A framework to define the display of shading.
The attributes which make up this definition include:
More...

#include <Prs3d_ShadingAspect.hxx>

Inheritance diagram for Prs3d_ShadingAspect:
Inheritance graph
[legend]

Public Member Functions

 Prs3d_ShadingAspect ()
 Constructs an empty framework to display shading.

void SetColor (const Quantity_Color &aColor, const Aspect_TypeOfFacingModel aModel=Aspect_TOFM_BOTH_SIDE)
 Change the polygons interior color and material ambient color.

void SetColor (const Quantity_NameOfColor aColor, const Aspect_TypeOfFacingModel aModel=Aspect_TOFM_BOTH_SIDE)
 Change the polygons interior color and material ambient color.

void SetMaterial (const Graphic3d_MaterialAspect &aMaterial, const Aspect_TypeOfFacingModel aModel=Aspect_TOFM_BOTH_SIDE)
 Change the polygons material aspect.

void SetMaterial (const Graphic3d_NameOfMaterial aMaterial, const Aspect_TypeOfFacingModel aModel=Aspect_TOFM_BOTH_SIDE)
void SetTransparency (const Standard_Real aValue, const Aspect_TypeOfFacingModel aModel=Aspect_TOFM_BOTH_SIDE)
 Change the polygons transparency value.
Warning : aValue must be in the range 0,1. 0 is the default (NO transparent)

void SetAspect (const Handle< Graphic3d_AspectFillArea3d > &Asp)
 Change the polygons aspect properties.

Quantity_Color Color (const Aspect_TypeOfFacingModel aModel=Aspect_TOFM_FRONT_SIDE) const
 Returns the polygons color.

Graphic3d_MaterialAspect Material (const Aspect_TypeOfFacingModel aModel=Aspect_TOFM_FRONT_SIDE) const
 Returns the polygons material aspect.

Standard_Real Transparency (const Aspect_TypeOfFacingModel aModel=Aspect_TOFM_FRONT_SIDE) const
 Returns the polygons transparency value.

Handle_Graphic3d_AspectFillArea3d Aspect () const
 Returns the polygons aspect properties.


Detailed Description


Constructor & Destructor Documentation

Prs3d_ShadingAspect::Prs3d_ShadingAspect ( )

Member Function Documentation

Handle_Graphic3d_AspectFillArea3d Prs3d_ShadingAspect::Aspect ( ) const
Quantity_Color Prs3d_ShadingAspect::Color ( const Aspect_TypeOfFacingModel  aModel = Aspect_TOFM_FRONT_SIDE) const
Graphic3d_MaterialAspect Prs3d_ShadingAspect::Material ( const Aspect_TypeOfFacingModel  aModel = Aspect_TOFM_FRONT_SIDE) const
void Prs3d_ShadingAspect::SetAspect ( const Handle< Graphic3d_AspectFillArea3d > &  Asp)
void Prs3d_ShadingAspect::SetColor ( const Quantity_NameOfColor  aColor,
const Aspect_TypeOfFacingModel  aModel = Aspect_TOFM_BOTH_SIDE 
)
void Prs3d_ShadingAspect::SetColor ( const Quantity_Color aColor,
const Aspect_TypeOfFacingModel  aModel = Aspect_TOFM_BOTH_SIDE 
)
void Prs3d_ShadingAspect::SetMaterial ( const Graphic3d_NameOfMaterial  aMaterial,
const Aspect_TypeOfFacingModel  aModel = Aspect_TOFM_BOTH_SIDE 
)
void Prs3d_ShadingAspect::SetMaterial ( const Graphic3d_MaterialAspect aMaterial,
const Aspect_TypeOfFacingModel  aModel = Aspect_TOFM_BOTH_SIDE 
)
void Prs3d_ShadingAspect::SetTransparency ( const Standard_Real  aValue,
const Aspect_TypeOfFacingModel  aModel = Aspect_TOFM_BOTH_SIDE 
)
Standard_Real Prs3d_ShadingAspect::Transparency ( const Aspect_TypeOfFacingModel  aModel = Aspect_TOFM_FRONT_SIDE) const

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines