0031458: Visualization - refine classes across Prs3d and StdPrs packages
[occt.git] / src / IVtkOCC / IVtkOCC_ShapeMesher.cxx
index 643f427..09735d6 100644 (file)
@@ -40,6 +40,7 @@
 #include <Prs3d_IsoAspect.hxx>
 #include <Standard_ErrorHandler.hxx>
 #include <StdPrs_Isolines.hxx>
+#include <StdPrs_ToolTriangulatedShape.hxx>
 #include <TColgp_SequenceOfPnt2d.hxx>
 #include <TColStd_Array1OfReal.hxx>
 #include <TopExp.hxx>
@@ -94,7 +95,7 @@ Standard_Real IVtkOCC_ShapeMesher::GetDeflection() const
     Handle(Prs3d_Drawer) aDefDrawer = new Prs3d_Drawer();
     aDefDrawer->SetTypeOfDeflection (Aspect_TOD_RELATIVE);
     aDefDrawer->SetDeviationCoefficient (GetDeviationCoeff());
-    myDeflection = Prs3d::GetDeflection (GetShapeObj()->GetShape(), aDefDrawer);
+    myDeflection = StdPrs_ToolTriangulatedShape::GetDeflection (GetShapeObj()->GetShape(), aDefDrawer);
   }
 
   return myDeflection;