-// Copyright (C) 2017 CEA/DEN, EDF R&D
+// Copyright (C) 2017-2022 CEA/DEN, EDF R&D
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
-// See http://www.salome-platform.org/ or
-// email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
// File: PartSet_CenterPrs.cpp
#include <Geom_CartesianPoint.hxx>
#include <Prs3d_PointAspect.hxx>
#include <Graphic3d_AspectMarker3d.hxx>
-#include <Prs3d_Root.hxx>
#include <Graphic3d_ArrayOfPoints.hxx>
#include <AIS_InteractiveContext.hxx>
PtA->SetColor(theColor);
Handle(Geom_Point) aPnt = Component();
- Handle(Graphic3d_Group) TheGroup = Prs3d_Root::CurrentGroup(thePrs);
+ Handle(Graphic3d_Group) TheGroup = thePrs->CurrentGroup();
TheGroup->SetPrimitivesAspect(PtA);
Handle(Graphic3d_ArrayOfPoints) aPoint = new Graphic3d_ArrayOfPoints (1);
}
void PartSet_CenterPrs::HilightSelected(const Handle(PrsMgr_PresentationManager3d)& PM,
- const SelectMgr_SequenceOfOwner& Seq)
+ const SelectMgr_SequenceOfOwner& /*Seq*/)
{
Handle( Prs3d_Presentation ) aSelectionPrs = GetSelectPresentation( PM );
aSelectionPrs->Clear();
}
void PartSet_CenterPrs::HilightOwnerWithColor(const Handle(PrsMgr_PresentationManager3d)& thePM,
- const Handle(Graphic3d_HighlightStyle)& theStyle,
- const Handle(SelectMgr_EntityOwner)& theOwner)
+ const Handle(Prs3d_Drawer)& theStyle,
+ const Handle(SelectMgr_EntityOwner)& /*theOwner*/)
{
Handle( Prs3d_Presentation ) aHilightPrs = GetHilightPresentation( thePM );
aHilightPrs->Clear();