#include <PrsMgr_PresentableObject.hxx>
Inheritance diagram for PrsMgr_PresentableObject:
Public Member Functions | |
Standard_EXPORT PrsMgr_TypeOfPresentation3d | TypeOfPresentation3d () const |
Returns information on whether the object accepts display in HLR mode or not. . | |
virtual Standard_EXPORT void | SetTransformPersistence (const Graphic3d_TransModeFlags &aFlag, const gp_Pnt &APoint) |
Sets up Transform Persistence Mode for this object . | |
Standard_EXPORT void | SetTransformPersistence (const Graphic3d_TransModeFlags &aFlag) |
Calls previous method with point (0,0,0) . | |
Standard_EXPORT Graphic3d_TransModeFlags | GetTransformPersistenceMode () const |
Gets Transform Persistence Mode for this object . | |
Standard_EXPORT gp_Pnt | GetTransformPersistencePoint () const |
Gets point of transform persistence for this object . | |
Standard_EXPORT void | SetTypeOfPresentation (const PrsMgr_TypeOfPresentation3d aType) |
Standard_EXPORT void | SetToUpdate (const Standard_Integer aMode) |
flags the Prs of mode <amode> to be Updated. the Update will be done when needed. | |
Standard_EXPORT void | SetToUpdate () |
flags all the Presentations to be Updated. | |
Standard_EXPORT void | ToBeUpdated (TColStd_ListOfInteger &ListOfMode) const |
gives the list of modes which are flagged "to be updated". | |
virtual Standard_EXPORT void | SetLocation (const TopLoc_Location &aLoc) |
Standard_EXPORT Standard_Boolean | HasLocation () const |
const TopLoc_Location & | Location () const |
virtual Standard_EXPORT void | ResetLocation () |
virtual Standard_EXPORT void | UpdateLocation () |
virtual Standard_EXPORT void | UpdateLocation (const Handle(Prs3d_Presentation)&P) |
Standard_EXPORT const | Handle (Standard_Type)&DynamicType() const |
Protected Member Functions | |
Standard_EXPORT | PrsMgr_PresentableObject (const PrsMgr_TypeOfPresentation3d aTypeOfPresentation3d=PrsMgr_TOP_AllView) |
virtual Standard_EXPORT void | Compute (const Handle(PrsMgr_PresentationManager2d)&aPresentationManager, const Handle(Graphic2d_GraphicObject)&aPresentation, const Standard_Integer aMode=0) |
Calculates the 2D view aPresentation and its updates. The latter are managed by aPresentationManager. aPresentableObject has the display mode aMode; this has the default value of 0, that is, the wireframe display mode. Note that this syntax is not used in AIS as that package only concerns 3D display. . | |
virtual Standard_EXPORT void | Compute (const Handle(PrsMgr_PresentationManager3d)&aPresentationManager, const Handle(Prs3d_Presentation)&aPresentation, const Standard_Integer aMode=0) |
Calculates the 3D view aPresentation and its updates. The latter are managed by aPresentationManager. aPresentableObject has the display mode aMode; this has the default value of 0, that is, the wireframe display mode. . | |
virtual Standard_EXPORT void | Compute (const Handle(Prs3d_Projector)&aProjector, const Handle(Prs3d_Presentation)&aPresentation) |
Calculates the 3D view aPresentation and its updates. The latter are managed by aPresentationManager. Each of the views in the viewer and every modification such as rotation, for example, entails recalculation. It must be redefined to implement hidden line removal for the object. The user never calls this method himself. This is done via the InteractiveContext object and is dependent on the point of view from which the object is displayed. . | |
virtual Standard_EXPORT void | Compute (const Handle(Prs3d_Projector)&aProjector, const Handle(Geom_Transformation)&aTrsf, const Handle(Prs3d_Presentation)&aPresentation) |
Calculates the 3D view aPresentation and its updates. The latter are managed by aPresentationManager. A point of view is provided by the projector aProjector, and the geometric transformation which has transformed associated presentable objects is specified by aTrsf. This function is to be used in case where a hidden line removal display cannot be calculated automatically. This occurs when associated presentable objects have been transformed geometrically, but not translated. Warning The transformation aTrsf must be applied to the object before computation. . | |
Standard_EXPORT void | Update (const Standard_Boolean AllModes=Standard_False) |
recomputes all presentations of the object. | |
Standard_EXPORT void | Update (const Standard_Integer aMode, const Standard_Boolean ClearOther) |
Recomputes the presentation in the given mode. If ClearOther is true, other presentation will be cleared. . | |
virtual Standard_EXPORT void | Fill (const Handle(PrsMgr_PresentationManager)&aPresentationManager, const Handle(PrsMgr_Presentation)&aPresentation, const Standard_Integer aMode=0) |
High-level interface for controlling polygon offsets . | |
Standard_EXPORT PrsMgr_Presentations & | Presentations () |
Protected Attributes | |
PrsMgr_Presentations | myPresentations |
PrsMgr_TypeOfPresentation3d | myTypeOfPresentation3d |
TopLoc_Location | myLocation |
Private Attributes | |
Graphic3d_CTransPersStruct | myTransformPersistence |
Friends | |
Standard_EXPORT Handle_Graphic3d_Structure | PrsMgr_Presentation3d::Compute (const Handle(Graphic3d_DataStructureManager)&aProjector) |
Standard_EXPORT void | PrsMgr_Presentation3d::Compute (const Handle(Graphic3d_DataStructureManager)&aProjector, const Handle(Graphic3d_Structure)&aGivenStruct) |
Standard_EXPORT Handle_Graphic3d_Structure | PrsMgr_Presentation3d::Compute (const Handle(Graphic3d_DataStructureManager)&aProjector, const Handle(Geom_Transformation)&TheTrsf) |
Standard_EXPORT void | PrsMgr_Presentation3d::Compute (const Handle(Graphic3d_DataStructureManager)&aProjector, const Handle(Geom_Transformation)&TheTrsf, const Handle(Graphic3d_Structure)&aGivenStruct) |
|
|
|
|
|
|
|
Reimplemented in AIS_InteractiveObject. |
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented in SelectMgr_SelectableObject. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented in AIS_ConnectedInteractive, and SelectMgr_SelectableObject. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|