#include <Prs3d_Drawer.hxx>
Inheritance diagram for Prs3d_Drawer:
Public Member Functions | |
Standard_EXPORT | Prs3d_Drawer () |
virtual Standard_EXPORT void | SetTypeOfDeflection (const Aspect_TypeOfDeflection aTypeOfDeflection) |
Sets the type of chordal deflection. This indicates whether the deflection value is absolute or relative to the size of the object. . | |
virtual Standard_EXPORT 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. . | |
virtual Standard_EXPORT void | SetMaximalChordialDeviation (const Quantity_Length aChordialDeviation) |
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 . | |
virtual Standard_EXPORT Quantity_Length | MaximalChordialDeviation () const |
returns the maximal chordial deviation. Default value is 0.1 | |
virtual Standard_EXPORT void | SetDeviationCoefficient (const Standard_Real aCoefficient) |
Sets the deviation coefficient aCoefficient. . | |
virtual Standard_EXPORT Standard_Real | DeviationCoefficient () const |
Returns the deviation coefficient. . | |
virtual Standard_EXPORT void | SetHLRDeviationCoefficient (const Standard_Real aCoefficient) |
Sets the deviation coefficient aCoefficient for removal of hidden lines created by different viewpoints in different presentations. The Default value is 0.02. . | |
virtual Standard_EXPORT Standard_Real | HLRDeviationCoefficient () const |
Returns the real number value of the hidden line removal deviation coefficient. . | |
virtual Standard_EXPORT void | SetHLRAngle (const Standard_Real anAngle) |
Sets anAngle, the angle of maximum chordal deviation for removal of hidden lines created by different viewpoints in different presentations. The default value is 20*PI/180. . | |
virtual Standard_EXPORT Standard_Real | HLRAngle () const |
Returns the real number value of the deviation angle in hidden line removal views. The default value is 20*PI/180. . | |
virtual Standard_EXPORT void | SetDeviationAngle (const Standard_Real anAngle) |
Sets deviation angle . | |
virtual Standard_EXPORT Standard_Real | DeviationAngle () const |
Returns the value for deviation angle. . | |
virtual Standard_EXPORT void | SetDiscretisation (const Standard_Integer d) |
Sets the discretisation parameter d. . | |
virtual Standard_EXPORT Standard_Integer | Discretisation () const |
Returns the discretisation setting. . | |
virtual Standard_EXPORT void | SetMaximalParameterValue (const Standard_Real Value) |
defines the maximum value allowed for the first and last parameters of an infinite curve. Default value: 500. | |
virtual Standard_EXPORT 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. . | |
virtual Standard_EXPORT void | SetIsoOnPlane (const Standard_Boolean OnOff) |
Sets IsoOnPlane on or off by setting the parameter OnOff to true or false. . | |
virtual Standard_EXPORT Standard_Boolean | IsoOnPlane () const |
Returns True if the drawing of isos on planes is enabled. . | |
virtual Standard_EXPORT Handle_Prs3d_IsoAspect | UIsoAspect () |
Defines the attributes which are used when drawing an U isoparametric curve of a face. Defines the number of U isoparametric curves to be drawn for a single face. The LineAspect for U isoparametric lines can be edited (methods SetColor, SetTypeOfLine, SetWidth, SetNumber) The default values are: COLOR : Quantity_NOC_GRAY75 TYPE OF LINE: Aspect_TOL_SOLID WIDTH : 0.5 These attributes are used by the following algorithms: Prs3d_WFDeflectionSurface Prs3d_WFDeflectionRestrictedFace . | |
virtual Standard_EXPORT void | SetUIsoAspect (const Handle(Prs3d_IsoAspect)&anAspect) |
virtual Standard_EXPORT 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 . | |
virtual Standard_EXPORT void | SetVIsoAspect (const Handle(Prs3d_IsoAspect)&anAspect) |
Sets the appearance of V isoparameters - anAspect. . | |
virtual Standard_EXPORT Handle_Prs3d_LineAspect | FreeBoundaryAspect () |
Stores the values for presentation of free boundaries, in other words, boundaries which are not shared. The LineAspect for the free boundaries can be edited. The default values are: Color: Quantity_NOC_GREEN Type of line: Aspect_TOL_SOLID Width: 1. These attributes are used by the algorithm Prs3d_WFShape . | |
virtual Standard_EXPORT void | SetFreeBoundaryAspect (const Handle(Prs3d_LineAspect)&anAspect) |
Sets the parameter anAspect for the display of free boundaries. . | |
virtual Standard_EXPORT void | SetFreeBoundaryDraw (const Standard_Boolean OnOff) |
Sets free boundary drawing on or off by setting the parameter OnOff to true or false. . | |
virtual Standard_EXPORT Standard_Boolean | FreeBoundaryDraw () const |
Returns True if the drawing of the shared boundaries is disabled. True is the default setting. . | |
virtual Standard_EXPORT Handle_Prs3d_LineAspect | WireAspect () |
Returns wire aspect settings. The LineAspect for the wire can be edited. The default values are: Color: Quantity_NOC_RED Type of line: Aspect_TOL_SOLID Width: 1. These attributes are used by the algorithm Prs3d_WFShape . | |
virtual Standard_EXPORT void | SetWireAspect (const Handle(Prs3d_LineAspect)&anAspect) |
Sets the parameter anAspect for display of wires. . | |
virtual Standard_EXPORT void | SetWireDraw (const Standard_Boolean OnOff) |
Sets WireDraw on or off by setting the parameter OnOff to true or false. . | |
virtual Standard_EXPORT Standard_Boolean | WireDraw () const |
returns True if the drawing of the wire is enabled. | |
virtual Standard_EXPORT Handle_Prs3d_LineAspect | UnFreeBoundaryAspect () |
Returns settings for shared boundary line aspects. The LineAspect for the unfree boundaries can be edited. The default values are: Color: Quantity_NOC_YELLOW Type of line: Aspect_TOL_SOLID Width: 1. These attributes are used by the algorithm Prs3d_WFShape . | |
virtual Standard_EXPORT void | SetUnFreeBoundaryAspect (const Handle(Prs3d_LineAspect)&anAspect) |
Sets the parameter anAspect for the display of shared boundaries. . | |
virtual Standard_EXPORT void | SetUnFreeBoundaryDraw (const Standard_Boolean OnOff) |
Sets FreeBoundaryDraw on or off by setting the parameter OnOff to true or false. By default the unfree boundaries are drawn. . | |
virtual Standard_EXPORT Standard_Boolean | UnFreeBoundaryDraw () const |
Returns True if the drawing of the shared boundaries is enabled. True is the default setting. . | |
virtual Standard_EXPORT Handle_Prs3d_LineAspect | LineAspect () |
Returns settings for line aspects. These settings can be edited. The default values are: Color: Quantity_NOC_YELLOW Type of line: Aspect_TOL_SOLID Width: 1. These attributes are used by the following algorithms: Prs3d_Curve Prs3d_Line Prs3d_HLRShape . | |
virtual Standard_EXPORT void | SetLineAspect (const Handle(Prs3d_LineAspect)&anAspect) |
Sets the parameter anAspect for display attributes of lines. . | |
virtual Standard_EXPORT Handle_Prs3d_TextAspect | TextAspect () |
Returns settings for text aspect. These settings can be edited. The default value is: - Color: Quantity_NOC_YELLOW . | |
virtual Standard_EXPORT void | SetTextAspect (const Handle(Prs3d_TextAspect)&anAspect) |
Sets the parameter anAspect for display attributes of text. . | |
virtual Standard_EXPORT 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. | |
virtual Standard_EXPORT Standard_Boolean | LineArrowDraw () const |
Sets LineArrowDraw on or off by setting the parameter OnOff to true or false. . | |
virtual Standard_EXPORT Handle_Prs3d_ArrowAspect | ArrowAspect () |
Returns the attributes for display of arrows. . | |
virtual Standard_EXPORT void | SetArrowAspect (const Handle(Prs3d_ArrowAspect)&anAspect) |
Sets the parameter anAspect for display attributes of arrows. . | |
virtual Standard_EXPORT Handle_Prs3d_PointAspect | PointAspect () |
Returns the point aspect setting. The default values are Color: Quantity_NOC_YELLOW Type of marker: Aspect_TOM_PLUS Scale: 1. These attributes are used by the algorithms Prs3d_Point. . | |
virtual Standard_EXPORT void | SetPointAspect (const Handle(Prs3d_PointAspect)&anAspect) |
Sets the parameter anAspect for display attributes of points . | |
virtual Standard_EXPORT Handle_Prs3d_ShadingAspect | ShadingAspect () |
Returns settings for shading aspects. These settings can be edited. The default values are: - Color: Quantity_NOC_YELLOW - Material: Graphic3d_NOM_BRASS Shading 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. . | |
virtual Standard_EXPORT void | SetShadingAspect (const Handle(Prs3d_ShadingAspect)&anAspect) |
Sets the parameter anAspect for display attributes of shading. . | |
virtual Standard_EXPORT 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. | |
virtual Standard_EXPORT Standard_Boolean | ShadingAspectGlobal () const |
virtual Standard_EXPORT Standard_Boolean | DrawHiddenLine () const |
returns Standard_True if the hidden lines are to be drawn. By default the hidden lines are not drawn. | |
virtual Standard_EXPORT void | EnableDrawHiddenLine () |
Enables the DrawHiddenLine function. . | |
virtual Standard_EXPORT void | DisableDrawHiddenLine () |
Disables the DrawHiddenLine function. . | |
virtual Standard_EXPORT Handle_Prs3d_LineAspect | HiddenLineAspect () |
Returns settings for hidden line aspects. These settings can be edited. The default values are: Color: Quantity_NOC_YELLOW Type of line: Aspect_TOL_DASH Width: 1. . | |
virtual Standard_EXPORT void | SetHiddenLineAspect (const Handle(Prs3d_LineAspect)&anAspect) |
Sets the parameter anAspect for the display of hidden lines in hidden line removal mode. . | |
virtual Standard_EXPORT Handle_Prs3d_LineAspect | SeenLineAspect () |
Returns settings for seen line aspects. These settings can be edited. The default values are: Color: Quantity_NOC_YELLOW Type of line: Aspect_TOL_SOLID Width: 1. . | |
virtual Standard_EXPORT void | SetSeenLineAspect (const Handle(Prs3d_LineAspect)&anAspect) |
Sets the parameter anAspect for the display of seen lines in hidden line removal mode. . | |
virtual Standard_EXPORT Handle_Prs3d_PlaneAspect | PlaneAspect () |
Returns settings for the appearance of planes. . | |
virtual Standard_EXPORT void | SetPlaneAspect (const Handle(Prs3d_PlaneAspect)&anAspect) |
Sets the parameter anAspect for the display of planes. . | |
virtual Standard_EXPORT Handle_Prs3d_LineAspect | VectorAspect () |
Returns settings for the appearance of vectors. These settings can be edited. The default values are: Color: Quantity_NOC_SKYBLUE Type of line: Aspect_TOL_SOLID Width: 1. . | |
virtual Standard_EXPORT void | SetVectorAspect (const Handle(Prs3d_LineAspect)&anAspect) |
Sets the modality anAspect for the display of vectors. . | |
virtual Standard_EXPORT Handle_Prs3d_DatumAspect | DatumAspect () |
Returns settings for the appearance of datums. These settings can be edited. The default values for the three axes are: Color: Quantity_NOC_PEACHPUFF Type of line: Aspect_TOL_SOLID Width: 1. . | |
virtual Standard_EXPORT void | SetDatumAspect (const Handle(Prs3d_DatumAspect)&anAspect) |
Sets the modality anAspect for the display of datums. . | |
virtual Standard_EXPORT Handle_Prs3d_LengthAspect | LengthAspect () |
Returns settings for the appearance of lengths. . | |
virtual Standard_EXPORT void | SetLengthAspect (const Handle(Prs3d_LengthAspect)&anAspect) |
Sets the modality anAspect for display of lengths. . | |
virtual Standard_EXPORT Handle_Prs3d_AngleAspect | AngleAspect () |
Returns settings for lines used to display angles. . | |
virtual Standard_EXPORT void | SetAngleAspect (const Handle(Prs3d_AngleAspect)&anAspect) |
Sets the modality anAspect for the display of angles. . | |
virtual Standard_EXPORT Handle_Prs3d_RadiusAspect | RadiusAspect () const |
Returns settings for lines which serve to display radii. . | |
virtual Standard_EXPORT void | SetRadiusAspect (const Handle(Prs3d_RadiusAspect)&anAspect) |
Sets the parameter anAspect for display attributes of radii. . | |
virtual Standard_EXPORT Handle_Prs3d_LineAspect | SectionAspect () |
The LineAspect for the wire can be edited. The default values are: Color: Quantity_NOC_ORANGE Type of line: Aspect_TOL_SOLID Width: 1. These attributes are used by the algorithm Prs3d_WFShape . | |
virtual Standard_EXPORT void | SetSectionAspect (const Handle(Prs3d_LineAspect)&anAspect) |
Sets the parameter anAspect for display attributes of sections. . | |
virtual Standard_EXPORT void | Print (Standard_OStream &s) const |
Standard_EXPORT const | Handle (Standard_Type)&DynamicType() const |
Protected Attributes | |
Handle_Prs3d_IsoAspect | myUIsoAspect |
Handle_Prs3d_IsoAspect | myVIsoAspect |
Standard_Integer | myNbPoints |
Standard_Boolean | myIsoOnPlane |
Handle_Prs3d_LineAspect | myFreeBoundaryAspect |
Standard_Boolean | myFreeBoundaryDraw |
Handle_Prs3d_LineAspect | myUnFreeBoundaryAspect |
Standard_Boolean | myUnFreeBoundaryDraw |
Handle_Prs3d_LineAspect | myWireAspect |
Standard_Boolean | myWireDraw |
Handle_Prs3d_LineAspect | myLineAspect |
Handle_Prs3d_TextAspect | myTextAspect |
Handle_Prs3d_ShadingAspect | myShadingAspect |
Standard_Boolean | myShadingAspectGlobal |
Quantity_Length | myChordialDeviation |
Aspect_TypeOfDeflection | myTypeOfDeflection |
Standard_Real | myMaximalParameterValue |
Standard_Real | myDeviationCoefficient |
Standard_Real | myHLRDeviationCoefficient |
Standard_Real | myDeviationAngle |
Standard_Real | myHLRAngle |
Handle_Prs3d_PointAspect | myPointAspect |
Handle_Prs3d_PlaneAspect | myPlaneAspect |
Handle_Prs3d_ArrowAspect | myArrowAspect |
Standard_Boolean | myLineDrawArrow |
Standard_Boolean | myDrawHiddenLine |
Handle_Prs3d_LineAspect | myHiddenLineAspect |
Handle_Prs3d_LineAspect | mySeenLineAspect |
Handle_Prs3d_LineAspect | myVectorAspect |
Handle_Prs3d_DatumAspect | myDatumAspect |
Standard_Real | myDatumScale |
Handle_Prs3d_LengthAspect | myLengthAspect |
Handle_Prs3d_AngleAspect | myAngleAspect |
Handle_Prs3d_RadiusAspect | myRadiusAspect |
Handle_Prs3d_LineAspect | mySectionAspect |
|
|
|
Reimplemented in AIS_Drawer. |
|
Reimplemented in AIS_Drawer. |
|
Reimplemented in AIS_Drawer. |
|
Reimplemented in AIS_Drawer. |
|
Reimplemented in AIS_Drawer. |
|
|
|
Reimplemented in AIS_Drawer. |
|
Reimplemented in AIS_Drawer. |
|
|
|
Reimplemented in AIS_Drawer. |
|
Reimplemented in AIS_Drawer. |
|
Reimplemented in AIS_Drawer. |
|
Reimplemented in AIS_Drawer. |
|
Reimplemented in AIS_Drawer. |
|
Reimplemented in AIS_Drawer. |
|
Reimplemented in AIS_Drawer. |
|
Reimplemented in AIS_Drawer. |
|
Reimplemented in AIS_Drawer. |
|
Reimplemented in AIS_Drawer. |
|
Reimplemented in AIS_Drawer. |
|
Reimplemented in AIS_Drawer. |
|
Reimplemented in AIS_Drawer. |
|
Reimplemented in AIS_Drawer. |
|
|
|
Reimplemented in AIS_Drawer. |
|
Reimplemented in AIS_Drawer. |
|
Reimplemented in AIS_Drawer. |
|
|
|
|
|
|
|
Reimplemented in AIS_Drawer. |
|
Reimplemented in AIS_Drawer. |
|
|
|
|
|
|
|
|
|
Reimplemented in AIS_Drawer. |
|
Reimplemented in AIS_Drawer. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented in AIS_Drawer. |
|
Reimplemented in AIS_Drawer. |
|
Reimplemented in AIS_Drawer. |
|
Reimplemented in AIS_Drawer. |
|
Reimplemented in AIS_Drawer. |
|
Reimplemented in AIS_Drawer. |
|
Reimplemented in AIS_Drawer. |
|
Reimplemented in AIS_Drawer. |
|
Reimplemented in AIS_Drawer. |
|
Reimplemented in AIS_Drawer. |
|
Reimplemented in AIS_Drawer. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|