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_HVDirection.cpp
diff --git
a/src/SketcherPrs/SketcherPrs_HVDirection.cpp
b/src/SketcherPrs/SketcherPrs_HVDirection.cpp
index 0ad7c1f15db5c9b9c888e2a6dee2b3b5fd4ed294..2c0e892dd0973e70dd28ecab984a2d776c72af9a 100644
(file)
--- a/
src/SketcherPrs/SketcherPrs_HVDirection.cpp
+++ b/
src/SketcherPrs/SketcherPrs_HVDirection.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_HVDirection, SketcherPrs_SymbolPrs);
IMPLEMENT_STANDARD_HANDLE(SketcherPrs_HVDirection, SketcherPrs_SymbolPrs);
@@
-57,7
+36,7
@@
void SketcherPrs_HVDirection::Compute(const Handle(PrsMgr_PresentationManager3d)
prepareAspect();
ObjectPtr aObj1 = SketcherPrs_Tools::getResult(myConstraint, SketchPlugin_Constraint::ENTITY_A());
prepareAspect();
ObjectPtr aObj1 = SketcherPrs_Tools::getResult(myConstraint, SketchPlugin_Constraint::ENTITY_A());
- 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;