Open CASCADE Technology  6.9.0
Public Member Functions | Protected Member Functions

Aspect_AspectFillArea Class Reference

Group of attributes for the FACE primitives. The attributes are: More...

#include <Aspect_AspectFillArea.hxx>

Inheritance diagram for Aspect_AspectFillArea:
Inheritance graph
[legend]

Public Member Functions

void SetEdgeColor (const Quantity_Color &AColor)
 Modifies the colour of the edge of the face. More...
 
void SetEdgeLineType (const Aspect_TypeOfLine AType)
 Modifies the edge line type. More...
 
void SetEdgeWidth (const Standard_Real AWidth)
 Modifies the edge thickness. More...
 
void SetHatchStyle (const Aspect_HatchStyle AStyle)
 Modifies the hatch type used when InteriorStyle is IS_HATCH. More...
 
void SetInteriorColor (const Quantity_Color &AColor)
 Modifies the colour of the interior of the face. More...
 
void SetBackInteriorColor (const Quantity_Color &color)
 Modifies the colour of the interior of the back face. More...
 
void SetInteriorStyle (const Aspect_InteriorStyle AStyle)
 Modifies the interior type used for rendering. More...
 
Aspect_HatchStyle HatchStyle () const
 Returns the hatch type used when InteriorStyle is IS_HATCH. More...
 
void Values (Aspect_InteriorStyle &AStyle, Quantity_Color &AIntColor, Quantity_Color &AEdgeColor, Aspect_TypeOfLine &AType, Standard_Real &AWidth) const
 
void Values (Aspect_InteriorStyle &AStyle, Quantity_Color &AIntColor, Quantity_Color &BackIntColor, Quantity_Color &AEdgeColor, Aspect_TypeOfLine &AType, Standard_Real &AWidth) const
 Returns the current values of the <me> group. More...
 
- Public Member Functions inherited from MMgt_TShared
virtual void Delete () const
 Memory deallocator for transient classes. More...
 
- Public Member Functions inherited from Standard_Transient
 Standard_Transient ()
 Empty constructor. More...
 
 Standard_Transient (const Standard_Transient &)
 Copy constructor – does nothing. More...
 
Standard_Transientoperator= (const Standard_Transient &)
 Assignment operator, needed to avoid copying reference counter. More...
 
virtual ~Standard_Transient ()
 Destructor must be virtual. More...
 
virtual const
Handle_Standard_Type & 
DynamicType () const
 Returns a type information object about this object. More...
 
Standard_Boolean IsInstance (const Handle_Standard_Type &theType) const
 Returns a true value if this is an instance of Type. More...
 
Standard_Boolean IsInstance (const Standard_CString theTypeName) const
 Returns a true value if this is an instance of TypeName. More...
 
Standard_Boolean IsKind (const Handle_Standard_Type &theType) const
 Returns true if this is an instance of Type or an instance of any class that inherits from Type. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More...
 
Standard_Boolean IsKind (const Standard_CString theTypeName) const
 Returns true if this is an instance of TypeName or an instance of any class that inherits from TypeName. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More...
 
virtual Handle_Standard_Transient This () const
 Returns a Handle which references this object. Must never be called to objects created in stack. More...
 
Standard_Integer GetRefCount () const
 Get the reference counter of this object. More...
 

Protected Member Functions

 Aspect_AspectFillArea ()
 Initialise the constructor of Graphic3d_AspectFillArea3d. More...
 
 Aspect_AspectFillArea (const Aspect_InteriorStyle InteriorStyle, const Quantity_Color &InteriorColor, const Quantity_Color &EdgeColor, const Aspect_TypeOfLine EdgeLineType, const Standard_Real EdgeLineWidth)
 Initialise the values for the constructor of Graphic3d_AspectFillArea3d. More...
 

Detailed Description

Group of attributes for the FACE primitives. The attributes are:

Constructor & Destructor Documentation

Aspect_AspectFillArea::Aspect_AspectFillArea ( )
protected

Initialise the constructor of Graphic3d_AspectFillArea3d.

default values :

InteriorStyle = Aspect_IS_EMPTY; InteriorColor = Quantity_NOC_CYAN1; EdgeColor = Quantity_NOC_WHITE; EdgeType = Aspect_TOL_SOLID; EdgeWidth = 1.0; HatchStyle = Aspect_HS_VERTICAL;

Aspect_AspectFillArea::Aspect_AspectFillArea ( const Aspect_InteriorStyle  InteriorStyle,
const Quantity_Color InteriorColor,
const Quantity_Color EdgeColor,
const Aspect_TypeOfLine  EdgeLineType,
const Standard_Real  EdgeLineWidth 
)
protected

Initialise the values for the constructor of Graphic3d_AspectFillArea3d.

InteriorStyle : IS_EMPTY no interior. IS_HOLLOW display the boundaries of the surface. IS_HATCH display hatched with a hatch style. IS_SOLID display the interior entirely filled.

EdgeLineType : TOL_SOLID continuous TOL_DASH dashed TOL_DOT dotted TOL_DOTDASH mixed

default values : HatchStyle = Aspect_HS_VERTICAL;

Warning: Raises AspectFillAreaDefinitionError if the width is a negative value.

Member Function Documentation

Aspect_HatchStyle Aspect_AspectFillArea::HatchStyle ( ) const

Returns the hatch type used when InteriorStyle is IS_HATCH.

void Aspect_AspectFillArea::SetBackInteriorColor ( const Quantity_Color color)

Modifies the colour of the interior of the back face.

void Aspect_AspectFillArea::SetEdgeColor ( const Quantity_Color AColor)

Modifies the colour of the edge of the face.

void Aspect_AspectFillArea::SetEdgeLineType ( const Aspect_TypeOfLine  AType)

Modifies the edge line type.

void Aspect_AspectFillArea::SetEdgeWidth ( const Standard_Real  AWidth)

Modifies the edge thickness.

Category: Methods to modify the class definition

Warning: Raises AspectFillAreaDefinitionError if the width is a negative value.

void Aspect_AspectFillArea::SetHatchStyle ( const Aspect_HatchStyle  AStyle)

Modifies the hatch type used when InteriorStyle is IS_HATCH.

void Aspect_AspectFillArea::SetInteriorColor ( const Quantity_Color AColor)

Modifies the colour of the interior of the face.

void Aspect_AspectFillArea::SetInteriorStyle ( const Aspect_InteriorStyle  AStyle)

Modifies the interior type used for rendering.

InteriorStyle : IS_EMPTY no interior IS_HOLLOW display the boundaries of the surface IS_HATCH display hatching IS_SOLID display interior entirely filled

void Aspect_AspectFillArea::Values ( Aspect_InteriorStyle AStyle,
Quantity_Color AIntColor,
Quantity_Color AEdgeColor,
Aspect_TypeOfLine AType,
Standard_Real AWidth 
) const
void Aspect_AspectFillArea::Values ( Aspect_InteriorStyle AStyle,
Quantity_Color AIntColor,
Quantity_Color BackIntColor,
Quantity_Color AEdgeColor,
Aspect_TypeOfLine AType,
Standard_Real AWidth 
) const

Returns the current values of the <me> group.


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