OCCT3D OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    Prs3d_Drawer Class Reference

    A graphic attribute manager which governs how objects such as color, width, line thickness and deflection are displayed. A drawer includes an instance of the Aspect classes with particular default values. More...

    #include <Prs3d_Drawer.hxx>

    Inheritance diagram for Prs3d_Drawer:

    Public Member Functions

     Prs3d_Drawer ()
     Default constructor.
    void SetupOwnDefaults ()
     Setup all own aspects with default values.
    void SetTypeOfDeflection (const Aspect_TypeOfDeflection theTypeOfDeflection)
     Sets the type of chordal deflection. This indicates whether the deflection value is absolute or relative to the size of the object.
    Aspect_TypeOfDeflection TypeOfDeflection () const
     Returns the type of chordal deflection. This indicates whether the deflection value is absolute or relative to the size of the object.
    bool HasOwnTypeOfDeflection () const
     Returns true if the drawer has a type of deflection setting active.
    void UnsetOwnTypeOfDeflection ()
     Resets HasOwnTypeOfDeflection() flag, e.g. undoes SetTypeOfDeflection().
    void SetMaximalChordialDeviation (const double theChordialDeviation)
     Defines the maximal chordial deviation when drawing any curve. Even if the type of deviation is set to TOD_Relative, this value is used by: Prs3d_DeflectionCurve Prs3d_WFDeflectionSurface Prs3d_WFDeflectionRestrictedFace.
    double MaximalChordialDeviation () const
     Returns the maximal chordal deviation. The default value is 0.0001. Drawings of curves or patches are made with respect to an absolute maximal chordal deviation.
    bool HasOwnMaximalChordialDeviation () const
     Returns true if the drawer has a maximal chordial deviation setting active.
    void UnsetOwnMaximalChordialDeviation ()
     Resets HasOwnMaximalChordialDeviation() flag, e.g. undoes SetMaximalChordialDeviation().
    void SetTypeOfHLR (const Prs3d_TypeOfHLR theTypeOfHLR)
     Sets the type of HLR algorithm used by drawer's interactive objects.
    Prs3d_TypeOfHLR TypeOfHLR () const
     Returns the type of HLR algorithm currently in use.
    bool HasOwnTypeOfHLR () const
     Returns true if the type of HLR is not equal to Prs3d_TOH_NotSet.
    void SetMaximalParameterValue (const double theValue)
     Defines the maximum value allowed for the first and last parameters of an infinite curve.
    double MaximalParameterValue () const
     Sets the maximum value allowed for the first and last parameters of an infinite curve. By default, this value is 500000.
    bool HasOwnMaximalParameterValue () const
     Returns true if the drawer has a maximum value allowed for the first and last parameters of an infinite curve setting active.
    void UnsetOwnMaximalParameterValue ()
     Resets HasOwnMaximalParameterValue() flag, e.g. undoes SetMaximalParameterValue().
    void SetIsoOnPlane (const bool theIsEnabled)
     Sets IsoOnPlane on or off by setting the parameter theIsEnabled to true or false.
    bool IsoOnPlane () const
     Returns True if the drawing of isos on planes is enabled.
    bool HasOwnIsoOnPlane () const
     Returns true if the drawer has IsoOnPlane setting active.
    void UnsetOwnIsoOnPlane ()
     Resets HasOwnIsoOnPlane() flag, e.g. undoes SetIsoOnPlane().
    bool IsoOnTriangulation () const
     Returns True if the drawing of isos on triangulation is enabled.
    bool HasOwnIsoOnTriangulation () const
     Returns true if the drawer has IsoOnTriangulation setting active.
    void UnsetOwnIsoOnTriangulation ()
     Resets HasOwnIsoOnTriangulation() flag, e.g. undoes SetIsoOnTriangulation().
    void SetIsoOnTriangulation (const bool theToEnable)
     Enables or disables isolines on triangulation by setting the parameter theIsEnabled to true or false.
    void SetDiscretisation (const int theValue)
     Sets the discretisation parameter theValue.
    int Discretisation () const
     Returns the discretisation setting.
    bool HasOwnDiscretisation () const
     Returns true if the drawer has discretisation setting active.
    void UnsetOwnDiscretisation ()
     Resets HasOwnDiscretisation() flag, e.g. undoes SetDiscretisation().
    void SetDeviationCoefficient (const double theCoefficient)
     Sets the deviation coefficient theCoefficient. Also sets the hasOwnDeviationCoefficient flag to true and myPreviousDeviationCoefficient.
    double DeviationCoefficient () const
     Returns the deviation coefficient. Drawings of curves or patches are made with respect to a maximal chordal deviation. A Deviation coefficient is used in the shading display mode. The shape is seen decomposed into triangles. These are used to calculate reflection of light from the surface of the object. The triangles are formed from chords of the curves in the shape. The deviation coefficient gives the highest value of the angle with which a chord can deviate from a tangent to a curve. If this limit is reached, a new triangle is begun. This deviation is absolute and is set through the method: SetMaximalChordialDeviation. The default value is 0.001. In drawing shapes, however, you are allowed to ask for a relative deviation. This deviation will be: SizeOfObject * DeviationCoefficient.
    void SetDeviationCoefficient ()
     Resets HasOwnDeviationCoefficient() flag, e.g. undoes previous SetDeviationCoefficient().
    bool HasOwnDeviationCoefficient () const
     Returns true if there is a local setting for deviation coefficient in this framework for a specific interactive object.
    double PreviousDeviationCoefficient () const
     Saves the previous value used for the chordal deviation coefficient.
    void UpdatePreviousDeviationCoefficient ()
     Updates the previous value used for the chordal deviation coefficient to the current state.
    void SetDeviationAngle (const double theAngle)
     Sets the deviation angle theAngle. Also sets the hasOwnDeviationAngle flag to true, and myPreviousDeviationAngle.
    double DeviationAngle () const
     Returns the value for deviation angle in radians, 20 * M_PI / 180 by default.
    void SetDeviationAngle ()
     Resets HasOwnDeviationAngle() flag, e.g. undoes previous SetDeviationAngle().
    bool HasOwnDeviationAngle () const
     Returns true if there is a local setting for deviation angle in this framework for a specific interactive object.
    double PreviousDeviationAngle () const
     Returns the previous deviation angle.
    void UpdatePreviousDeviationAngle ()
     Updates the previous deviation angle to the current value.
    void SetAutoTriangulation (const bool theIsEnabled)
     Sets IsAutoTriangulated on or off by setting the parameter theIsEnabled to true or false. If this flag is True automatic re-triangulation with deflection-check logic will be applied. Else this feature will be disable and triangulation is expected to be computed by application itself and no shading presentation at all if unavailable.
    bool IsAutoTriangulation () const
     Returns True if automatic triangulation is enabled.
    bool HasOwnIsAutoTriangulation () const
     Returns true if the drawer has IsoOnPlane setting active.
    void UnsetOwnIsAutoTriangulation ()
     Resets HasOwnIsAutoTriangulation() flag, e.g. undoes SetAutoTriangulation().
    const occ::handle< Prs3d_IsoAspect > & UIsoAspect () const
     Defines own attributes for drawing an U isoparametric curve of a face, settings from linked Drawer or NULL if neither was set.
    void SetUIsoAspect (const occ::handle< Prs3d_IsoAspect > &theAspect)
    bool HasOwnUIsoAspect () const
     Returns true if the drawer has its own attribute for UIso aspect that overrides the one in the link.
    const occ::handle< Prs3d_IsoAspect > & VIsoAspect () const
     Defines own attributes for drawing an V isoparametric curve of a face, settings from linked Drawer or NULL if neither was set.
    void SetVIsoAspect (const occ::handle< Prs3d_IsoAspect > &theAspect)
     Sets the appearance of V isoparameters - theAspect.
    bool HasOwnVIsoAspect () const
     Returns true if the drawer has its own attribute for VIso aspect that overrides the one in the link.
    const occ::handle< Prs3d_LineAspect > & WireAspect () const
     Returns own wire aspect settings, settings from linked Drawer or NULL if neither was set. These attributes are used by the algorithm Prs3d_WFShape.
    void SetWireAspect (const occ::handle< Prs3d_LineAspect > &theAspect)
     Sets the parameter theAspect for display of wires.
    bool HasOwnWireAspect () const
     Returns true if the drawer has its own attribute for wire aspect that overrides the one in the link.
    void SetWireDraw (const bool theIsEnabled)
     Sets WireDraw on or off by setting the parameter theIsEnabled to true or false.
    bool WireDraw () const
     Returns True if the drawing of the wire is enabled.
    bool HasOwnWireDraw () const
     Returns true if the drawer has its own attribute for "draw wires" flag that overrides the one in the link.
    void UnsetOwnWireDraw ()
     Resets HasOwnWireDraw() flag, e.g. undoes SetWireDraw().
    const occ::handle< Prs3d_PointAspect > & PointAspect () const
     Returns own point aspect setting, settings from linked Drawer or NULL if neither was set. These attributes are used by the algorithms Prs3d_Point.
    void SetPointAspect (const occ::handle< Prs3d_PointAspect > &theAspect)
     Sets the parameter theAspect for display attributes of points.
    bool HasOwnPointAspect () const
     Returns true if the drawer has its own attribute for point aspect that overrides the one in the link.
    bool SetupOwnPointAspect (const occ::handle< Prs3d_Drawer > &theDefaults=occ::handle< Prs3d_Drawer >())
     Sets own point aspect, which is a yellow Aspect_TOM_PLUS marker by default. Returns FALSE if the drawer already has its own attribute for point aspect.
    const occ::handle< Prs3d_LineAspect > & LineAspect () const
     Returns own settings for line aspects, settings from linked Drawer or NULL if neither was set. These attributes are used by the following algorithms: Prs3d_Curve Prs3d_Line Prs3d_HLRShape.
    void SetLineAspect (const occ::handle< Prs3d_LineAspect > &theAspect)
     Sets the parameter theAspect for display attributes of lines.
    bool HasOwnLineAspect () const
     Returns true if the drawer has its own attribute for line aspect that overrides the one in the link.
    bool SetOwnLineAspects (const occ::handle< Prs3d_Drawer > &theDefaults=occ::handle< Prs3d_Drawer >())
     Sets own line aspects, which are single U and single V gray75 solid isolines (::UIsoAspect(), ::VIsoAspect()), red wire (::WireAspect()), yellow line (::LineAspect()), yellow seen line (::SeenLineAspect()), dashed yellow hidden line (::HiddenLineAspect()), green free boundary (::FreeBoundaryAspect()), yellow unfree boundary (::UnFreeBoundaryAspect()). Returns FALSE if own line aspect are already set.
    bool SetOwnDatumAspects (const occ::handle< Prs3d_Drawer > &theDefaults=occ::handle< Prs3d_Drawer >())
     Sets own line aspects for datums. Returns FALSE if own line for datums are already set.
    const occ::handle< Prs3d_TextAspect > & TextAspect () const
     Returns own settings for text aspect, settings from linked Drawer or NULL if neither was set.
    void SetTextAspect (const occ::handle< Prs3d_TextAspect > &theAspect)
     Sets the parameter theAspect for display attributes of text.
    bool HasOwnTextAspect () const
     Returns true if the drawer has its own attribute for text aspect that overrides the one in the link.
    const occ::handle< Prs3d_ShadingAspect > & ShadingAspect () const
     Returns own settings for shading aspects, settings from linked Drawer or NULL if neither was set.
    void SetShadingAspect (const occ::handle< Prs3d_ShadingAspect > &theAspect)
     Sets the parameter theAspect for display attributes of shading.
    bool HasOwnShadingAspect () const
     Returns true if the drawer has its own attribute for shading aspect that overrides the one in the link.
    bool SetupOwnShadingAspect (const occ::handle< Prs3d_Drawer > &theDefaults=occ::handle< Prs3d_Drawer >())
     Sets own shading aspect, which is Graphic3d_NameOfMaterial_Brass material by default. Returns FALSE if the drawer already has its own attribute for shading aspect.
    const occ::handle< Prs3d_LineAspect > & SeenLineAspect () const
     Returns own settings for seen line aspects, settings of linked Drawer or NULL if neither was set.
    void SetSeenLineAspect (const occ::handle< Prs3d_LineAspect > &theAspect)
     Sets the parameter theAspect for the display of seen lines in hidden line removal mode.
    bool HasOwnSeenLineAspect () const
     Returns true if the drawer has its own attribute for seen line aspect that overrides the one in the link.
    const occ::handle< Prs3d_PlaneAspect > & PlaneAspect () const
     Returns own settings for the appearance of planes, settings from linked Drawer or NULL if neither was set.
    void SetPlaneAspect (const occ::handle< Prs3d_PlaneAspect > &theAspect)
     Sets the parameter theAspect for the display of planes.
    bool HasOwnPlaneAspect () const
     Returns true if the drawer has its own attribute for plane aspect that overrides the one in the link.
    const occ::handle< Prs3d_ArrowAspect > & ArrowAspect () const
     Returns own attributes for display of arrows, settings from linked Drawer or NULL if neither was set.
    void SetArrowAspect (const occ::handle< Prs3d_ArrowAspect > &theAspect)
     Sets the parameter theAspect for display attributes of arrows.
    bool HasOwnArrowAspect () const
     Returns true if the drawer has its own attribute for arrow aspect that overrides the one in the link.
    void SetLineArrowDraw (const bool theIsEnabled)
     Enables the drawing of an arrow at the end of each line. By default the arrows are not drawn.
    bool LineArrowDraw () const
     Returns True if drawing an arrow at the end of each edge is enabled and False otherwise (the default).
    bool HasOwnLineArrowDraw () const
     Returns true if the drawer has its own attribute for "draw arrow" flag that overrides the one in the link.
    void UnsetOwnLineArrowDraw ()
     Reset HasOwnLineArrowDraw() flag, e.g. undoes SetLineArrowDraw().
    const occ::handle< Prs3d_LineAspect > & HiddenLineAspect () const
     Returns own settings for hidden line aspects, settings from linked Drawer or NULL if neither was set.
    void SetHiddenLineAspect (const occ::handle< Prs3d_LineAspect > &theAspect)
     Sets the parameter theAspect for the display of hidden lines in hidden line removal mode.
    bool HasOwnHiddenLineAspect () const
     Returns true if the drawer has its own attribute for hidden lines aspect that overrides the one in the link.
    bool DrawHiddenLine () const
     Returns true if the hidden lines are to be drawn. By default the hidden lines are not drawn.
    void EnableDrawHiddenLine ()
     Enables the DrawHiddenLine function.
    void DisableDrawHiddenLine ()
     Disables the DrawHiddenLine function.
    bool HasOwnDrawHiddenLine () const
     Returns true if the drawer has its own attribute for "draw hidden lines" flag that overrides the one in the link.
    void UnsetOwnDrawHiddenLine ()
     Resets HasOwnDrawHiddenLine() flag, e.g. unsets EnableDrawHiddenLine()/DisableDrawHiddenLine().
    const occ::handle< Prs3d_LineAspect > & VectorAspect () const
     Returns own settings for the appearance of vectors, settings from linked Drawer or NULL if neither was set.
    void SetVectorAspect (const occ::handle< Prs3d_LineAspect > &theAspect)
     Sets the modality theAspect for the display of vectors.
    bool HasOwnVectorAspect () const
     Returns true if the drawer has its own attribute for vector aspect that overrides the one in the link.
    void SetVertexDrawMode (const Prs3d_VertexDrawMode theMode)
     Sets the mode of visualization of vertices of a TopoDS_Shape instance. By default, only stand-alone vertices (not belonging topologically to an edge) are drawn, that corresponds to Prs3d_VDM_Standalone mode. Switching to Prs3d_VDM_Standalone mode makes all shape's vertices visible. To inherit this parameter from the global drawer instance ("the link") when it is present, Prs3d_VDM_Inherited value should be used.
    Prs3d_VertexDrawMode VertexDrawMode () const
     Returns the current mode of visualization of vertices of a TopoDS_Shape instance.
    bool HasOwnVertexDrawMode () const
     Returns true if the vertex draw mode is not equal to Prs3d_VDM_Inherited. This means that individual vertex draw mode value (i.e. not inherited from the global drawer) is used for a specific interactive object.
    const occ::handle< Prs3d_DatumAspect > & DatumAspect () const
     Returns own settings for the appearance of datums, settings from linked Drawer or NULL if neither was set.
    void SetDatumAspect (const occ::handle< Prs3d_DatumAspect > &theAspect)
     Sets the modality theAspect for the display of datums.
    bool HasOwnDatumAspect () const
     Returns true if the drawer has its own attribute for datum aspect that overrides the one in the link.
    const occ::handle< Prs3d_LineAspect > & SectionAspect () const
     Returns own LineAspect for section wire, settings from linked Drawer or NULL if neither was set. These attributes are used by the algorithm Prs3d_WFShape.
    void SetSectionAspect (const occ::handle< Prs3d_LineAspect > &theAspect)
     Sets the parameter theAspect for display attributes of sections.
    bool HasOwnSectionAspect () const
     Returns true if the drawer has its own attribute for section aspect that overrides the one in the link.
    void SetFreeBoundaryAspect (const occ::handle< Prs3d_LineAspect > &theAspect)
     Sets the parameter theAspect for the display of free boundaries. The method sets aspect owned by the drawer that will be used during visualization instead of the one set in link.
    const occ::handle< Prs3d_LineAspect > & FreeBoundaryAspect () const
     Returns own settings for presentation of free boundaries, settings from linked Drawer or NULL if neither was set. In other words, this settings affect boundaries which are not shared. These attributes are used by the algorithm Prs3d_WFShape.
    bool HasOwnFreeBoundaryAspect () const
     Returns true if the drawer has its own attribute for free boundaries aspect that overrides the one in the link.
    void SetFreeBoundaryDraw (const bool theIsEnabled)
     Enables or disables drawing of free boundaries for shading presentations. The method sets drawing flag owned by the drawer that will be used during visualization instead of the one set in link. theIsEnabled is a boolean flag indicating whether the free boundaries should be drawn or not.
    bool FreeBoundaryDraw () const
     Returns True if the drawing of the free boundaries is enabled True is the default setting.
    bool HasOwnFreeBoundaryDraw () const
     Returns true if the drawer has its own attribute for "draw free boundaries" flag that overrides the one in the link.
    void UnsetOwnFreeBoundaryDraw ()
     Resets HasOwnFreeBoundaryDraw() flag, e.g. undoes SetFreeBoundaryDraw().
    void SetUnFreeBoundaryAspect (const occ::handle< Prs3d_LineAspect > &theAspect)
     Sets the parameter theAspect for the display of shared boundaries. The method sets aspect owned by the drawer that will be used during visualization instead of the one set in link.
    const occ::handle< Prs3d_LineAspect > & UnFreeBoundaryAspect () const
     Returns own settings for shared boundary line aspects, settings from linked Drawer or NULL if neither was set. These attributes are used by the algorithm Prs3d_WFShape.
    bool HasOwnUnFreeBoundaryAspect () const
     Returns true if the drawer has its own attribute for unfree boundaries aspect that overrides the one in the link.
    void SetUnFreeBoundaryDraw (const bool theIsEnabled)
     Enables or disables drawing of shared boundaries for shading presentations. The method sets drawing flag owned by the drawer that will be used during visualization instead of the one set in link. theIsEnabled is a boolean flag indicating whether the shared boundaries should be drawn or not.
    bool UnFreeBoundaryDraw () const
     Returns True if the drawing of the shared boundaries is enabled. True is the default setting.
    bool HasOwnUnFreeBoundaryDraw () const
     Returns true if the drawer has its own attribute for "draw shared boundaries" flag that overrides the one in the link.
    void UnsetOwnUnFreeBoundaryDraw ()
     Resets HasOwnUnFreeBoundaryDraw() flag, e.g. undoes SetUnFreeBoundaryDraw().
    void SetFaceBoundaryAspect (const occ::handle< Prs3d_LineAspect > &theAspect)
     Sets line aspect for face boundaries. The method sets line aspect owned by the drawer that will be used during visualization instead of the one set in link. theAspect is the line aspect that determines the look of the face boundaries.
    const occ::handle< Prs3d_LineAspect > & FaceBoundaryAspect () const
     Returns own line aspect of face boundaries, settings from linked Drawer or NULL if neither was set.
    bool HasOwnFaceBoundaryAspect () const
     Returns true if the drawer has its own attribute for face boundaries aspect that overrides the one in the link.
    bool SetupOwnFaceBoundaryAspect (const occ::handle< Prs3d_Drawer > &theDefaults=occ::handle< Prs3d_Drawer >())
     Sets own face boundary aspect, which is a black solid line by default. Returns FALSE if the drawer already has its own attribute for face boundary aspect.
    void SetFaceBoundaryDraw (const bool theIsEnabled)
     Enables or disables face boundary drawing for shading presentations. The method sets drawing flag owned by the drawer that will be used during visualization instead of the one set in link. theIsEnabled is a boolean flag indicating whether the face boundaries should be drawn or not.
    bool FaceBoundaryDraw () const
     Checks whether the face boundary drawing is enabled or not.
    bool HasOwnFaceBoundaryDraw () const
     Returns true if the drawer has its own attribute for "draw face boundaries" flag that overrides the one in the link.
    void UnsetOwnFaceBoundaryDraw ()
     Resets HasOwnFaceBoundaryDraw() flag, e.g. undoes SetFaceBoundaryDraw().
    bool HasOwnFaceBoundaryUpperContinuity () const
     Returns true if the drawer has its own attribute for face boundaries upper edge continuity class that overrides the one in the link.
    GeomAbs_Shape FaceBoundaryUpperContinuity () const
     Get the most edge continuity class; GeomAbs_CN by default (all edges).
    void SetFaceBoundaryUpperContinuity (GeomAbs_Shape theMostAllowedEdgeClass)
     Set the most edge continuity class for face boundaries.
    void UnsetFaceBoundaryUpperContinuity ()
     Unset the most edge continuity class for face boundaries.
    const occ::handle< Prs3d_DimensionAspect > & DimensionAspect () const
     Returns own settings for the appearance of dimensions, settings from linked Drawer or NULL if neither was set.
    void SetDimensionAspect (const occ::handle< Prs3d_DimensionAspect > &theAspect)
     Sets the settings for the appearance of dimensions. The method sets aspect owned by the drawer that will be used during visualization instead of the one set in link.
    bool HasOwnDimensionAspect () const
     Returns true if the drawer has its own attribute for the appearance of dimensions that overrides the one in the link.
    void SetDimLengthModelUnits (const TCollection_AsciiString &theUnits)
     Sets dimension length model units for computing of dimension presentation. The method sets value owned by the drawer that will be used during visualization instead of the one set in link.
    void SetDimAngleModelUnits (const TCollection_AsciiString &theUnits)
     Sets dimension angle model units for computing of dimension presentation. The method sets value owned by the drawer that will be used during visualization instead of the one set in link.
    const TCollection_AsciiStringDimLengthModelUnits () const
     Returns length model units for the dimension presentation.
    const TCollection_AsciiStringDimAngleModelUnits () const
     Returns angle model units for the dimension presentation.
    bool HasOwnDimLengthModelUnits () const
     Returns true if the drawer has its own attribute for dimension length model units that overrides the one in the link.
    void UnsetOwnDimLengthModelUnits ()
     Resets HasOwnDimLengthModelUnits() flag, e.g. undoes SetDimLengthModelUnits().
    bool HasOwnDimAngleModelUnits () const
     Returns true if the drawer has its own attribute for dimension angle model units that overrides the one in the link.
    void UnsetOwnDimAngleModelUnits ()
     Resets HasOwnDimAngleModelUnits() flag, e.g. undoes SetDimAngleModelUnits().
    void SetDimLengthDisplayUnits (const TCollection_AsciiString &theUnits)
     Sets length units in which value for dimension presentation is displayed. The method sets value owned by the drawer that will be used during visualization instead of the one set in link.
    void SetDimAngleDisplayUnits (const TCollection_AsciiString &theUnits)
     Sets angle units in which value for dimension presentation is displayed. The method sets value owned by the drawer that will be used during visualization instead of the one set in link.
    const TCollection_AsciiStringDimLengthDisplayUnits () const
     Returns length units in which dimension presentation is displayed.
    const TCollection_AsciiStringDimAngleDisplayUnits () const
     Returns angle units in which dimension presentation is displayed.
    bool HasOwnDimLengthDisplayUnits () const
     Returns true if the drawer has its own attribute for length units in which dimension presentation is displayed that overrides the one in the link.
    void UnsetOwnDimLengthDisplayUnits ()
     Resets HasOwnDimLengthModelUnits() flag, e.g. undoes SetDimLengthDisplayUnits().
    bool HasOwnDimAngleDisplayUnits () const
     Returns true if the drawer has its own attribute for angle units in which dimension presentation is displayed that overrides the one in the link.
    void UnsetOwnDimAngleDisplayUnits ()
     Resets HasOwnDimAngleDisplayUnits() flag, e.g. undoes SetDimLengthDisplayUnits().
    const occ::handle< Prs3d_Drawer > & Link () const
     Returns the drawer to which the current object references.
    bool HasLink () const
     Returns true if the current object has a link on the other drawer.
    void Link (const occ::handle< Prs3d_Drawer > &theDrawer)
     Sets theDrawer as a link to which the current object references.
    void SetLink (const occ::handle< Prs3d_Drawer > &theDrawer)
     Sets theDrawer as a link to which the current object references.
    void ClearLocalAttributes ()
     Removes local attributes.
    bool SetShaderProgram (const occ::handle< Graphic3d_ShaderProgram > &theProgram, const Graphic3d_GroupAspect theAspect, const bool theToOverrideDefaults=false)
     Assign shader program for specified type of primitives.
    bool SetShadingModel (Graphic3d_TypeOfShadingModel theModel, bool theToOverrideDefaults=false)
     Sets Shading Model type for the shading aspect.
    void DumpJson (Standard_OStream &theOStream, int theDepth=-1) const override
     Dumps the content of me into the stream.
    Public Member Functions inherited from Graphic3d_PresentationAttributes
     Graphic3d_PresentationAttributes ()
     Empty constructor.
     ~Graphic3d_PresentationAttributes () override=default
     Destructor.
    Aspect_TypeOfHighlightMethod Method () const
     Returns highlight method, Aspect_TOHM_COLOR by default.
    virtual void SetMethod (const Aspect_TypeOfHighlightMethod theMethod)
     Changes highlight method to the given one.
    const Quantity_ColorRGBAColorRGBA () const
     Returns basic presentation color (including alpha channel).
    const Quantity_ColorColor () const
     Returns basic presentation color, Quantity_NOC_WHITE by default.
    virtual void SetColor (const Quantity_Color &theColor)
     Sets basic presentation color (RGB components, does not modifies transparency).
    float Transparency () const
     Returns basic presentation transparency (0 - opaque, 1 - fully transparent), 0 by default (opaque).
    virtual void SetTransparency (const float theTranspCoef)
     Sets basic presentation transparency (0 - opaque, 1 - fully transparent).
    Graphic3d_ZLayerId ZLayer () const
     Returns presentation Zlayer, Graphic3d_ZLayerId_Default by default. Graphic3d_ZLayerId_UNKNOWN means undefined (a layer of main presentation to be used).
    virtual void SetZLayer (const Graphic3d_ZLayerId theLayer)
     Sets presentation Zlayer.
    int DisplayMode () const
     Returns display mode, 0 by default. -1 means undefined (main display mode of presentation to be used).
    virtual void SetDisplayMode (const int theMode)
     Sets display mode.
    const occ::handle< Graphic3d_AspectFillArea3d > & BasicFillAreaAspect () const
     Return basic presentation fill area aspect, NULL by default. When set, might be used instead of Color() property.
    virtual void SetBasicFillAreaAspect (const occ::handle< Graphic3d_AspectFillArea3d > &theAspect)
     Sets basic presentation fill area aspect.
    Public Member Functions inherited from Standard_Transient
     Standard_Transient ()
     Empty constructor.
     Standard_Transient (const Standard_Transient &)
     Copy constructor – does nothing.
    Standard_Transientoperator= (const Standard_Transient &)
     Assignment operator, needed to avoid copying reference counter.
    virtual ~Standard_Transient ()=default
     Destructor must be virtual.
    virtual const opencascade::handle< Standard_Type > & DynamicType () const
     Returns a type descriptor about this object.
    bool IsInstance (const opencascade::handle< Standard_Type > &theType) const
     Returns a true value if this is an instance of Type.
    bool IsInstance (const char *const theTypeName) const
     Returns a true value if this is an instance of TypeName.
    bool IsKind (const opencascade::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.
    bool IsKind (const char *const 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.
    Standard_TransientThis () const
     Returns non-const pointer to this object (like const_cast). For protection against creating handle to objects allocated in stack or call from constructor, it will raise exception Standard_ProgramError if reference counter is zero.
    int GetRefCount () const noexcept
     Get the reference counter of this object.
    void IncrementRefCounter () noexcept
     Increments the reference counter of this object. Uses relaxed memory ordering since incrementing only requires atomicity, not synchronization with other memory operations.
    int DecrementRefCounter () noexcept
     Decrements the reference counter of this object; returns the decremented value. Uses release ordering for the decrement to ensure all writes to the object are visible before the count reaches zero. An acquire fence is added only when the count reaches zero, ensuring proper synchronization before deletion. This is more efficient than using acq_rel for every decrement.
    virtual void Delete () const
     Memory deallocator for transient classes.

    deprecated methods

    Deprecated
    ("SetDeviationAngle() should be used instead")
    occ::handle< Prs3d_DrawermyLink
     the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined
    int myNbPoints
     the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined
    double myMaximalParameterValue
     the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined
    double myChordialDeviation
     the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined
    Aspect_TypeOfDeflection myTypeOfDeflection
     the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined
    bool myHasOwnTypeOfDeflection
     the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined
    Prs3d_TypeOfHLR myTypeOfHLR
     the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined
    double myDeviationCoefficient
     the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined
    double myPreviousDeviationCoefficient
     the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined
    double myDeviationAngle
     the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined
    double myPreviousDeviationAngle
     the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined
    bool myIsoOnPlane
     the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined
    bool myHasOwnIsoOnPlane
     the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined
    bool myIsoOnTriangulation
     the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined
    bool myHasOwnIsoOnTriangulation
     the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined
    bool myIsAutoTriangulated
     the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined
    bool myHasOwnIsAutoTriangulated
     the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined
    occ::handle< Prs3d_IsoAspectmyUIsoAspect
     the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined
    occ::handle< Prs3d_IsoAspectmyVIsoAspect
     the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined
    occ::handle< Prs3d_LineAspectmyWireAspect
     the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined
    bool myWireDraw
     the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined
    bool myHasOwnWireDraw
     the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined
    occ::handle< Prs3d_PointAspectmyPointAspect
     the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined
    occ::handle< Prs3d_LineAspectmyLineAspect
     the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined
    occ::handle< Prs3d_TextAspectmyTextAspect
     the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined
    occ::handle< Prs3d_ShadingAspectmyShadingAspect
     the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined
    occ::handle< Prs3d_PlaneAspectmyPlaneAspect
     the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined
    occ::handle< Prs3d_LineAspectmySeenLineAspect
     the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined
    occ::handle< Prs3d_ArrowAspectmyArrowAspect
     the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined
    bool myLineArrowDraw
     the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined
    bool myHasOwnLineArrowDraw
     the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined
    occ::handle< Prs3d_LineAspectmyHiddenLineAspect
     the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined
    bool myDrawHiddenLine
     the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined
    bool myHasOwnDrawHiddenLine
     the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined
    occ::handle< Prs3d_LineAspectmyVectorAspect
     the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined
    Prs3d_VertexDrawMode myVertexDrawMode
     the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined
    occ::handle< Prs3d_DatumAspectmyDatumAspect
     the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined
    occ::handle< Prs3d_LineAspectmySectionAspect
     the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined
    occ::handle< Prs3d_LineAspectmyFreeBoundaryAspect
     the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined
    bool myFreeBoundaryDraw
     the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined
    bool myHasOwnFreeBoundaryDraw
     the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined
    occ::handle< Prs3d_LineAspectmyUnFreeBoundaryAspect
     the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined
    bool myUnFreeBoundaryDraw
     the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined
    bool myHasOwnUnFreeBoundaryDraw
     the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined
    occ::handle< Prs3d_LineAspectmyFaceBoundaryAspect
     the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined
    int myFaceBoundaryUpperContinuity
     the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined
    bool myFaceBoundaryDraw
     the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined
    bool myHasOwnFaceBoundaryDraw
     the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined
    occ::handle< Prs3d_DimensionAspectmyDimensionAspect
     the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined
    Prs3d_DimensionUnits myDimensionModelUnits
     the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined
    bool myHasOwnDimLengthModelUnits
     the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined
    bool myHasOwnDimAngleModelUnits
     the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined
    Prs3d_DimensionUnits myDimensionDisplayUnits
     the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined
    bool myHasOwnDimLengthDisplayUnits
     the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined
    bool myHasOwnDimAngleDisplayUnits
     the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined
    void SetHLRAngle (const double theAngle)
     the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined
    double HLRAngle () const
    void SetHLRAngle ()
    bool HasOwnHLRDeviationAngle () const
    double PreviousHLRDeviationAngle () const

    Additional Inherited Members

    typedef void base_type
     Returns a type descriptor about this object.
    static constexpr const char * get_type_name ()
     Returns a type descriptor about this object.
    static const opencascade::handle< Standard_Type > & get_type_descriptor ()
     Returns type descriptor of Standard_Transient class.
    Protected Attributes inherited from Graphic3d_PresentationAttributes
    occ::handle< Graphic3d_AspectFillArea3dmyBasicFillAreaAspect
     presentation fill area aspect
    Quantity_ColorRGBA myBasicColor
     presentation color
    Aspect_TypeOfHighlightMethod myHiMethod
     box or color highlighting
    Graphic3d_ZLayerId myZLayer
     Z-layer.
    int myDispMode
     display mode

    Detailed Description

    A graphic attribute manager which governs how objects such as color, width, line thickness and deflection are displayed. A drawer includes an instance of the Aspect classes with particular default values.

    Constructor & Destructor Documentation

    ◆ Prs3d_Drawer()

    Prs3d_Drawer::Prs3d_Drawer ( )

    Default constructor.

    Member Function Documentation

    ◆ ArrowAspect()

    const occ::handle< Prs3d_ArrowAspect > & Prs3d_Drawer::ArrowAspect ( ) const

    Returns own attributes for display of arrows, settings from linked Drawer or NULL if neither was set.

    ◆ ClearLocalAttributes()

    void Prs3d_Drawer::ClearLocalAttributes ( )

    Removes local attributes.

    ◆ DatumAspect()

    const occ::handle< Prs3d_DatumAspect > & Prs3d_Drawer::DatumAspect ( ) const

    Returns own settings for the appearance of datums, settings from linked Drawer or NULL if neither was set.

    ◆ DeviationAngle()

    double Prs3d_Drawer::DeviationAngle ( ) const
    inline

    Returns the value for deviation angle in radians, 20 * M_PI / 180 by default.

    ◆ DeviationCoefficient()

    double Prs3d_Drawer::DeviationCoefficient ( ) const
    inline

    Returns the deviation coefficient. Drawings of curves or patches are made with respect to a maximal chordal deviation. A Deviation coefficient is used in the shading display mode. The shape is seen decomposed into triangles. These are used to calculate reflection of light from the surface of the object. The triangles are formed from chords of the curves in the shape. The deviation coefficient gives the highest value of the angle with which a chord can deviate from a tangent to a curve. If this limit is reached, a new triangle is begun. This deviation is absolute and is set through the method: SetMaximalChordialDeviation. The default value is 0.001. In drawing shapes, however, you are allowed to ask for a relative deviation. This deviation will be: SizeOfObject * DeviationCoefficient.

    ◆ DimAngleDisplayUnits()

    const TCollection_AsciiString & Prs3d_Drawer::DimAngleDisplayUnits ( ) const
    inline

    Returns angle units in which dimension presentation is displayed.

    ◆ DimAngleModelUnits()

    const TCollection_AsciiString & Prs3d_Drawer::DimAngleModelUnits ( ) const
    inline

    Returns angle model units for the dimension presentation.

    ◆ DimensionAspect()

    const occ::handle< Prs3d_DimensionAspect > & Prs3d_Drawer::DimensionAspect ( ) const

    Returns own settings for the appearance of dimensions, settings from linked Drawer or NULL if neither was set.

    ◆ DimLengthDisplayUnits()

    const TCollection_AsciiString & Prs3d_Drawer::DimLengthDisplayUnits ( ) const
    inline

    Returns length units in which dimension presentation is displayed.

    ◆ DimLengthModelUnits()

    const TCollection_AsciiString & Prs3d_Drawer::DimLengthModelUnits ( ) const
    inline

    Returns length model units for the dimension presentation.

    ◆ DisableDrawHiddenLine()

    void Prs3d_Drawer::DisableDrawHiddenLine ( )

    Disables the DrawHiddenLine function.

    ◆ Discretisation()

    int Prs3d_Drawer::Discretisation ( ) const
    inline

    Returns the discretisation setting.

    ◆ DrawHiddenLine()

    bool Prs3d_Drawer::DrawHiddenLine ( ) const
    inline

    Returns true if the hidden lines are to be drawn. By default the hidden lines are not drawn.

    ◆ DumpJson()

    void Prs3d_Drawer::DumpJson ( Standard_OStream & theOStream,
    int theDepth = -1 ) const
    overridevirtual

    Dumps the content of me into the stream.

    Reimplemented from Graphic3d_PresentationAttributes.

    ◆ EnableDrawHiddenLine()

    void Prs3d_Drawer::EnableDrawHiddenLine ( )

    Enables the DrawHiddenLine function.

    ◆ FaceBoundaryAspect()

    const occ::handle< Prs3d_LineAspect > & Prs3d_Drawer::FaceBoundaryAspect ( ) const

    Returns own line aspect of face boundaries, settings from linked Drawer or NULL if neither was set.

    ◆ FaceBoundaryDraw()

    bool Prs3d_Drawer::FaceBoundaryDraw ( ) const
    inline

    Checks whether the face boundary drawing is enabled or not.

    ◆ FaceBoundaryUpperContinuity()

    GeomAbs_Shape Prs3d_Drawer::FaceBoundaryUpperContinuity ( ) const
    inline

    Get the most edge continuity class; GeomAbs_CN by default (all edges).

    ◆ FreeBoundaryAspect()

    const occ::handle< Prs3d_LineAspect > & Prs3d_Drawer::FreeBoundaryAspect ( ) const

    Returns own settings for presentation of free boundaries, settings from linked Drawer or NULL if neither was set. In other words, this settings affect boundaries which are not shared. These attributes are used by the algorithm Prs3d_WFShape.

    ◆ FreeBoundaryDraw()

    bool Prs3d_Drawer::FreeBoundaryDraw ( ) const
    inline

    Returns True if the drawing of the free boundaries is enabled True is the default setting.

    ◆ HasLink()

    bool Prs3d_Drawer::HasLink ( ) const
    inline

    Returns true if the current object has a link on the other drawer.

    ◆ HasOwnArrowAspect()

    bool Prs3d_Drawer::HasOwnArrowAspect ( ) const
    inline

    Returns true if the drawer has its own attribute for arrow aspect that overrides the one in the link.

    ◆ HasOwnDatumAspect()

    bool Prs3d_Drawer::HasOwnDatumAspect ( ) const
    inline

    Returns true if the drawer has its own attribute for datum aspect that overrides the one in the link.

    ◆ HasOwnDeviationAngle()

    bool Prs3d_Drawer::HasOwnDeviationAngle ( ) const
    inline

    Returns true if there is a local setting for deviation angle in this framework for a specific interactive object.

    ◆ HasOwnDeviationCoefficient()

    bool Prs3d_Drawer::HasOwnDeviationCoefficient ( ) const
    inline

    Returns true if there is a local setting for deviation coefficient in this framework for a specific interactive object.

    ◆ HasOwnDimAngleDisplayUnits()

    bool Prs3d_Drawer::HasOwnDimAngleDisplayUnits ( ) const
    inline

    Returns true if the drawer has its own attribute for angle units in which dimension presentation is displayed that overrides the one in the link.

    ◆ HasOwnDimAngleModelUnits()

    bool Prs3d_Drawer::HasOwnDimAngleModelUnits ( ) const
    inline

    Returns true if the drawer has its own attribute for dimension angle model units that overrides the one in the link.

    ◆ HasOwnDimensionAspect()

    bool Prs3d_Drawer::HasOwnDimensionAspect ( ) const
    inline

    Returns true if the drawer has its own attribute for the appearance of dimensions that overrides the one in the link.

    ◆ HasOwnDimLengthDisplayUnits()

    bool Prs3d_Drawer::HasOwnDimLengthDisplayUnits ( ) const
    inline

    Returns true if the drawer has its own attribute for length units in which dimension presentation is displayed that overrides the one in the link.

    ◆ HasOwnDimLengthModelUnits()

    bool Prs3d_Drawer::HasOwnDimLengthModelUnits ( ) const
    inline

    Returns true if the drawer has its own attribute for dimension length model units that overrides the one in the link.

    ◆ HasOwnDiscretisation()

    bool Prs3d_Drawer::HasOwnDiscretisation ( ) const
    inline

    Returns true if the drawer has discretisation setting active.

    ◆ HasOwnDrawHiddenLine()

    bool Prs3d_Drawer::HasOwnDrawHiddenLine ( ) const
    inline

    Returns true if the drawer has its own attribute for "draw hidden lines" flag that overrides the one in the link.

    ◆ HasOwnFaceBoundaryAspect()

    bool Prs3d_Drawer::HasOwnFaceBoundaryAspect ( ) const
    inline

    Returns true if the drawer has its own attribute for face boundaries aspect that overrides the one in the link.

    ◆ HasOwnFaceBoundaryDraw()

    bool Prs3d_Drawer::HasOwnFaceBoundaryDraw ( ) const
    inline

    Returns true if the drawer has its own attribute for "draw face boundaries" flag that overrides the one in the link.

    ◆ HasOwnFaceBoundaryUpperContinuity()

    bool Prs3d_Drawer::HasOwnFaceBoundaryUpperContinuity ( ) const
    inline

    Returns true if the drawer has its own attribute for face boundaries upper edge continuity class that overrides the one in the link.

    ◆ HasOwnFreeBoundaryAspect()

    bool Prs3d_Drawer::HasOwnFreeBoundaryAspect ( ) const
    inline

    Returns true if the drawer has its own attribute for free boundaries aspect that overrides the one in the link.

    ◆ HasOwnFreeBoundaryDraw()

    bool Prs3d_Drawer::HasOwnFreeBoundaryDraw ( ) const
    inline

    Returns true if the drawer has its own attribute for "draw free boundaries" flag that overrides the one in the link.

    ◆ HasOwnHiddenLineAspect()

    bool Prs3d_Drawer::HasOwnHiddenLineAspect ( ) const
    inline

    Returns true if the drawer has its own attribute for hidden lines aspect that overrides the one in the link.

    ◆ HasOwnHLRDeviationAngle()

    bool Prs3d_Drawer::HasOwnHLRDeviationAngle ( ) const
    inline
    Deprecated
    ("HasOwnDeviationAngle() should be used instead")

    ◆ HasOwnIsAutoTriangulation()

    bool Prs3d_Drawer::HasOwnIsAutoTriangulation ( ) const
    inline

    Returns true if the drawer has IsoOnPlane setting active.

    ◆ HasOwnIsoOnPlane()

    bool Prs3d_Drawer::HasOwnIsoOnPlane ( ) const
    inline

    Returns true if the drawer has IsoOnPlane setting active.

    ◆ HasOwnIsoOnTriangulation()

    bool Prs3d_Drawer::HasOwnIsoOnTriangulation ( ) const
    inline

    Returns true if the drawer has IsoOnTriangulation setting active.

    ◆ HasOwnLineArrowDraw()

    bool Prs3d_Drawer::HasOwnLineArrowDraw ( ) const
    inline

    Returns true if the drawer has its own attribute for "draw arrow" flag that overrides the one in the link.

    ◆ HasOwnLineAspect()

    bool Prs3d_Drawer::HasOwnLineAspect ( ) const
    inline

    Returns true if the drawer has its own attribute for line aspect that overrides the one in the link.

    ◆ HasOwnMaximalChordialDeviation()

    bool Prs3d_Drawer::HasOwnMaximalChordialDeviation ( ) const
    inline

    Returns true if the drawer has a maximal chordial deviation setting active.

    ◆ HasOwnMaximalParameterValue()

    bool Prs3d_Drawer::HasOwnMaximalParameterValue ( ) const
    inline

    Returns true if the drawer has a maximum value allowed for the first and last parameters of an infinite curve setting active.

    ◆ HasOwnPlaneAspect()

    bool Prs3d_Drawer::HasOwnPlaneAspect ( ) const
    inline

    Returns true if the drawer has its own attribute for plane aspect that overrides the one in the link.

    ◆ HasOwnPointAspect()

    bool Prs3d_Drawer::HasOwnPointAspect ( ) const
    inline

    Returns true if the drawer has its own attribute for point aspect that overrides the one in the link.

    ◆ HasOwnSectionAspect()

    bool Prs3d_Drawer::HasOwnSectionAspect ( ) const
    inline

    Returns true if the drawer has its own attribute for section aspect that overrides the one in the link.

    ◆ HasOwnSeenLineAspect()

    bool Prs3d_Drawer::HasOwnSeenLineAspect ( ) const
    inline

    Returns true if the drawer has its own attribute for seen line aspect that overrides the one in the link.

    ◆ HasOwnShadingAspect()

    bool Prs3d_Drawer::HasOwnShadingAspect ( ) const
    inline

    Returns true if the drawer has its own attribute for shading aspect that overrides the one in the link.

    ◆ HasOwnTextAspect()

    bool Prs3d_Drawer::HasOwnTextAspect ( ) const
    inline

    Returns true if the drawer has its own attribute for text aspect that overrides the one in the link.

    ◆ HasOwnTypeOfDeflection()

    bool Prs3d_Drawer::HasOwnTypeOfDeflection ( ) const
    inline

    Returns true if the drawer has a type of deflection setting active.

    ◆ HasOwnTypeOfHLR()

    bool Prs3d_Drawer::HasOwnTypeOfHLR ( ) const
    inline

    Returns true if the type of HLR is not equal to Prs3d_TOH_NotSet.

    ◆ HasOwnUIsoAspect()

    bool Prs3d_Drawer::HasOwnUIsoAspect ( ) const
    inline

    Returns true if the drawer has its own attribute for UIso aspect that overrides the one in the link.

    ◆ HasOwnUnFreeBoundaryAspect()

    bool Prs3d_Drawer::HasOwnUnFreeBoundaryAspect ( ) const
    inline

    Returns true if the drawer has its own attribute for unfree boundaries aspect that overrides the one in the link.

    ◆ HasOwnUnFreeBoundaryDraw()

    bool Prs3d_Drawer::HasOwnUnFreeBoundaryDraw ( ) const
    inline

    Returns true if the drawer has its own attribute for "draw shared boundaries" flag that overrides the one in the link.

    ◆ HasOwnVectorAspect()

    bool Prs3d_Drawer::HasOwnVectorAspect ( ) const
    inline

    Returns true if the drawer has its own attribute for vector aspect that overrides the one in the link.

    ◆ HasOwnVertexDrawMode()

    bool Prs3d_Drawer::HasOwnVertexDrawMode ( ) const
    inline

    Returns true if the vertex draw mode is not equal to Prs3d_VDM_Inherited. This means that individual vertex draw mode value (i.e. not inherited from the global drawer) is used for a specific interactive object.

    ◆ HasOwnVIsoAspect()

    bool Prs3d_Drawer::HasOwnVIsoAspect ( ) const
    inline

    Returns true if the drawer has its own attribute for VIso aspect that overrides the one in the link.

    ◆ HasOwnWireAspect()

    bool Prs3d_Drawer::HasOwnWireAspect ( ) const
    inline

    Returns true if the drawer has its own attribute for wire aspect that overrides the one in the link.

    ◆ HasOwnWireDraw()

    bool Prs3d_Drawer::HasOwnWireDraw ( ) const
    inline

    Returns true if the drawer has its own attribute for "draw wires" flag that overrides the one in the link.

    ◆ HiddenLineAspect()

    const occ::handle< Prs3d_LineAspect > & Prs3d_Drawer::HiddenLineAspect ( ) const

    Returns own settings for hidden line aspects, settings from linked Drawer or NULL if neither was set.

    ◆ HLRAngle()

    double Prs3d_Drawer::HLRAngle ( ) const
    inline
    Deprecated
    ("DeviationAngle() should be used instead")

    ◆ IsAutoTriangulation()

    bool Prs3d_Drawer::IsAutoTriangulation ( ) const
    inline

    Returns True if automatic triangulation is enabled.

    ◆ IsoOnPlane()

    bool Prs3d_Drawer::IsoOnPlane ( ) const
    inline

    Returns True if the drawing of isos on planes is enabled.

    ◆ IsoOnTriangulation()

    bool Prs3d_Drawer::IsoOnTriangulation ( ) const
    inline

    Returns True if the drawing of isos on triangulation is enabled.

    ◆ LineArrowDraw()

    bool Prs3d_Drawer::LineArrowDraw ( ) const
    inline

    Returns True if drawing an arrow at the end of each edge is enabled and False otherwise (the default).

    ◆ LineAspect()

    const occ::handle< Prs3d_LineAspect > & Prs3d_Drawer::LineAspect ( ) const

    Returns own settings for line aspects, settings from linked Drawer or NULL if neither was set. These attributes are used by the following algorithms: Prs3d_Curve Prs3d_Line Prs3d_HLRShape.

    ◆ Link() [1/2]

    const occ::handle< Prs3d_Drawer > & Prs3d_Drawer::Link ( ) const
    inline

    Returns the drawer to which the current object references.

    ◆ Link() [2/2]

    void Prs3d_Drawer::Link ( const occ::handle< Prs3d_Drawer > & theDrawer)
    inline

    Sets theDrawer as a link to which the current object references.

    ◆ MaximalChordialDeviation()

    double Prs3d_Drawer::MaximalChordialDeviation ( ) const
    inline

    Returns the maximal chordal deviation. The default value is 0.0001. Drawings of curves or patches are made with respect to an absolute maximal chordal deviation.

    ◆ MaximalParameterValue()

    double Prs3d_Drawer::MaximalParameterValue ( ) const
    inline

    Sets the maximum value allowed for the first and last parameters of an infinite curve. By default, this value is 500000.

    ◆ PlaneAspect()

    const occ::handle< Prs3d_PlaneAspect > & Prs3d_Drawer::PlaneAspect ( ) const

    Returns own settings for the appearance of planes, settings from linked Drawer or NULL if neither was set.

    ◆ PointAspect()

    const occ::handle< Prs3d_PointAspect > & Prs3d_Drawer::PointAspect ( ) const

    Returns own point aspect setting, settings from linked Drawer or NULL if neither was set. These attributes are used by the algorithms Prs3d_Point.

    ◆ PreviousDeviationAngle()

    double Prs3d_Drawer::PreviousDeviationAngle ( ) const
    inline

    Returns the previous deviation angle.

    ◆ PreviousDeviationCoefficient()

    double Prs3d_Drawer::PreviousDeviationCoefficient ( ) const
    inline

    Saves the previous value used for the chordal deviation coefficient.

    ◆ PreviousHLRDeviationAngle()

    double Prs3d_Drawer::PreviousHLRDeviationAngle ( ) const
    inline
    Deprecated
    ("PreviousDeviationAngle() should be used instead")

    ◆ SectionAspect()

    const occ::handle< Prs3d_LineAspect > & Prs3d_Drawer::SectionAspect ( ) const

    Returns own LineAspect for section wire, settings from linked Drawer or NULL if neither was set. These attributes are used by the algorithm Prs3d_WFShape.

    ◆ SeenLineAspect()

    const occ::handle< Prs3d_LineAspect > & Prs3d_Drawer::SeenLineAspect ( ) const

    Returns own settings for seen line aspects, settings of linked Drawer or NULL if neither was set.

    ◆ SetArrowAspect()

    void Prs3d_Drawer::SetArrowAspect ( const occ::handle< Prs3d_ArrowAspect > & theAspect)
    inline

    Sets the parameter theAspect for display attributes of arrows.

    ◆ SetAutoTriangulation()

    void Prs3d_Drawer::SetAutoTriangulation ( const bool theIsEnabled)

    Sets IsAutoTriangulated on or off by setting the parameter theIsEnabled to true or false. If this flag is True automatic re-triangulation with deflection-check logic will be applied. Else this feature will be disable and triangulation is expected to be computed by application itself and no shading presentation at all if unavailable.

    ◆ SetDatumAspect()

    void Prs3d_Drawer::SetDatumAspect ( const occ::handle< Prs3d_DatumAspect > & theAspect)
    inline

    Sets the modality theAspect for the display of datums.

    ◆ SetDeviationAngle() [1/2]

    void Prs3d_Drawer::SetDeviationAngle ( )
    inline

    Resets HasOwnDeviationAngle() flag, e.g. undoes previous SetDeviationAngle().

    ◆ SetDeviationAngle() [2/2]

    void Prs3d_Drawer::SetDeviationAngle ( const double theAngle)

    Sets the deviation angle theAngle. Also sets the hasOwnDeviationAngle flag to true, and myPreviousDeviationAngle.

    ◆ SetDeviationCoefficient() [1/2]

    void Prs3d_Drawer::SetDeviationCoefficient ( )
    inline

    Resets HasOwnDeviationCoefficient() flag, e.g. undoes previous SetDeviationCoefficient().

    ◆ SetDeviationCoefficient() [2/2]

    void Prs3d_Drawer::SetDeviationCoefficient ( const double theCoefficient)

    Sets the deviation coefficient theCoefficient. Also sets the hasOwnDeviationCoefficient flag to true and myPreviousDeviationCoefficient.

    ◆ SetDimAngleDisplayUnits()

    void Prs3d_Drawer::SetDimAngleDisplayUnits ( const TCollection_AsciiString & theUnits)

    Sets angle units in which value for dimension presentation is displayed. The method sets value owned by the drawer that will be used during visualization instead of the one set in link.

    ◆ SetDimAngleModelUnits()

    void Prs3d_Drawer::SetDimAngleModelUnits ( const TCollection_AsciiString & theUnits)

    Sets dimension angle model units for computing of dimension presentation. The method sets value owned by the drawer that will be used during visualization instead of the one set in link.

    ◆ SetDimensionAspect()

    void Prs3d_Drawer::SetDimensionAspect ( const occ::handle< Prs3d_DimensionAspect > & theAspect)
    inline

    Sets the settings for the appearance of dimensions. The method sets aspect owned by the drawer that will be used during visualization instead of the one set in link.

    ◆ SetDimLengthDisplayUnits()

    void Prs3d_Drawer::SetDimLengthDisplayUnits ( const TCollection_AsciiString & theUnits)

    Sets length units in which value for dimension presentation is displayed. The method sets value owned by the drawer that will be used during visualization instead of the one set in link.

    ◆ SetDimLengthModelUnits()

    void Prs3d_Drawer::SetDimLengthModelUnits ( const TCollection_AsciiString & theUnits)

    Sets dimension length model units for computing of dimension presentation. The method sets value owned by the drawer that will be used during visualization instead of the one set in link.

    ◆ SetDiscretisation()

    void Prs3d_Drawer::SetDiscretisation ( const int theValue)
    inline

    Sets the discretisation parameter theValue.

    ◆ SetFaceBoundaryAspect()

    void Prs3d_Drawer::SetFaceBoundaryAspect ( const occ::handle< Prs3d_LineAspect > & theAspect)
    inline

    Sets line aspect for face boundaries. The method sets line aspect owned by the drawer that will be used during visualization instead of the one set in link. theAspect is the line aspect that determines the look of the face boundaries.

    ◆ SetFaceBoundaryDraw()

    void Prs3d_Drawer::SetFaceBoundaryDraw ( const bool theIsEnabled)

    Enables or disables face boundary drawing for shading presentations. The method sets drawing flag owned by the drawer that will be used during visualization instead of the one set in link. theIsEnabled is a boolean flag indicating whether the face boundaries should be drawn or not.

    ◆ SetFaceBoundaryUpperContinuity()

    void Prs3d_Drawer::SetFaceBoundaryUpperContinuity ( GeomAbs_Shape theMostAllowedEdgeClass)
    inline

    Set the most edge continuity class for face boundaries.

    ◆ SetFreeBoundaryAspect()

    void Prs3d_Drawer::SetFreeBoundaryAspect ( const occ::handle< Prs3d_LineAspect > & theAspect)
    inline

    Sets the parameter theAspect for the display of free boundaries. The method sets aspect owned by the drawer that will be used during visualization instead of the one set in link.

    ◆ SetFreeBoundaryDraw()

    void Prs3d_Drawer::SetFreeBoundaryDraw ( const bool theIsEnabled)

    Enables or disables drawing of free boundaries for shading presentations. The method sets drawing flag owned by the drawer that will be used during visualization instead of the one set in link. theIsEnabled is a boolean flag indicating whether the free boundaries should be drawn or not.

    ◆ SetHiddenLineAspect()

    void Prs3d_Drawer::SetHiddenLineAspect ( const occ::handle< Prs3d_LineAspect > & theAspect)
    inline

    Sets the parameter theAspect for the display of hidden lines in hidden line removal mode.

    ◆ SetHLRAngle() [1/2]

    void Prs3d_Drawer::SetHLRAngle ( )
    inline
    Deprecated
    ("SetDeviationAngle() should be used instead")

    ◆ SetHLRAngle() [2/2]

    void Prs3d_Drawer::SetHLRAngle ( const double theAngle)
    inline

    the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined

    ◆ SetIsoOnPlane()

    void Prs3d_Drawer::SetIsoOnPlane ( const bool theIsEnabled)

    Sets IsoOnPlane on or off by setting the parameter theIsEnabled to true or false.

    ◆ SetIsoOnTriangulation()

    void Prs3d_Drawer::SetIsoOnTriangulation ( const bool theToEnable)

    Enables or disables isolines on triangulation by setting the parameter theIsEnabled to true or false.

    ◆ SetLineArrowDraw()

    void Prs3d_Drawer::SetLineArrowDraw ( const bool theIsEnabled)

    Enables the drawing of an arrow at the end of each line. By default the arrows are not drawn.

    ◆ SetLineAspect()

    void Prs3d_Drawer::SetLineAspect ( const occ::handle< Prs3d_LineAspect > & theAspect)
    inline

    Sets the parameter theAspect for display attributes of lines.

    ◆ SetLink()

    void Prs3d_Drawer::SetLink ( const occ::handle< Prs3d_Drawer > & theDrawer)
    inline

    Sets theDrawer as a link to which the current object references.

    ◆ SetMaximalChordialDeviation()

    void Prs3d_Drawer::SetMaximalChordialDeviation ( const double theChordialDeviation)
    inline

    Defines the maximal chordial deviation when drawing any curve. Even if the type of deviation is set to TOD_Relative, this value is used by: Prs3d_DeflectionCurve Prs3d_WFDeflectionSurface Prs3d_WFDeflectionRestrictedFace.

    ◆ SetMaximalParameterValue()

    void Prs3d_Drawer::SetMaximalParameterValue ( const double theValue)
    inline

    Defines the maximum value allowed for the first and last parameters of an infinite curve.

    ◆ SetOwnDatumAspects()

    bool Prs3d_Drawer::SetOwnDatumAspects ( const occ::handle< Prs3d_Drawer > & theDefaults = occ::handlePrs3d_Drawer >())

    Sets own line aspects for datums. Returns FALSE if own line for datums are already set.

    ◆ SetOwnLineAspects()

    bool Prs3d_Drawer::SetOwnLineAspects ( const occ::handle< Prs3d_Drawer > & theDefaults = occ::handlePrs3d_Drawer >())

    Sets own line aspects, which are single U and single V gray75 solid isolines (::UIsoAspect(), ::VIsoAspect()), red wire (::WireAspect()), yellow line (::LineAspect()), yellow seen line (::SeenLineAspect()), dashed yellow hidden line (::HiddenLineAspect()), green free boundary (::FreeBoundaryAspect()), yellow unfree boundary (::UnFreeBoundaryAspect()). Returns FALSE if own line aspect are already set.

    ◆ SetPlaneAspect()

    void Prs3d_Drawer::SetPlaneAspect ( const occ::handle< Prs3d_PlaneAspect > & theAspect)
    inline

    Sets the parameter theAspect for the display of planes.

    ◆ SetPointAspect()

    void Prs3d_Drawer::SetPointAspect ( const occ::handle< Prs3d_PointAspect > & theAspect)
    inline

    Sets the parameter theAspect for display attributes of points.

    ◆ SetSectionAspect()

    void Prs3d_Drawer::SetSectionAspect ( const occ::handle< Prs3d_LineAspect > & theAspect)
    inline

    Sets the parameter theAspect for display attributes of sections.

    ◆ SetSeenLineAspect()

    void Prs3d_Drawer::SetSeenLineAspect ( const occ::handle< Prs3d_LineAspect > & theAspect)
    inline

    Sets the parameter theAspect for the display of seen lines in hidden line removal mode.

    ◆ SetShaderProgram()

    bool Prs3d_Drawer::SetShaderProgram ( const occ::handle< Graphic3d_ShaderProgram > & theProgram,
    const Graphic3d_GroupAspect theAspect,
    const bool theToOverrideDefaults = false )

    Assign shader program for specified type of primitives.

    Parameters
    theProgramnew program to set (might be NULL)
    theAspectthe type of primitives
    theToOverrideDefaultsif true then non-overridden attributes using defaults will be allocated and copied from the Link; otherwise, only already customized attributes will be changed
    Returns
    TRUE if presentation should be recomputed after creating aspects not previously customized (if theToOverrideDefaults is also TRUE)

    ◆ SetShadingAspect()

    void Prs3d_Drawer::SetShadingAspect ( const occ::handle< Prs3d_ShadingAspect > & theAspect)
    inline

    Sets the parameter theAspect for display attributes of shading.

    ◆ SetShadingModel()

    bool Prs3d_Drawer::SetShadingModel ( Graphic3d_TypeOfShadingModel theModel,
    bool theToOverrideDefaults = false )

    Sets Shading Model type for the shading aspect.

    ◆ SetTextAspect()

    void Prs3d_Drawer::SetTextAspect ( const occ::handle< Prs3d_TextAspect > & theAspect)
    inline

    Sets the parameter theAspect for display attributes of text.

    ◆ SetTypeOfDeflection()

    void Prs3d_Drawer::SetTypeOfDeflection ( const Aspect_TypeOfDeflection theTypeOfDeflection)

    Sets the type of chordal deflection. This indicates whether the deflection value is absolute or relative to the size of the object.

    ◆ SetTypeOfHLR()

    void Prs3d_Drawer::SetTypeOfHLR ( const Prs3d_TypeOfHLR theTypeOfHLR)

    Sets the type of HLR algorithm used by drawer's interactive objects.

    ◆ SetUIsoAspect()

    void Prs3d_Drawer::SetUIsoAspect ( const occ::handle< Prs3d_IsoAspect > & theAspect)
    inline

    ◆ SetUnFreeBoundaryAspect()

    void Prs3d_Drawer::SetUnFreeBoundaryAspect ( const occ::handle< Prs3d_LineAspect > & theAspect)
    inline

    Sets the parameter theAspect for the display of shared boundaries. The method sets aspect owned by the drawer that will be used during visualization instead of the one set in link.

    ◆ SetUnFreeBoundaryDraw()

    void Prs3d_Drawer::SetUnFreeBoundaryDraw ( const bool theIsEnabled)

    Enables or disables drawing of shared boundaries for shading presentations. The method sets drawing flag owned by the drawer that will be used during visualization instead of the one set in link. theIsEnabled is a boolean flag indicating whether the shared boundaries should be drawn or not.

    ◆ SetupOwnDefaults()

    void Prs3d_Drawer::SetupOwnDefaults ( )

    Setup all own aspects with default values.

    ◆ SetupOwnFaceBoundaryAspect()

    bool Prs3d_Drawer::SetupOwnFaceBoundaryAspect ( const occ::handle< Prs3d_Drawer > & theDefaults = occ::handlePrs3d_Drawer >())

    Sets own face boundary aspect, which is a black solid line by default. Returns FALSE if the drawer already has its own attribute for face boundary aspect.

    ◆ SetupOwnPointAspect()

    bool Prs3d_Drawer::SetupOwnPointAspect ( const occ::handle< Prs3d_Drawer > & theDefaults = occ::handlePrs3d_Drawer >())

    Sets own point aspect, which is a yellow Aspect_TOM_PLUS marker by default. Returns FALSE if the drawer already has its own attribute for point aspect.

    ◆ SetupOwnShadingAspect()

    bool Prs3d_Drawer::SetupOwnShadingAspect ( const occ::handle< Prs3d_Drawer > & theDefaults = occ::handlePrs3d_Drawer >())

    Sets own shading aspect, which is Graphic3d_NameOfMaterial_Brass material by default. Returns FALSE if the drawer already has its own attribute for shading aspect.

    ◆ SetVectorAspect()

    void Prs3d_Drawer::SetVectorAspect ( const occ::handle< Prs3d_LineAspect > & theAspect)
    inline

    Sets the modality theAspect for the display of vectors.

    ◆ SetVertexDrawMode()

    void Prs3d_Drawer::SetVertexDrawMode ( const Prs3d_VertexDrawMode theMode)

    Sets the mode of visualization of vertices of a TopoDS_Shape instance. By default, only stand-alone vertices (not belonging topologically to an edge) are drawn, that corresponds to Prs3d_VDM_Standalone mode. Switching to Prs3d_VDM_Standalone mode makes all shape's vertices visible. To inherit this parameter from the global drawer instance ("the link") when it is present, Prs3d_VDM_Inherited value should be used.

    ◆ SetVIsoAspect()

    void Prs3d_Drawer::SetVIsoAspect ( const occ::handle< Prs3d_IsoAspect > & theAspect)
    inline

    Sets the appearance of V isoparameters - theAspect.

    ◆ SetWireAspect()

    void Prs3d_Drawer::SetWireAspect ( const occ::handle< Prs3d_LineAspect > & theAspect)
    inline

    Sets the parameter theAspect for display of wires.

    ◆ SetWireDraw()

    void Prs3d_Drawer::SetWireDraw ( const bool theIsEnabled)

    Sets WireDraw on or off by setting the parameter theIsEnabled to true or false.

    ◆ ShadingAspect()

    const occ::handle< Prs3d_ShadingAspect > & Prs3d_Drawer::ShadingAspect ( ) const

    Returns own settings for shading aspects, settings from linked Drawer or NULL if neither was set.

    ◆ TextAspect()

    const occ::handle< Prs3d_TextAspect > & Prs3d_Drawer::TextAspect ( ) const

    Returns own settings for text aspect, settings from linked Drawer or NULL if neither was set.

    ◆ TypeOfDeflection()

    Aspect_TypeOfDeflection Prs3d_Drawer::TypeOfDeflection ( ) const
    inline

    Returns the type of chordal deflection. This indicates whether the deflection value is absolute or relative to the size of the object.

    ◆ TypeOfHLR()

    Prs3d_TypeOfHLR Prs3d_Drawer::TypeOfHLR ( ) const

    Returns the type of HLR algorithm currently in use.

    ◆ UIsoAspect()

    const occ::handle< Prs3d_IsoAspect > & Prs3d_Drawer::UIsoAspect ( ) const

    Defines own attributes for drawing an U isoparametric curve of a face, settings from linked Drawer or NULL if neither was set.

    These attributes are used by the following algorithms: Prs3d_WFDeflectionSurface Prs3d_WFDeflectionRestrictedFace

    ◆ UnFreeBoundaryAspect()

    const occ::handle< Prs3d_LineAspect > & Prs3d_Drawer::UnFreeBoundaryAspect ( ) const

    Returns own settings for shared boundary line aspects, settings from linked Drawer or NULL if neither was set. These attributes are used by the algorithm Prs3d_WFShape.

    ◆ UnFreeBoundaryDraw()

    bool Prs3d_Drawer::UnFreeBoundaryDraw ( ) const
    inline

    Returns True if the drawing of the shared boundaries is enabled. True is the default setting.

    ◆ UnsetFaceBoundaryUpperContinuity()

    void Prs3d_Drawer::UnsetFaceBoundaryUpperContinuity ( )
    inline

    Unset the most edge continuity class for face boundaries.

    ◆ UnsetOwnDimAngleDisplayUnits()

    void Prs3d_Drawer::UnsetOwnDimAngleDisplayUnits ( )
    inline

    ◆ UnsetOwnDimAngleModelUnits()

    void Prs3d_Drawer::UnsetOwnDimAngleModelUnits ( )
    inline

    ◆ UnsetOwnDimLengthDisplayUnits()

    void Prs3d_Drawer::UnsetOwnDimLengthDisplayUnits ( )
    inline

    ◆ UnsetOwnDimLengthModelUnits()

    void Prs3d_Drawer::UnsetOwnDimLengthModelUnits ( )
    inline

    ◆ UnsetOwnDiscretisation()

    void Prs3d_Drawer::UnsetOwnDiscretisation ( )
    inline

    Resets HasOwnDiscretisation() flag, e.g. undoes SetDiscretisation().

    ◆ UnsetOwnDrawHiddenLine()

    void Prs3d_Drawer::UnsetOwnDrawHiddenLine ( )
    inline

    Resets HasOwnDrawHiddenLine() flag, e.g. unsets EnableDrawHiddenLine()/DisableDrawHiddenLine().

    ◆ UnsetOwnFaceBoundaryDraw()

    void Prs3d_Drawer::UnsetOwnFaceBoundaryDraw ( )
    inline

    ◆ UnsetOwnFreeBoundaryDraw()

    void Prs3d_Drawer::UnsetOwnFreeBoundaryDraw ( )
    inline

    ◆ UnsetOwnIsAutoTriangulation()

    void Prs3d_Drawer::UnsetOwnIsAutoTriangulation ( )
    inline

    ◆ UnsetOwnIsoOnPlane()

    void Prs3d_Drawer::UnsetOwnIsoOnPlane ( )
    inline

    Resets HasOwnIsoOnPlane() flag, e.g. undoes SetIsoOnPlane().

    ◆ UnsetOwnIsoOnTriangulation()

    void Prs3d_Drawer::UnsetOwnIsoOnTriangulation ( )
    inline

    ◆ UnsetOwnLineArrowDraw()

    void Prs3d_Drawer::UnsetOwnLineArrowDraw ( )
    inline

    Reset HasOwnLineArrowDraw() flag, e.g. undoes SetLineArrowDraw().

    ◆ UnsetOwnMaximalChordialDeviation()

    void Prs3d_Drawer::UnsetOwnMaximalChordialDeviation ( )
    inline

    ◆ UnsetOwnMaximalParameterValue()

    void Prs3d_Drawer::UnsetOwnMaximalParameterValue ( )
    inline

    ◆ UnsetOwnTypeOfDeflection()

    void Prs3d_Drawer::UnsetOwnTypeOfDeflection ( )
    inline

    ◆ UnsetOwnUnFreeBoundaryDraw()

    void Prs3d_Drawer::UnsetOwnUnFreeBoundaryDraw ( )
    inline

    ◆ UnsetOwnWireDraw()

    void Prs3d_Drawer::UnsetOwnWireDraw ( )
    inline

    Resets HasOwnWireDraw() flag, e.g. undoes SetWireDraw().

    ◆ UpdatePreviousDeviationAngle()

    void Prs3d_Drawer::UpdatePreviousDeviationAngle ( )
    inline

    Updates the previous deviation angle to the current value.

    ◆ UpdatePreviousDeviationCoefficient()

    void Prs3d_Drawer::UpdatePreviousDeviationCoefficient ( )
    inline

    Updates the previous value used for the chordal deviation coefficient to the current state.

    ◆ VectorAspect()

    const occ::handle< Prs3d_LineAspect > & Prs3d_Drawer::VectorAspect ( ) const

    Returns own settings for the appearance of vectors, settings from linked Drawer or NULL if neither was set.

    ◆ VertexDrawMode()

    Prs3d_VertexDrawMode Prs3d_Drawer::VertexDrawMode ( ) const

    Returns the current mode of visualization of vertices of a TopoDS_Shape instance.

    ◆ VIsoAspect()

    const occ::handle< Prs3d_IsoAspect > & Prs3d_Drawer::VIsoAspect ( ) const

    Defines own attributes for drawing an V isoparametric curve of a face, settings from linked Drawer or NULL if neither was set.

    These attributes are used by the following algorithms: Prs3d_WFDeflectionSurface Prs3d_WFDeflectionRestrictedFace

    ◆ WireAspect()

    const occ::handle< Prs3d_LineAspect > & Prs3d_Drawer::WireAspect ( ) const

    Returns own wire aspect settings, settings from linked Drawer or NULL if neither was set. These attributes are used by the algorithm Prs3d_WFShape.

    ◆ WireDraw()

    bool Prs3d_Drawer::WireDraw ( ) const
    inline

    Returns True if the drawing of the wire is enabled.

    Field Documentation

    ◆ myArrowAspect

    occ::handle<Prs3d_ArrowAspect> Prs3d_Drawer::myArrowAspect
    protected

    the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined

    ◆ myChordialDeviation

    double Prs3d_Drawer::myChordialDeviation
    protected

    the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined

    ◆ myDatumAspect

    occ::handle<Prs3d_DatumAspect> Prs3d_Drawer::myDatumAspect
    protected

    the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined

    ◆ myDeviationAngle

    double Prs3d_Drawer::myDeviationAngle
    protected

    the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined

    ◆ myDeviationCoefficient

    double Prs3d_Drawer::myDeviationCoefficient
    protected

    the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined

    ◆ myDimensionAspect

    occ::handle<Prs3d_DimensionAspect> Prs3d_Drawer::myDimensionAspect
    protected

    the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined

    ◆ myDimensionDisplayUnits

    Prs3d_DimensionUnits Prs3d_Drawer::myDimensionDisplayUnits
    protected

    the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined

    ◆ myDimensionModelUnits

    Prs3d_DimensionUnits Prs3d_Drawer::myDimensionModelUnits
    protected

    the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined

    ◆ myDrawHiddenLine

    bool Prs3d_Drawer::myDrawHiddenLine
    protected

    the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined

    ◆ myFaceBoundaryAspect

    occ::handle<Prs3d_LineAspect> Prs3d_Drawer::myFaceBoundaryAspect
    protected

    the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined

    ◆ myFaceBoundaryDraw

    bool Prs3d_Drawer::myFaceBoundaryDraw
    protected

    the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined

    ◆ myFaceBoundaryUpperContinuity

    int Prs3d_Drawer::myFaceBoundaryUpperContinuity
    protected

    the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined

    ◆ myFreeBoundaryAspect

    occ::handle<Prs3d_LineAspect> Prs3d_Drawer::myFreeBoundaryAspect
    protected

    the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined

    ◆ myFreeBoundaryDraw

    bool Prs3d_Drawer::myFreeBoundaryDraw
    protected

    the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined

    ◆ myHasOwnDimAngleDisplayUnits

    bool Prs3d_Drawer::myHasOwnDimAngleDisplayUnits
    protected

    the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined

    ◆ myHasOwnDimAngleModelUnits

    bool Prs3d_Drawer::myHasOwnDimAngleModelUnits
    protected

    the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined

    ◆ myHasOwnDimLengthDisplayUnits

    bool Prs3d_Drawer::myHasOwnDimLengthDisplayUnits
    protected

    the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined

    ◆ myHasOwnDimLengthModelUnits

    bool Prs3d_Drawer::myHasOwnDimLengthModelUnits
    protected

    the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined

    ◆ myHasOwnDrawHiddenLine

    bool Prs3d_Drawer::myHasOwnDrawHiddenLine
    protected

    the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined

    ◆ myHasOwnFaceBoundaryDraw

    bool Prs3d_Drawer::myHasOwnFaceBoundaryDraw
    protected

    the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined

    ◆ myHasOwnFreeBoundaryDraw

    bool Prs3d_Drawer::myHasOwnFreeBoundaryDraw
    protected

    the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined

    ◆ myHasOwnIsAutoTriangulated

    bool Prs3d_Drawer::myHasOwnIsAutoTriangulated
    protected

    the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined

    ◆ myHasOwnIsoOnPlane

    bool Prs3d_Drawer::myHasOwnIsoOnPlane
    protected

    the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined

    ◆ myHasOwnIsoOnTriangulation

    bool Prs3d_Drawer::myHasOwnIsoOnTriangulation
    protected

    the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined

    ◆ myHasOwnLineArrowDraw

    bool Prs3d_Drawer::myHasOwnLineArrowDraw
    protected

    the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined

    ◆ myHasOwnTypeOfDeflection

    bool Prs3d_Drawer::myHasOwnTypeOfDeflection
    protected

    the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined

    ◆ myHasOwnUnFreeBoundaryDraw

    bool Prs3d_Drawer::myHasOwnUnFreeBoundaryDraw
    protected

    the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined

    ◆ myHasOwnWireDraw

    bool Prs3d_Drawer::myHasOwnWireDraw
    protected

    the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined

    ◆ myHiddenLineAspect

    occ::handle<Prs3d_LineAspect> Prs3d_Drawer::myHiddenLineAspect
    protected

    the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined

    ◆ myIsAutoTriangulated

    bool Prs3d_Drawer::myIsAutoTriangulated
    protected

    the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined

    ◆ myIsoOnPlane

    bool Prs3d_Drawer::myIsoOnPlane
    protected

    the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined

    ◆ myIsoOnTriangulation

    bool Prs3d_Drawer::myIsoOnTriangulation
    protected

    the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined

    ◆ myLineArrowDraw

    bool Prs3d_Drawer::myLineArrowDraw
    protected

    the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined

    ◆ myLineAspect

    occ::handle<Prs3d_LineAspect> Prs3d_Drawer::myLineAspect
    protected

    the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined

    ◆ myLink

    occ::handle<Prs3d_Drawer> Prs3d_Drawer::myLink
    protected

    the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined

    ◆ myMaximalParameterValue

    double Prs3d_Drawer::myMaximalParameterValue
    protected

    the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined

    ◆ myNbPoints

    int Prs3d_Drawer::myNbPoints
    protected

    the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined

    ◆ myPlaneAspect

    occ::handle<Prs3d_PlaneAspect> Prs3d_Drawer::myPlaneAspect
    protected

    the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined

    ◆ myPointAspect

    occ::handle<Prs3d_PointAspect> Prs3d_Drawer::myPointAspect
    protected

    the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined

    ◆ myPreviousDeviationAngle

    double Prs3d_Drawer::myPreviousDeviationAngle
    protected

    the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined

    ◆ myPreviousDeviationCoefficient

    double Prs3d_Drawer::myPreviousDeviationCoefficient
    protected

    the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined

    ◆ mySectionAspect

    occ::handle<Prs3d_LineAspect> Prs3d_Drawer::mySectionAspect
    protected

    the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined

    ◆ mySeenLineAspect

    occ::handle<Prs3d_LineAspect> Prs3d_Drawer::mySeenLineAspect
    protected

    the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined

    ◆ myShadingAspect

    occ::handle<Prs3d_ShadingAspect> Prs3d_Drawer::myShadingAspect
    protected

    the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined

    ◆ myTextAspect

    occ::handle<Prs3d_TextAspect> Prs3d_Drawer::myTextAspect
    protected

    the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined

    ◆ myTypeOfDeflection

    Aspect_TypeOfDeflection Prs3d_Drawer::myTypeOfDeflection
    protected

    the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined

    ◆ myTypeOfHLR

    Prs3d_TypeOfHLR Prs3d_Drawer::myTypeOfHLR
    protected

    the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined

    ◆ myUIsoAspect

    occ::handle<Prs3d_IsoAspect> Prs3d_Drawer::myUIsoAspect
    protected

    the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined

    ◆ myUnFreeBoundaryAspect

    occ::handle<Prs3d_LineAspect> Prs3d_Drawer::myUnFreeBoundaryAspect
    protected

    the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined

    ◆ myUnFreeBoundaryDraw

    bool Prs3d_Drawer::myUnFreeBoundaryDraw
    protected

    the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined

    ◆ myVectorAspect

    occ::handle<Prs3d_LineAspect> Prs3d_Drawer::myVectorAspect
    protected

    the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined

    ◆ myVertexDrawMode

    Prs3d_VertexDrawMode Prs3d_Drawer::myVertexDrawMode
    protected

    the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined

    ◆ myVIsoAspect

    occ::handle<Prs3d_IsoAspect> Prs3d_Drawer::myVIsoAspect
    protected

    the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined

    ◆ myWireAspect

    occ::handle<Prs3d_LineAspect> Prs3d_Drawer::myWireAspect
    protected

    the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined

    ◆ myWireDraw

    bool Prs3d_Drawer::myWireDraw
    protected

    the most edge continuity class (GeomAbs_Shape) to be included to face boundaries presentation, or -1 if undefined


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