#include <PrsMgr_PresentationManager2d.hxx>
Inheritance diagram for PrsMgr_PresentationManager2d:
Public Member Functions | |
Standard_EXPORT | PrsMgr_PresentationManager2d (const Handle(Graphic2d_View)&aStructureManager) |
Creates a framework to manage displays and graphic entities with the 2D view aStructureManager. . | |
Standard_EXPORT Standard_Boolean | Is3D () const |
Standard_EXPORT void | ColorHighlight (const Handle(PrsMgr_PresentableObject)&aPresentableObject, const Standard_Integer anIndex, const Standard_Integer aMode=0) |
Highlights the graphic object aPresentableObject in color by the color index anIndex. aPresentableObject has the display mode aMode. . | |
Standard_EXPORT void | EnablePlot (const Handle(PrsMgr_PresentableObject)&aPresentableObject, const Standard_Integer aMode=0) |
Allows the drawing on a plotter of the graphic object aPresentableObject with the display mode aMode. . | |
Standard_EXPORT void | DisablePlot (const Handle(PrsMgr_PresentableObject)&aPresentableObject, const Standard_Integer aMode=0) |
Forbids the drawing on a plotter of the graphic object aPresentableObject with the display mode aMode. . | |
Standard_EXPORT Standard_Boolean | IsPlottable (const Handle(PrsMgr_PresentableObject)&aPresentableObject, const Standard_Integer aMode=0) const |
Returns Standard_True if the graphic object <me> is plottable, Standard_False if not. . | |
Standard_EXPORT void | SetOffset (const Handle(PrsMgr_PresentableObject)&aPresentableObject, const Standard_Integer anOffset, const Standard_Integer aMode=0) |
Specifies an Offset applied to the original color index of all primitives in the graphic object <me>. Warning: To reset the real color of the primitives you have to call this method with <anoffset> = 0. . | |
Standard_EXPORT Standard_Integer | Offset (const Handle(PrsMgr_PresentableObject)&aPresentableObject, const Standard_Integer aMode=0) const |
Returns the Offset applied to the original color index of all primitives in the graphic object <me>. . | |
Standard_EXPORT void | InitMinMax () |
Initializes a list of 2D objects for which minima and maxima will be calculated. . | |
Standard_EXPORT void | AddMinMax (const Handle(PrsMgr_PresentableObject)&aPresentableObject, const Standard_Integer aMode=0) |
Appends the graphic object aPresentableObject with the display mode aMode to the list of objects for which minima and maxima will be calculated. . | |
Standard_EXPORT void | MinMax (Standard_Real &MinX, Standard_Real &MaxX, Standard_Real &MinY, Standard_Real &MaxY) const |
Returns the minima and maxima for all the graphic objects listed by the AddMinMax function. . | |
Standard_EXPORT void | SetHighlightColor (const Standard_Integer anIndex) |
Sets the highlight color index anIndex. . | |
Standard_EXPORT Handle_Graphic2d_View | StructureManager () const |
Returns the structure manager. . | |
Standard_EXPORT void | BeginDraw () |
initializes the list of Prs to be displayed in transient mode | |
Standard_EXPORT void | AddToImmediateList (const Handle(Graphic2d_GraphicObject)&aGO) |
Standard_EXPORT void | EndDraw (const Handle(Viewer_View)&aView, const Standard_Boolean DoubleBuffer=Standard_False) |
Allows rapid drawing of the view aView by avoiding an update of the whole background. If DoubleBuffer is true, the background is drawn. . | |
Standard_EXPORT void | Dump (const Handle(Graphic2d_Buffer)&aBuffer, const Handle(PrsMgr_PresentableObject)&aPresentableObject, const Standard_Integer aMode=0) |
Dumps the Graphic Primitives of the PresentatbleObject in the buffer . | |
Standard_EXPORT Handle_PrsMgr_Presentation2d | CastPresentation (const Handle(PrsMgr_PresentableObject)&aPresentableObject, const Standard_Integer aMode=0) const |
Standard_EXPORT Handle_PrsMgr_Presentation | newPresentation (const Handle(PrsMgr_PresentableObject)&aPresentableObject) |
Creates a new presentation in the presentation manager. . | |
Standard_EXPORT const | Handle (Standard_Type)&DynamicType() const |
Private Attributes | |
Handle_Graphic2d_View | myStructureManager |
Handle_Graphic2d_DisplayList | MinMaxList |
Handle_Graphic2d_TransientManager | myTM |
TColStd_ListOfTransient | myGOList |
|
|
|
|
|
|
|
Reimplemented from PrsMgr_PresentationManager. |
|
|
|
|
|
|
|
|
|
|
|
Implements PrsMgr_PresentationManager. |
|
Reimplemented from PrsMgr_PresentationManager. |
|
|
|
Implements PrsMgr_PresentationManager. |
|
|
|
|
|
Implements PrsMgr_PresentationManager. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|