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
Issue #1787 : code's adjusting
[modules/shaper.git]
/
src
/
PartSet
/
PartSet_WidgetSubShapeSelector.h
diff --git
a/src/PartSet/PartSet_WidgetSubShapeSelector.h
b/src/PartSet/PartSet_WidgetSubShapeSelector.h
index b93f4d0742a91d016c9eaca0c681aef9582b690a..376ffb139fe863b2b7e6b989aa9ffce090063ce5 100644
(file)
--- a/
src/PartSet/PartSet_WidgetSubShapeSelector.h
+++ b/
src/PartSet/PartSet_WidgetSubShapeSelector.h
@@
-9,12
+9,11
@@
#define PartSet_WidgetSubShapeSelector_H
#include "PartSet.h"
#define PartSet_WidgetSubShapeSelector_H
#include "PartSet.h"
+#include "PartSet_MouseProcessor.h"
#include <ModuleBase_WidgetShapeSelector.h>
#include <ModuleBase_WidgetShapeSelector.h>
-#include <PartSet_MouseProcessor.h>
#include <ModelAPI_CompositeFeature.h>
#include <ModelAPI_CompositeFeature.h>
-#include <GeomDataAPI_Point2D.h>
#include <QObject>
#include <QObject>
@@
-26,6
+25,9
@@
class Config_WidgetAPI;
class ModuleBase_IViewWindow;
class ModuleBase_ViewerPrs;
class ModuleBase_IViewWindow;
class ModuleBase_ViewerPrs;
+class GeomAPI_Pnt;
+class GeomDataAPI_Point2D;
+
class QWidget;
class QMouseEvent;
class QWidget;
class QMouseEvent;
@@
-112,9
+114,12
@@
protected:
protected:
std::shared_ptr<ModuleBase_ViewerPrs> myCurrentSubShape;
std::map<ObjectPtr, std::set<GeomShapePtr> > myCashedShapes;
protected:
std::shared_ptr<ModuleBase_ViewerPrs> myCurrentSubShape;
std::map<ObjectPtr, std::set<GeomShapePtr> > myCashedShapes;
- std::map<ObjectPtr, std::set<AttributePoint2DPtr> > myCashedReferences;
- /// Pointer to a sketch
+ typedef std::map<std::shared_ptr<GeomDataAPI_Point2D>,
+ std::shared_ptr<GeomAPI_Pnt> > PntToAttributesMap;
+ std::map<ObjectPtr, PntToAttributesMap> myCashedReferences;
+
+ /// Pointer to a sketch
CompositeFeaturePtr mySketch;
};
CompositeFeaturePtr mySketch;
};