mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0032161: Coding Rules - deprecate obsolete alias PrsMgr_PresentationManager3d
This commit is contained in:
@@ -200,9 +200,9 @@ void XCAFPrs_AISObject::DispatchStyles (const Standard_Boolean theToSyncStyles)
|
||||
//function : Compute
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
void XCAFPrs_AISObject::Compute (const Handle(PrsMgr_PresentationManager3d)& thePresentationManager,
|
||||
const Handle(Prs3d_Presentation)& thePrs,
|
||||
const Standard_Integer theMode)
|
||||
void XCAFPrs_AISObject::Compute (const Handle(PrsMgr_PresentationManager)& thePresentationManager,
|
||||
const Handle(Prs3d_Presentation)& thePrs,
|
||||
const Standard_Integer theMode)
|
||||
{
|
||||
// update shape and sub-shapes styles only on first compute, or on first recompute
|
||||
if (myToSyncStyles)
|
||||
|
@@ -53,14 +53,14 @@ public:
|
||||
protected:
|
||||
|
||||
//! Redefined method to compute presentation.
|
||||
Standard_EXPORT virtual void Compute (const Handle(PrsMgr_PresentationManager3d)& thePresentationManager,
|
||||
const Handle(Prs3d_Presentation)& thePresentation,
|
||||
const Standard_Integer theMode) Standard_OVERRIDE;
|
||||
Standard_EXPORT virtual void Compute (const Handle(PrsMgr_PresentationManager)& thePrsMgr,
|
||||
const Handle(Prs3d_Presentation)& thePrs,
|
||||
const Standard_Integer theMode) Standard_OVERRIDE;
|
||||
|
||||
//! Fills out a default style object which is used when styles are
|
||||
//! not explicitly defined in the document.
|
||||
//! By default, the style uses white color for curves and surfaces.
|
||||
Standard_EXPORT virtual void DefaultStyle (XCAFPrs_Style& theStyle) const;
|
||||
Standard_EXPORT virtual void DefaultStyle (XCAFPrs_Style& theStyle) const;
|
||||
|
||||
protected:
|
||||
|
||||
|
Reference in New Issue
Block a user