#include <Prs3d_ShadingAspect.hxx>
Inheritance diagram for Prs3d_ShadingAspect:

Public Member Functions | |
| Standard_EXPORT | Prs3d_ShadingAspect () |
| Constructs an empty framework to display shading. . | |
| Standard_EXPORT void | SetColor (const Quantity_Color &aColor, const Aspect_TypeOfFacingModel aModel=Aspect_TOFM_BOTH_SIDE) |
| Change the polygons interior color and material ambient color. . | |
| Standard_EXPORT void | SetColor (const Quantity_NameOfColor aColor, const Aspect_TypeOfFacingModel aModel=Aspect_TOFM_BOTH_SIDE) |
| Change the polygons interior color and material ambient color. . | |
| Standard_EXPORT void | SetMaterial (const Graphic3d_MaterialAspect &aMaterial, const Aspect_TypeOfFacingModel aModel=Aspect_TOFM_BOTH_SIDE) |
| Change the polygons material aspect. . | |
| Standard_EXPORT void | SetMaterial (const Graphic3d_NameOfMaterial aMaterial, const Aspect_TypeOfFacingModel aModel=Aspect_TOFM_BOTH_SIDE) |
| Standard_EXPORT 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) . | |
| Standard_EXPORT void | SetAspect (const Handle(Graphic3d_AspectFillArea3d)&Asp) |
| Change the polygons aspect properties. . | |
| Standard_EXPORT Quantity_Color | Color (const Aspect_TypeOfFacingModel aModel=Aspect_TOFM_FRONT_SIDE) const |
| Returns the polygons color. . | |
| Standard_EXPORT Graphic3d_MaterialAspect | Material (const Aspect_TypeOfFacingModel aModel=Aspect_TOFM_FRONT_SIDE) const |
| Returns the polygons material aspect. . | |
| Standard_EXPORT Standard_Real | Transparency (const Aspect_TypeOfFacingModel aModel=Aspect_TOFM_FRONT_SIDE) const |
| Returns the polygons transparency value. . | |
| Standard_EXPORT Handle_Graphic3d_AspectFillArea3d | Aspect () const |
| Returns the polygons aspect properties. . | |
| Standard_EXPORT const | Handle (Standard_Type)&DynamicType() const |
Private Attributes | |
| Handle_Graphic3d_AspectFillArea3d | myAspect |
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from Prs3d_BasicAspect. |
|
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
1.4.1