-// Copyright (C) 2014-2019 CEA/DEN, EDF R&D
+// Copyright (C) 2014-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
#include <SketchPlugin_Constraint.h>
#include <Graphic3d_AspectLine3d.hxx>
-#include <Prs3d_Root.hxx>
#include <Prs3d_LineAspect.hxx>
-
IMPLEMENT_STANDARD_RTTIEXT(SketcherPrs_Mirror, SketcherPrs_SymbolPrs);
static Handle(Image_AlienPixMap) MyPixMap;
if (anAttrC.get() == NULL)
return aReadyToDisplay;
- SketcherPrs_PositionMgr* aMgr = SketcherPrs_PositionMgr::get();
int aNb = anAttrB->size();
// If size of source objects and mirrored ones is not equal then the constraint is not computed
if (aNb != anAttrC->size())
if (aNb != anAttrC->size())
return;
- Handle(Graphic3d_Group) aGroup = Prs3d_Root::CurrentGroup(thePrs);
+ Handle(Graphic3d_Group) aGroup = thePrs->CurrentGroup();
// drawListOfShapes uses myDrawer for attributes definition
Handle(Prs3d_LineAspect) aLnAspect = new Prs3d_LineAspect(theColor, Aspect_TOL_SOLID, 1);