#include <Aspect_Driver.hxx>
Inheritance diagram for Aspect_Driver:
Public Member Functions | |
virtual Standard_EXPORT void | EndDraw (const Standard_Boolean Synchronize=Standard_False)=0 |
Flush all graphics and Wait after up to date . | |
Standard_EXPORT void | SetColorMap (const Handle(Aspect_ColorMap)&aColorMap) |
Standard_EXPORT void | SetTypeMap (const Handle(Aspect_TypeMap)&aTypeMap) |
Standard_EXPORT void | SetWidthMap (const Handle(Aspect_WidthMap)&aWidthMap) |
Standard_EXPORT void | SetFontMap (const Handle(Aspect_FontMap)&aFontMap, const Standard_Boolean useMFT=Standard_True) |
Sets the current font map to this driver and Enable/Disable this driver to use MDTV fonts instead system fonts. . | |
Standard_EXPORT void | SetMarkMap (const Handle(Aspect_MarkMap)&aMarkMap) |
virtual Standard_EXPORT void | SetLineAttrib (const Standard_Integer ColorIndex, const Standard_Integer TypeIndex, const Standard_Integer WidthIndex)=0 |
virtual Standard_EXPORT void | SetTextAttrib (const Standard_Integer ColorIndex, const Standard_Integer FontIndex)=0 |
virtual Standard_EXPORT void | SetTextAttrib (const Standard_Integer ColorIndex, const Standard_Integer FontIndex, const Quantity_PlaneAngle aSlant, const Quantity_Factor aHScale, const Quantity_Factor aWScale, const Standard_Boolean isUnderlined=Standard_False)=0 |
virtual Standard_EXPORT void | SetPolyAttrib (const Standard_Integer ColorIndex, const Standard_Integer TileIndex, const Standard_Boolean DrawEdge=Standard_False)=0 |
virtual Standard_EXPORT void | SetMarkerAttrib (const Standard_Integer ColorIndex, const Standard_Integer WidthIndex, const Standard_Boolean FillMarker=Standard_False)=0 |
virtual Standard_EXPORT Standard_Boolean | IsKnownImage (const Handle(Standard_Transient)&anImage)=0 |
virtual Standard_EXPORT Standard_Boolean | SizeOfImageFile (const Standard_CString anImageFile, Standard_Integer &aWidth, Standard_Integer &aHeight) const =0 |
virtual Standard_EXPORT void | ClearImage (const Handle(Standard_Transient)&anImageId)=0 |
virtual Standard_EXPORT void | ClearImageFile (const Standard_CString anImageFile)=0 |
virtual Standard_EXPORT void | DrawImage (const Handle(Standard_Transient)&anImageId, const Standard_ShortReal aX, const Standard_ShortReal aY)=0 |
virtual Standard_EXPORT void | DrawImageFile (const Standard_CString anImageFile, const Standard_ShortReal aX, const Standard_ShortReal aY, const Quantity_Factor aScale=1.0)=0 |
virtual Standard_EXPORT void | FillAndDrawImage (const Handle(Standard_Transient)&anImageId, const Standard_ShortReal aX, const Standard_ShortReal aY, const Standard_Integer aWidth, const Standard_Integer aHeight, const Standard_Address anArrayOfPixels)=0 |
Fills a complete Image . . | |
virtual Standard_EXPORT void | FillAndDrawImage (const Handle(Standard_Transient)&anImageId, const Standard_ShortReal aX, const Standard_ShortReal aY, const Standard_Integer anIndexOfLine, const Standard_Integer aWidth, const Standard_Integer aHeight, const Standard_Address anArrayOfPixels)=0 |
Fills a line of the Image . Warning: 0 <= anIndexOfLine < aHeight anIndexOfLine = 0 must be the first call . | |
virtual Standard_EXPORT void | DrawPolyline (const TShort_Array1OfShortReal &aListX, const TShort_Array1OfShortReal &aListY)=0 |
Draw a polyline depending of the SetLineAttrib() attributes. . | |
virtual Standard_EXPORT void | DrawPolygon (const TShort_Array1OfShortReal &aListX, const TShort_Array1OfShortReal &aListY)=0 |
Draw a polygon depending of the SetPolyAttrib() attributes. . | |
virtual Standard_EXPORT void | DrawSegment (const Standard_ShortReal X1, const Standard_ShortReal Y1, const Standard_ShortReal X2, const Standard_ShortReal Y2)=0 |
Draw a segment depending of the SetLineAttrib() attributes. . | |
virtual Standard_EXPORT void | DrawText (const TCollection_ExtendedString &aText, const Standard_ShortReal Xpos, const Standard_ShortReal Ypos, const Standard_ShortReal anAngle=0.0, const Aspect_TypeOfText aType=Aspect_TOT_SOLID)=0 |
Draws a text depending of the SetTextAttrib() attributes. . | |
virtual Standard_EXPORT void | DrawPolyText (const TCollection_ExtendedString &aText, const Standard_ShortReal Xpos, const Standard_ShortReal Ypos, const Quantity_Ratio aMarge=0.1, const Standard_ShortReal anAngle=0.0, const Aspect_TypeOfText aType=Aspect_TOT_SOLID)=0 |
Draws an framed text depending of the SetTextAttrib() and SetPolyAttrib() attributes. Warning: Coordinates must be defined in DWU space. <amarge> defines the ratio of the space between the polygon borders and the bounding box of the text and depending of the height of the text. . | |
virtual Standard_EXPORT void | DrawPoint (const Standard_ShortReal X, const Standard_ShortReal Y)=0 |
Draws a 1 PIXEL point depending of the SetMarkerAttrib() . | |
virtual Standard_EXPORT void | DrawMarker (const Standard_Integer aMarker, const Standard_ShortReal Xpos, const Standard_ShortReal Ypos, const Standard_ShortReal Width, const Standard_ShortReal Height, const Standard_ShortReal Angle=0.0)=0 |
Draws the prevously defined marker <amarker> . | |
virtual Standard_EXPORT Standard_Boolean | DrawArc (const Standard_ShortReal X, const Standard_ShortReal Y, const Standard_ShortReal anXradius, const Standard_ShortReal anYradius, const Standard_ShortReal aStartAngle=0.0, const Standard_ShortReal anOpenAngle=6.283185)=0 |
Draws an Ellipsoid arc of center <X,Y> and Radius . | |
virtual Standard_EXPORT Standard_Boolean | DrawPolyArc (const Standard_ShortReal X, const Standard_ShortReal Y, const Standard_ShortReal anXradius, const Standard_ShortReal anYradius, const Standard_ShortReal aStartAngle=0.0, const Standard_ShortReal anOpenAngle=6.283185)=0 |
Draws an filled Ellipsoid arc of center <X,Y> and Radius . | |
virtual Standard_EXPORT void | BeginPolyline (const Standard_Integer aNumber)=0 |
Begin an incremental polyline primitive of <anumber> of points . Warning: Points must be added by the the DrawPoint() method. . | |
virtual Standard_EXPORT void | BeginPolygon (const Standard_Integer aNumber)=0 |
Begin an incremental polygon primitive of <anumber> of points . Warning: Points must be added by the the DrawPoint() method. . | |
virtual Standard_EXPORT void | BeginSegments ()=0 |
Begin a set of segments . Warning: Segments must be added by the DrawSegment() method. . | |
virtual Standard_EXPORT void | BeginArcs ()=0 |
Begin a set of circles or ellips . Warning: Arcs must be added by the DrawArc() methods. . | |
virtual Standard_EXPORT void | BeginPolyArcs ()=0 |
Begin a set of polygon circles or ellips . Warning: Arcs must be added by the DrawPolyArc() methods. . | |
virtual Standard_EXPORT void | BeginMarkers ()=0 |
Begin a set of markers . Warning: Markers must be added by the DrawMarker() method. . | |
virtual Standard_EXPORT void | BeginPoints ()=0 |
Begin a set of points . Warning: Points must be added by the DrawPoint() method. . | |
virtual Standard_EXPORT void | ClosePrimitive ()=0 |
Close the last Begining primitive . | |
Standard_EXPORT Handle_Aspect_ColorMap | ColorMap () const |
Standard_EXPORT Handle_Aspect_TypeMap | TypeMap () const |
Standard_EXPORT Handle_Aspect_WidthMap | WidthMap () const |
Standard_EXPORT Handle_Aspect_FontMap | FontMap () const |
Standard_EXPORT Handle_Aspect_MarkMap | MarkMap () const |
virtual Standard_EXPORT void | WorkSpace (Quantity_Length &Width, Quantity_Length &Heigth) const =0 |
Returns the Available WorkSpace in DWU coordinates . | |
virtual Standard_EXPORT Quantity_Length | Convert (const Standard_Integer PV) const =0 |
Returns the DWU value depending of the PIXEL value. . | |
virtual Standard_EXPORT Standard_Integer | Convert (const Quantity_Length DV) const =0 |
Returns the PIXEL value depending of the DWU value. . | |
virtual Standard_EXPORT void | Convert (const Standard_Integer PX, const Standard_Integer PY, Quantity_Length &DX, Quantity_Length &DY) const =0 |
Returns the DWU position depending of the PIXEL position . . | |
virtual Standard_EXPORT void | Convert (const Quantity_Length DX, const Quantity_Length DY, Standard_Integer &PX, Standard_Integer &PY) const =0 |
Returns the PIXEL position depending of the DWU position . . | |
Standard_EXPORT Standard_Boolean | UseMFT () const |
Returns TRUE when the driver must use MDTV fonts instead system fonts. . | |
Standard_EXPORT const | Handle (Standard_Type)&DynamicType() const |
Protected Member Functions | |
Standard_EXPORT | Aspect_Driver () |
virtual Standard_EXPORT void | InitializeColorMap (const Handle(Aspect_ColorMap)&aColorMap)=0 |
virtual Standard_EXPORT void | InitializeTypeMap (const Handle(Aspect_TypeMap)&aTypeMap)=0 |
virtual Standard_EXPORT void | InitializeWidthMap (const Handle(Aspect_WidthMap)&aWidthMap)=0 |
virtual Standard_EXPORT void | InitializeFontMap (const Handle(Aspect_FontMap)&aFontMap)=0 |
virtual Standard_EXPORT void | InitializeMarkMap (const Handle(Aspect_MarkMap)&aMarkMap)=0 |
Private Attributes | |
Handle_Aspect_ColorMap | myColorMap |
Handle_Aspect_TypeMap | myTypeMap |
Handle_Aspect_WidthMap | myWidthMap |
Handle_Aspect_FontMap | myFontMap |
Handle_Aspect_MarkMap | myMarkMap |
Standard_Boolean | myColorMapIsDefined |
Standard_Boolean | myWidthMapIsDefined |
Standard_Boolean | myTypeMapIsDefined |
Standard_Boolean | myFontMapIsDefined |
Standard_Boolean | myMarkMapIsDefined |
Standard_Boolean | myUseMFT |
|
|
|
Implemented in PlotMgt_PlotterDriver, WNT_DDriver, WNT_WDriver, and Xw_Driver. |
|
Implemented in PlotMgt_PlotterDriver, WNT_DDriver, WNT_WDriver, and Xw_Driver. |
|
Implemented in PlotMgt_PlotterDriver, WNT_DDriver, WNT_WDriver, and Xw_Driver. |
|
Implemented in PlotMgt_PlotterDriver, WNT_DDriver, WNT_WDriver, and Xw_Driver. |
|
Implemented in PlotMgt_PlotterDriver, WNT_DDriver, WNT_WDriver, and Xw_Driver. |
|
Implemented in PlotMgt_PlotterDriver, WNT_DDriver, WNT_WDriver, and Xw_Driver. |
|
Implemented in PlotMgt_PlotterDriver, WNT_DDriver, WNT_WDriver, and Xw_Driver. |
|
Implemented in PlotMgt_PlotterDriver, WNT_DDriver, WNT_WDriver, and Xw_Driver. |
|
Implemented in PlotMgt_PlotterDriver, WNT_DDriver, WNT_WDriver, and Xw_Driver. |
|
Implemented in PlotMgt_PlotterDriver, WNT_DDriver, WNT_WDriver, and Xw_Driver. |
|
|
|
Implemented in PlotMgt_PlotterDriver, WNT_DDriver, WNT_WDriver, and Xw_Driver. |
|
Implemented in PlotMgt_PlotterDriver, WNT_DDriver, WNT_WDriver, and Xw_Driver. |
|
Implemented in PlotMgt_PlotterDriver, WNT_DDriver, WNT_WDriver, and Xw_Driver. |
|
Implemented in PlotMgt_PlotterDriver, WNT_DDriver, WNT_WDriver, and Xw_Driver. |
|
Implemented in PlotMgt_PlotterDriver, WNT_WDriver, and Xw_Driver. |
|
Implemented in PlotMgt_PlotterDriver, WNT_DDriver, WNT_WDriver, and Xw_Driver. |
|
Implemented in PlotMgt_PlotterDriver, WNT_DDriver, WNT_WDriver, and Xw_Driver. |
|
Implemented in PlotMgt_PlotterDriver, WNT_WDriver, and Xw_Driver. |
|
Implemented in PlotMgt_PlotterDriver, WNT_WDriver, and Xw_Driver. |
|
Implemented in PlotMgt_PlotterDriver, WNT_WDriver, and Xw_Driver. |
|
Implemented in PlotMgt_PlotterDriver, WNT_WDriver, and Xw_Driver. |
|
Implemented in PlotMgt_PlotterDriver, WNT_WDriver, and Xw_Driver. |
|
Implemented in PlotMgt_PlotterDriver, WNT_WDriver, and Xw_Driver. |
|
Implemented in PlotMgt_PlotterDriver, WNT_WDriver, and Xw_Driver. |
|
Implemented in PlotMgt_PlotterDriver, WNT_WDriver, and Xw_Driver. |
|
Implemented in CGM_Driver, PlotMgt_ImageDriver, PS_Driver, WNT_DDriver, WNT_WDriver, and Xw_Driver. |
|
Implemented in PlotMgt_PlotterDriver, WNT_DDriver, WNT_WDriver, and Xw_Driver. |
|
Implemented in PlotMgt_PlotterDriver, WNT_DDriver, WNT_WDriver, and Xw_Driver. |
|
|
|
Reimplemented in Aspect_WindowDriver, CGM_Driver, PlotMgt_ImageDriver, PlotMgt_PlotterDriver, PS_Driver, WNT_DDriver, WNT_WDriver, and Xw_Driver. |
|
Implemented in CGM_Driver, PlotMgt_PlotterDriver, PS_Driver, WNT_DDriver, WNT_WDriver, and Xw_Driver. |
|
Implemented in PlotMgt_PlotterDriver, PS_Driver, WNT_DDriver, WNT_WDriver, and Xw_Driver. |
|
Implemented in PlotMgt_PlotterDriver, PS_Driver, WNT_DDriver, WNT_WDriver, and Xw_Driver. |
|
Implemented in CGM_Driver, PlotMgt_PlotterDriver, PS_Driver, WNT_DDriver, WNT_WDriver, and Xw_Driver. |
|
Implemented in CGM_Driver, PlotMgt_PlotterDriver, PS_Driver, WNT_DDriver, WNT_WDriver, and Xw_Driver. |
|
Implemented in PlotMgt_PlotterDriver, WNT_DDriver, WNT_WDriver, and Xw_Driver. |
|
|
|
|
|
|
|
Implemented in PlotMgt_PlotterDriver, WNT_DDriver, WNT_WDriver, and Xw_Driver. |
|
Implemented in PlotMgt_PlotterDriver, WNT_DDriver, WNT_WDriver, and Xw_Driver. |
|
|
|
Implemented in PlotMgt_PlotterDriver, WNT_DDriver, WNT_WDriver, and Xw_Driver. |
|
Implemented in PlotMgt_PlotterDriver, PS_Driver, WNT_DDriver, WNT_WDriver, and Xw_Driver. |
|
Implemented in PlotMgt_PlotterDriver, PS_Driver, WNT_DDriver, WNT_WDriver, and Xw_Driver. |
|
|
|
|
|
Implemented in CGM_Driver, PlotMgt_PlotterDriver, PS_Driver, WNT_DDriver, WNT_WDriver, and Xw_Driver. |
|
|
|
|
|
|
|
Implemented in PlotMgt_PlotterDriver, WNT_DDriver, WNT_WDriver, and Xw_Driver. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|