Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Union of validator and filter functionalities.
[modules/shaper.git]
/
src
/
SketcherPrs
/
SketcherPrs_Parallel.cpp
diff --git
a/src/SketcherPrs/SketcherPrs_Parallel.cpp
b/src/SketcherPrs/SketcherPrs_Parallel.cpp
index 09aebca45e48f0bf4b916e7682f154c09796e119..6b7e071946cb9f67986edadae00d4f49ab2b7965 100644
(file)
--- a/
src/SketcherPrs/SketcherPrs_Parallel.cpp
+++ b/
src/SketcherPrs/SketcherPrs_Parallel.cpp
@@
-8,32
+8,11
@@
#include "SketcherPrs_Tools.h"
#include "SketcherPrs_PositionMgr.h"
#include "SketcherPrs_Tools.h"
#include "SketcherPrs_PositionMgr.h"
-#include <GeomAPI_Pnt.h>
-
#include <SketchPlugin_Constraint.h>
#include <SketchPlugin_Constraint.h>
-#include <AIS_Drawer.hxx>
-#include <gp_Pnt2d.hxx>
-
-#include <Prs3d_PointAspect.hxx>
-#include <Prs3d_Root.hxx>
-#include <Prs3d_LineAspect.hxx>
-
-#include <Graphic3d_MarkerImage.hxx>
-#include <Graphic3d_AspectMarker3d.hxx>
#include <Graphic3d_AspectLine3d.hxx>
#include <Graphic3d_AspectLine3d.hxx>
-#include <Graphic3d_ArrayOfSegments.hxx>
-
-#include <Select3D_SensitivePoint.hxx>
-#include <Select3D_SensitiveSegment.hxx>
-
-#include <SelectMgr_SequenceOfOwner.hxx>
-#include <SelectMgr_Selection.hxx>
-#include <SelectMgr_EntityOwner.hxx>
-
+#include <Prs3d_Root.hxx>
-extern std::shared_ptr<GeomAPI_Pnt2d> getFeaturePoint(DataPtr theData,
- const std::string& theAttribute);
IMPLEMENT_STANDARD_HANDLE(SketcherPrs_Parallel, SketcherPrs_SymbolPrs);
IMPLEMENT_STANDARD_HANDLE(SketcherPrs_Parallel, SketcherPrs_SymbolPrs);
@@
-59,11
+38,11
@@
void SketcherPrs_Parallel::Compute(const Handle(PrsMgr_PresentationManager3d)& t
ObjectPtr aObj1 = SketcherPrs_Tools::getResult(myConstraint, SketchPlugin_Constraint::ENTITY_A());
ObjectPtr aObj2 = SketcherPrs_Tools::getResult(myConstraint, SketchPlugin_Constraint::ENTITY_B());
ObjectPtr aObj1 = SketcherPrs_Tools::getResult(myConstraint, SketchPlugin_Constraint::ENTITY_A());
ObjectPtr aObj2 = SketcherPrs_Tools::getResult(myConstraint, SketchPlugin_Constraint::ENTITY_B());
- std::shared_ptr<GeomAPI_Shape> aLine1 = SketcherPrs_Tools::get
Lin
e(aObj1);
+ std::shared_ptr<GeomAPI_Shape> aLine1 = SketcherPrs_Tools::get
Shap
e(aObj1);
if (aLine1.get() == NULL)
return;
if (aLine1.get() == NULL)
return;
- std::shared_ptr<GeomAPI_Shape> aLine2 = SketcherPrs_Tools::get
Lin
e(aObj2);
+ std::shared_ptr<GeomAPI_Shape> aLine2 = SketcherPrs_Tools::get
Shap
e(aObj2);
if (aLine2.get() == NULL)
return;
if (aLine2.get() == NULL)
return;