|
Open CASCADE Technology
6.7.1
|
Customizable properties. More...
#include <AIS_ColoredShape.hxx>

Public Member Functions | |
| myHasOwnWidth (Standard_False) | |
| Standard_Boolean | HasOwnColor () const |
| void | UnsetOwnColor () |
| void | SetOwnColor (const Quantity_Color &) |
| Standard_Boolean | HasOwnWidth () const |
| void | UnsetOwnWidth () |
| void | SetOwnWidth (const Standard_Real) |
Public Member Functions inherited from AIS_Drawer | |
| AIS_Drawer () | |
| Constructs an empty attribute management framework. More... | |
| Aspect_TypeOfDeflection | TypeOfDeflection () const |
| Returns the type of chordal deflection: relative to the size of the object or absolute. More... | |
| Quantity_Length | MaximalChordialDeviation () const |
Returns the maximal chordal deviation. The default <br> value is 0.1. Drawings of curves or patches are | |
| void | SetDeviationCoefficient () |
| Sets the hasOwnDeviationCoefficient flag to Standard_False More... | |
| void | SetHLRDeviationCoefficient () |
Sets the deviation coefficient aCoefficient for <br> removal of hidden lines created by different | |
| void | SetDeviationAngle () |
| Sets the hasOwnDeviationAngle flag to Standard_False More... | |
| void | SetHLRAngle () |
Sets the angle of maximum chordal deviation for <br> removal of hidden lines created by different viewpoints | |
| void | SetDeviationCoefficient (const Standard_Real aCoefficient) |
| Sets the hasOwnDeviationCoefficient flag to Standard_True, sets myOwnDeviationCoefficient and myPreviousDeviationCoefficient More... | |
| void | SetHLRDeviationCoefficient (const Standard_Real aCoefficient) |
| Sets the hasOwnHLRDeviationCoefficient flag to Standard_True, sets myOwnHLRDeviationCoefficient and myPreviousHLRDeviationCoefficient More... | |
| virtual void | SetDeviationAngle (const Standard_Real anAngle) |
| Sets the hasOwnDeviationAngle flag to Standard_True, sets myOwnDeviationAngle and myPreviousDeviationAngle More... | |
| void | SetHLRAngle (const Standard_Real anAngle) |
| Sets the hasOwnHLRDeviationAngle flag to Standard_True, sets myOwnHLRDeviationAngle and myPreviousHLRDeviationAngle More... | |
| virtual void | SetTypeOfHLR (const Prs3d_TypeOfHLR theTypeOfHLR) |
| Sets the type of HLR algorithm used by drawer's interactive objects More... | |
| virtual Prs3d_TypeOfHLR | TypeOfHLR () const |
| Returns the type of HLR algorithm currently in use. More... | |
| Standard_Real | DeviationCoefficient () const |
Drawings of curves or patches are made with respect <br> to a maximal chordal deviation. A Deviation coefficient | |
| Standard_Real | HLRDeviationCoefficient () const |
Returns the real number value of the HLR deviation <br> coefficient in this framework, if the flag | |
| virtual Standard_Real | DeviationAngle () const |
| Returns myOwnDeviationAngle if hasOwnDeviationAngle is True else gets myDeviationAngle field from Prs3d_Drawer More... | |
| Standard_Real | HLRAngle () const |
Returns the real number value of the deviation angle <br> in hidden line removal views. The default value is 20*PI/180. | |
| Standard_Real | PreviousDeviationCoefficient () const |
Saves the previous value used for the chordal <br> deviation coefficient. The default value is 0.1. | |
| Standard_Real | PreviousHLRDeviationCoefficient () const |
| returns myPreviousHLRDeviationCoefficient More... | |
| Standard_Real | PreviousDeviationAngle () const |
| returns myPreviousDeviationAngle More... | |
| Standard_Real | PreviousHLRDeviationAngle () const |
| returns myPreviousHLRDeviationAngle More... | |
| Standard_Boolean | IsOwnDeviationCoefficient () const |
Returns true if the there is a local setting for deviation <br> coefficient in this framework for a specific interactive object. | |
| Standard_Boolean | IsOwnHLRDeviationCoefficient () const |
Returns true if the there is a setting for HLR deviation <br> coefficient in this framework for a specific interactive object. | |
| Standard_Boolean | IsOwnDeviationAngle () const |
Returns true if the there is a local setting for deviation <br> angle in this framework for a specific interactive object. | |
| Standard_Boolean | IsOwnHLRDeviationAngle () const |
Returns true if the there is a setting for HLR deviation <br> angle in this framework for a specific interactive object. | |
| Standard_Integer | Discretisation () const |
Draws algorithms using discretisation, a default <br> number of points has been set to 17. You can use the | |
| Standard_Real | MaximalParameterValue () const |
| Sets the maximum value allowed for the first and last parameters of an infinite curve. By default, this value is 500000. More... | |
| Standard_Boolean | IsoOnPlane () const |
| returns True if the drawing of isos on planes is enabled. More... | |
| Handle_Prs3d_IsoAspect | UIsoAspect () |
Defines the attributes which are used when drawing an <br>
U isoparametric curve of a face. Defines the number <br>
of U isoparametric curves to be drawn for a single face. <br>
The LineAspect for U isoparametric lines can be edited <br>
(methods SetColor, SetTypeOfLine, SetWidth, SetNumber) <br>
The default values are: <br>
COLOR : Quantity_NOC_GRAY75 <br>
TYPE OF LINE: Aspect_TOL_SOLID <br>
WIDTH : 0.5 <br>
These attributes are used by the following algorithms: | |
| Handle_Prs3d_IsoAspect | VIsoAspect () |
| Defines the attributes which are used when drawing an V isoparametric curve of a face. Defines the number of V isoparametric curves to be drawn for a single face. The LineAspect for V isoparametric lines can be edited (methods SetColor, SetTypeOfLine, SetWidth, SetNumber) The default values are: COLOR : Quantity_NOC_GRAY82 TYPE OF LINE: Aspect_TOL_SOLID WIDTH : 0.5 These attributes are used by the following algorithms: Prs3d_WFDeflectionSurface Prs3d_WFDeflectionRestrictedFace More... | |
| Handle_Prs3d_LineAspect | FreeBoundaryAspect () |
Returns a link with <br> Prs3d_Drawer_FreeBoundaryAspect. Stores the | |
| Standard_Boolean | FreeBoundaryDraw () const |
| returns True if the drawing of the free boundaries is enabled. More... | |
| Handle_Prs3d_LineAspect | WireAspect () |
Returns a link with Prs3d_Drawer_WireAspect. <br> This method provides wire aspect settings. | |
| Standard_Boolean | HasLineAspect () const |
Returns true if the Interactive Object has a line <br> visualization aspect. | |
| Standard_Boolean | HasWireAspect () const |
| Returns true if the Drawer has a wire aspect setting active. More... | |
| Standard_Boolean | WireDraw () const |
Returns a link with Prs3d_Drawer_WireDraw. This <br> method returns true if drawing of wires is enabled. | |
| Handle_Prs3d_LineAspect | UnFreeBoundaryAspect () |
Returns a link with <br> Prs3d_Drawer_UnFreeBoundaryAspect, which | |
| Standard_Boolean | UnFreeBoundaryDraw () const |
Returns True if the drawing of the shared boundaries <br> is enabled. True is the default setting. | |
| Handle_Prs3d_LineAspect | LineAspect () |
Returns a link with Prs3d_Drawer_LineAspect, <br> which provides settings for line aspects. These | |
| Standard_Boolean | HasTextAspect () const |
| Handle_Prs3d_TextAspect | TextAspect () |
Returns settings for text aspect. <br> These settings can be edited. The default value is: | |
| Standard_Boolean | LineArrowDraw () const |
Returns True if the drawing of an arrow at the end of <br> each line is enabled. The default setting is False. | |
| Handle_Prs3d_ArrowAspect | ArrowAspect () |
| Returns the attributes for display of arrows. More... | |
| Handle_Prs3d_PointAspect | PointAspect () |
Returns the point aspect setting. The default values <br> are: Color: Quantity_NOC_YELLOW | |
| Standard_Boolean | HasPointAspect () const |
| Returns true if the Drawer has a point aspect setting active. More... | |
| Handle_Prs3d_ShadingAspect | ShadingAspect () |
| Returns a link with Prs3d_Drawer_ShadingAspect, which provides settings for shading aspects. These settings can be edited. The default values are: Color: Quantity_NOC_YELLOW Material: Graphic3d_NOM_BRASS hading aspect is obtained through decomposition of 3D faces into triangles, each side of each triangle being a chord of the corresponding curved edge in the face. Reflection of light in each projector perspective is then calculated for each of the resultant triangular planes. More... | |
| Standard_Boolean | HasShadingAspect () const |
| Returns True if the Drawer has shading aspect active. More... | |
| Standard_Boolean | ShadingAspectGlobal () const |
| Provides the attributes for hidden line removal. More... | |
| Standard_Boolean | DrawHiddenLine () const |
| Returns Standard_True if the hidden lines are to be drawn. By default the hidden lines are not drawn. More... | |
| Handle_Prs3d_LineAspect | HiddenLineAspect () |
Returns a link with <br> Prs3d_Drawer_HiddenLineAspect, which provides | |
| Handle_Prs3d_LineAspect | SeenLineAspect () |
Returns a link with <br> Prs3d_Drawer_SeenLineAspect, which provides | |
| Standard_Boolean | HasPlaneAspect () const |
| Handle_Prs3d_PlaneAspect | PlaneAspect () |
| Returns a link with Prs3d_Drawer_PlaneAspect. This method provides settings for the appearance of planes. More... | |
| Handle_Prs3d_LineAspect | VectorAspect () |
Returns a link with Prs3d_Drawer_VectorAspect, <br> which provides settings for the appearance of vectors. | |
| void | SetFaceBoundaryDraw (const Standard_Boolean theIsEnabled) |
Enables or disables drawing of face boundaries for shading presentations. <br> The method sets drawing flag owned by the drawer that will be used during | |
| Standard_Boolean | IsFaceBoundaryDraw () const |
| Checks whether the drawing of face boundaries is enabled or not. More... | |
| void | SetFaceBoundaryAspect (const Handle< Prs3d_LineAspect > &theAspect) |
Sets line aspect for face boundaries. <br> The method sets line aspect owned by the drawer that will be used during | |
| Handle_Prs3d_LineAspect | FaceBoundaryAspect () |
| Returns line aspect of face boundaries. More... | |
| Standard_Boolean | IsOwnFaceBoundaryDraw () const |
Returns true if the drawer has its own attribute for <br> "draw face boundaries" flag that overrides the one in the link. | |
| Standard_Boolean | IsOwnFaceBoundaryAspect () const |
Returns true if the drawer has its own attribute for <br> face boundaries aspect that overrides the one in the link. | |
| Standard_Boolean | HasDatumAspect () const |
| Handle_Prs3d_DatumAspect | DatumAspect () |
Returns a link with Prs3d_Drawer_DatumAspect, <br> which provides settings for the appearance of datums. | |
| Handle_Prs3d_DimensionAspect | DimensionAspect () |
Returns a link with Prs3d_Drawer_DimensionAspect, <br> which provides settings for the appearance of dimensions. | |
| Standard_Boolean | HasDimensionAspect () const |
| void | SetDimLengthModelUnits (const TCollection_AsciiString &theUnits) |
| Sets dimension length model units for computing of dimension presentation. More... | |
| void | SetDimAngleModelUnits (const TCollection_AsciiString &theUnits) |
| Sets dimension angle model units for computing of dimension presentation. More... | |
| const TCollection_AsciiString & | DimAngleModelUnits () const |
| Returns angle model units for the dimension presentation. More... | |
| const TCollection_AsciiString & | DimLengthModelUnits () const |
| Returns length model units for the dimension presentation. More... | |
| void | SetDimLengthDisplayUnits (const TCollection_AsciiString &theUnits) |
| Sets length units in which value for dimension presentation is displayed. More... | |
| void | SetDimAngleDisplayUnits (const TCollection_AsciiString &theUnits) |
| Sets angle units in which value for dimension presentation is displayed. More... | |
| const TCollection_AsciiString & | DimLengthDisplayUnits () const |
| Returns length units in which dimension presentation is displayed. More... | |
| const TCollection_AsciiString & | DimAngleDisplayUnits () const |
| Returns angle units in which dimension presentation is displayed. More... | |
| Handle_Prs3d_LineAspect | SectionAspect () |
Returns a link with Prs3d_Drawer_SectionAspect, <br> which provides settings for wires which highlight sections. | |
| const Handle_Prs3d_Drawer & | Link () |
| Standard_Boolean | HasLink () const |
| void | Link (const Handle< Prs3d_Drawer > &aDrawer) |
| virtual void | ClearLocalAttributes () |
| Removes attributes stored in a Local Context. More... | |
| Standard_Boolean | WasLastLocal () const |
| Returns true if the last called attribute was local; false if it was global. More... | |
| Standard_Boolean | HasLocalAttributes () const |
| Returns true if a Local Context has stored attributes for Interactive Objects. More... | |
Public Member Functions inherited from Prs3d_Drawer | |
| Prs3d_Drawer () | |
| virtual void | SetTypeOfDeflection (const Aspect_TypeOfDeflection aTypeOfDeflection) |
Sets the type of chordal deflection. <br> This indicates whether the deflection value is absolute | |
| virtual void | SetMaximalChordialDeviation (const Quantity_Length aChordialDeviation) |
Defines the maximal chordial deviation when drawing any curve; <br>
Even if the type of deviation is set to TOD_Relative, <br>
this value is used by: <br>
| |
| virtual void | SetDiscretisation (const Standard_Integer d) |
| Sets the discretisation parameter d. More... | |
| virtual void | SetMaximalParameterValue (const Standard_Real Value) |
| defines the maximum value allowed for the first and last parameters of an infinite curve. Default value: 500. More... | |
| virtual void | SetIsoOnPlane (const Standard_Boolean OnOff) |
Sets IsoOnPlane on or off by setting the parameter <br> OnOff to true or false. | |
| virtual void | SetUIsoAspect (const Handle< Prs3d_IsoAspect > &anAspect) |
| virtual void | SetVIsoAspect (const Handle< Prs3d_IsoAspect > &anAspect) |
| Sets the appearance of V isoparameters - anAspect. More... | |
| virtual void | SetFreeBoundaryAspect (const Handle< Prs3d_LineAspect > &anAspect) |
| Sets the parameter anAspect for the display of free boundaries. More... | |
| virtual void | SetFreeBoundaryDraw (const Standard_Boolean OnOff) |
Sets free boundary drawing on or off by setting the <br> parameter OnOff to true or false. | |
| virtual void | SetWireAspect (const Handle< Prs3d_LineAspect > &anAspect) |
| Sets the parameter anAspect for display of wires. More... | |
| virtual void | SetWireDraw (const Standard_Boolean OnOff) |
Sets WireDraw on or off by setting the parameter <br> OnOff to true or false. | |
| virtual void | SetUnFreeBoundaryAspect (const Handle< Prs3d_LineAspect > &anAspect) |
| Sets the parameter anAspect for the display of shared boundaries. More... | |
| virtual void | SetUnFreeBoundaryDraw (const Standard_Boolean OnOff) |
Sets FreeBoundaryDraw on or off by setting the <br> parameter OnOff to true or false. | |
| virtual void | SetLineAspect (const Handle< Prs3d_LineAspect > &anAspect) |
| Sets the parameter anAspect for display attributes of lines. More... | |
| virtual void | SetTextAspect (const Handle< Prs3d_TextAspect > &anAspect) |
| Sets the parameter anAspect for display attributes of text. More... | |
| virtual void | SetLineArrowDraw (const Standard_Boolean OnOff) |
| enables the drawing of an arrow at the end of each line. By default the arrows are not drawn. More... | |
| virtual void | SetArrowAspect (const Handle< Prs3d_ArrowAspect > &anAspect) |
| Sets the parameter anAspect for display attributes of arrows. More... | |
| virtual void | SetPointAspect (const Handle< Prs3d_PointAspect > &anAspect) |
| Sets the parameter anAspect for display attributes of points More... | |
| virtual void | SetShadingAspect (const Handle< Prs3d_ShadingAspect > &anAspect) |
| Sets the parameter anAspect for display attributes of shading. More... | |
| virtual void | SetShadingAspectGlobal (const Standard_Boolean aValue) |
| indicates that the ShadingAspect will be apply to the whole presentation. This allows to modify the aspect without recomputing the content of the presentation. More... | |
| virtual void | EnableDrawHiddenLine () |
| Enables the DrawHiddenLine function. More... | |
| virtual void | DisableDrawHiddenLine () |
| Disables the DrawHiddenLine function. More... | |
| virtual void | SetHiddenLineAspect (const Handle< Prs3d_LineAspect > &anAspect) |
Sets the parameter anAspect for the display of <br> hidden lines in hidden line removal mode. | |
| virtual void | SetSeenLineAspect (const Handle< Prs3d_LineAspect > &anAspect) |
Sets the parameter anAspect for the display of seen <br> lines in hidden line removal mode. | |
| virtual void | SetPlaneAspect (const Handle< Prs3d_PlaneAspect > &anAspect) |
| Sets the parameter anAspect for the display of planes. More... | |
| virtual void | SetVectorAspect (const Handle< Prs3d_LineAspect > &anAspect) |
| Sets the modality anAspect for the display of vectors. More... | |
| virtual void | SetDatumAspect (const Handle< Prs3d_DatumAspect > &anAspect) |
| Sets the modality anAspect for the display of datums. More... | |
| virtual void | SetDimensionAspect (const Handle< Prs3d_DimensionAspect > &theAspect) |
| Sets the settings for the appearance of dimensions. More... | |
| virtual void | SetSectionAspect (const Handle< Prs3d_LineAspect > &theAspect) |
| Sets the parameter theAspect for display attributes of sections. 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_Transient & | operator= (const Standard_Transient &) |
| Assignment operator, needed to avoid copying reference counter. More... | |
| virtual | ~Standard_Transient () |
| Destructor must be virtual. More... | |
| virtual void | ShallowDump (Standard_OStream &) const |
| 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... | |
Data Fields | |
| __pad0__: myHasOwnColor (Standard_False) | |
list of overridden properties | |
| Standard_Boolean | myHasOwnColor |
| Standard_Boolean | myHasOwnWidth |
| DEFINE_STANDARD_RTTI (AIS_ColoredDrawer) | |
Customizable properties.
| AIS_ColoredDrawer::DEFINE_STANDARD_RTTI | ( | AIS_ColoredDrawer | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| AIS_ColoredDrawer::__pad0__ |
| Standard_Boolean AIS_ColoredDrawer::myHasOwnColor |
| Standard_Boolean AIS_ColoredDrawer::myHasOwnWidth |
1.8.5