|
Open CASCADE Technology
6.5.4
|
A framework to manage 2D displays, graphic entities
and their updates. Plotters, Highlights, Minima
maxima, immediate display (of transient graphic data???].
#include <PrsMgr_PresentationManager2d.hxx>

Public Member Functions | |
| PrsMgr_PresentationManager2d (const Handle< Graphic2d_View > &aStructureManager) | |
| Creates a framework to manage displays and graphic entities with the 2D view aStructureManager. | |
| Standard_Boolean | Is3D () const |
| 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. | |
| 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. | |
| 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_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. | |
| 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_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>. | |
| void | InitMinMax () |
| Initializes a list of 2D objects for which minima and maxima will be calculated. | |
| 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. | |
| 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. | |
| void | SetHighlightColor (const Standard_Integer anIndex) |
| Sets the highlight color index anIndex. | |
| Handle_Graphic2d_View | StructureManager () const |
| Returns the structure manager. | |
| void | BeginDraw () |
| initializes the list of Prs to be displayed in transient mode | |
| void | AddToImmediateList (const Handle< Graphic2d_GraphicObject > &aGO) |
| 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. | |
| 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 | |
| Handle_PrsMgr_Presentation2d | CastPresentation (const Handle< PrsMgr_PresentableObject > &aPresentableObject, const Standard_Integer aMode=0) const |
| Handle_PrsMgr_Presentation | newPresentation (const Handle< PrsMgr_PresentableObject > &aPresentableObject) |
| Creates a new presentation in the presentation manager. | |
| PrsMgr_PresentationManager2d::PrsMgr_PresentationManager2d | ( | const Handle< Graphic2d_View > & | aStructureManager | ) |
| void PrsMgr_PresentationManager2d::AddMinMax | ( | const Handle< PrsMgr_PresentableObject > & | aPresentableObject, |
| const Standard_Integer | aMode = 0 |
||
| ) |
| void PrsMgr_PresentationManager2d::AddToImmediateList | ( | const Handle< Graphic2d_GraphicObject > & | aGO | ) |
| void PrsMgr_PresentationManager2d::BeginDraw | ( | ) | [virtual] |
Reimplemented from PrsMgr_PresentationManager.
| Handle_PrsMgr_Presentation2d PrsMgr_PresentationManager2d::CastPresentation | ( | const Handle< PrsMgr_PresentableObject > & | aPresentableObject, |
| const Standard_Integer | aMode = 0 |
||
| ) | const |
| void PrsMgr_PresentationManager2d::ColorHighlight | ( | const Handle< PrsMgr_PresentableObject > & | aPresentableObject, |
| const Standard_Integer | anIndex, | ||
| const Standard_Integer | aMode = 0 |
||
| ) |
| void PrsMgr_PresentationManager2d::DisablePlot | ( | const Handle< PrsMgr_PresentableObject > & | aPresentableObject, |
| const Standard_Integer | aMode = 0 |
||
| ) |
| void PrsMgr_PresentationManager2d::Dump | ( | const Handle< Graphic2d_Buffer > & | aBuffer, |
| const Handle< PrsMgr_PresentableObject > & | aPresentableObject, | ||
| const Standard_Integer | aMode = 0 |
||
| ) |
| void PrsMgr_PresentationManager2d::EnablePlot | ( | const Handle< PrsMgr_PresentableObject > & | aPresentableObject, |
| const Standard_Integer | aMode = 0 |
||
| ) |
| void PrsMgr_PresentationManager2d::EndDraw | ( | const Handle< Viewer_View > & | aView, |
| const Standard_Boolean | DoubleBuffer = Standard_False |
||
| ) | [virtual] |
Implements PrsMgr_PresentationManager.
| Standard_Boolean PrsMgr_PresentationManager2d::Is3D | ( | ) | const [virtual] |
Implements PrsMgr_PresentationManager.
| Standard_Boolean PrsMgr_PresentationManager2d::IsPlottable | ( | const Handle< PrsMgr_PresentableObject > & | aPresentableObject, |
| const Standard_Integer | aMode = 0 |
||
| ) | const |
| void PrsMgr_PresentationManager2d::MinMax | ( | Standard_Real & | MinX, |
| Standard_Real & | MaxX, | ||
| Standard_Real & | MinY, | ||
| Standard_Real & | MaxY | ||
| ) | const |
| Handle_PrsMgr_Presentation PrsMgr_PresentationManager2d::newPresentation | ( | const Handle< PrsMgr_PresentableObject > & | aPresentableObject | ) | [virtual] |
Implements PrsMgr_PresentationManager.
| Standard_Integer PrsMgr_PresentationManager2d::Offset | ( | const Handle< PrsMgr_PresentableObject > & | aPresentableObject, |
| const Standard_Integer | aMode = 0 |
||
| ) | const |
| void PrsMgr_PresentationManager2d::SetOffset | ( | const Handle< PrsMgr_PresentableObject > & | aPresentableObject, |
| const Standard_Integer | anOffset, | ||
| const Standard_Integer | aMode = 0 |
||
| ) |
| Handle_Graphic2d_View PrsMgr_PresentationManager2d::StructureManager | ( | ) | const |
1.8.0