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
Changes in the presentations of features
[modules/shaper.git]
/
src
/
SketchPlugin
/
SketchPlugin_Constraint.h
diff --git
a/src/SketchPlugin/SketchPlugin_Constraint.h
b/src/SketchPlugin/SketchPlugin_Constraint.h
index 632243ba608557cc11ea325f61724794fde566ce..5db923562970fa009ed3939fc100e20c5d53c083 100644
(file)
--- a/
src/SketchPlugin/SketchPlugin_Constraint.h
+++ b/
src/SketchPlugin/SketchPlugin_Constraint.h
@@
-12,9
+12,6
@@
#include <ModelAPI_AttributeRefAttr.h>
#include <list>
#include <ModelAPI_AttributeRefAttr.h>
#include <list>
-const int CONSTRAINT_TEXT_HEIGHT = 28; /// the text height of the constraint
-const int CONSTRAINT_TEXT_SELECTION_TOLERANCE = 20; /// the text selection tolerance
-
/* Description:
* Each constraint uses a set of parameters. In the SolveSpace library
/* Description:
* Each constraint uses a set of parameters. In the SolveSpace library
@@
-69,7
+66,8
@@
public:
SKETCHPLUGIN_EXPORT virtual const boost::shared_ptr<GeomAPI_Shape>& preview();
/// Returns the AIS preview
SKETCHPLUGIN_EXPORT virtual const boost::shared_ptr<GeomAPI_Shape>& preview();
/// Returns the AIS preview
- SKETCHPLUGIN_EXPORT virtual Handle_AIS_InteractiveObject getAISShape(Handle_AIS_InteractiveObject thePrevious);
+ SKETCHPLUGIN_EXPORT virtual boost::shared_ptr<GeomAPI_AISObject> getAISObject(
+ boost::shared_ptr<GeomAPI_AISObject> thePrevious);
/// Moves the feature
/// \param theDeltaX the delta for X coordinate is moved
/// Moves the feature
/// \param theDeltaX the delta for X coordinate is moved