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
Merge branch 'master' into Dev_1.1.0
[modules/shaper.git]
/
src
/
SketchPlugin
/
SketchPlugin_Line.h
diff --git
a/src/SketchPlugin/SketchPlugin_Line.h
b/src/SketchPlugin/SketchPlugin_Line.h
index 850d17e4a23e15b13ab3f7fd82cd1b9f69bf37c6..05d94cc65e59bd582bd6290920a1d7820d995e4a 100644
(file)
--- a/
src/SketchPlugin/SketchPlugin_Line.h
+++ b/
src/SketchPlugin/SketchPlugin_Line.h
@@
-1,3
+1,5
@@
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
+
// File: SketchPlugin_Line.h
// Created: 24 Apr 2014
// Author: Mikhail PONIKAROV
// File: SketchPlugin_Line.h
// Created: 24 Apr 2014
// Author: Mikhail PONIKAROV
@@
-6,15
+8,15
@@
#define SketchPlugin_Line_H_
#include "SketchPlugin.h"
#define SketchPlugin_Line_H_
#include "SketchPlugin.h"
-#include <SketchPlugin_
Feature
.h>
+#include <SketchPlugin_
SketchEntity
.h>
#include <SketchPlugin_Sketch.h>
#include <list>
/**\class SketchPlugin_Line
#include <SketchPlugin_Sketch.h>
#include <list>
/**\class SketchPlugin_Line
- * \ingroup
DataModel
+ * \ingroup
Plugins
* \brief Feature for creation of the new part in PartSet.
*/
* \brief Feature for creation of the new part in PartSet.
*/
-class SketchPlugin_Line : public SketchPlugin_
Feature
+class SketchPlugin_Line : public SketchPlugin_
SketchEntity
{
public:
/// Arc feature kind
{
public:
/// Arc feature kind
@@
-52,12
+54,6
@@
class SketchPlugin_Line : public SketchPlugin_Feature
/// Request for initialization of data model of the feature: adding all attributes
SKETCHPLUGIN_EXPORT virtual void initAttributes();
/// Request for initialization of data model of the feature: adding all attributes
SKETCHPLUGIN_EXPORT virtual void initAttributes();
- /// Returns the AIS preview
- SKETCHPLUGIN_EXPORT virtual AISObjectPtr getAISObject(AISObjectPtr thePrevious)
- {
- return simpleAISObject(firstResult(), thePrevious);
- }
-
/// Moves the feature
/// \param theDeltaX the delta for X coordinate is moved
/// \param theDeltaY the delta for Y coordinate is moved
/// Moves the feature
/// \param theDeltaX the delta for X coordinate is moved
/// \param theDeltaY the delta for Y coordinate is moved