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
Naming functions were from FeaturesPlugin_Tools to ModelAPI_Tools
[modules/shaper.git]
/
src
/
FeaturesPlugin
/
FeaturesPlugin_Rotation.cpp
diff --git
a/src/FeaturesPlugin/FeaturesPlugin_Rotation.cpp
b/src/FeaturesPlugin/FeaturesPlugin_Rotation.cpp
index 1fe9334eb920d96d20141daa984895f1880b8597..144e57ef23e9a5b8fc389f6a3ff9d6855f78c44a 100644
(file)
--- a/
src/FeaturesPlugin/FeaturesPlugin_Rotation.cpp
+++ b/
src/FeaturesPlugin/FeaturesPlugin_Rotation.cpp
@@
-24,6
+24,7
@@
#include <ModelAPI_AttributeString.h>
#include <ModelAPI_ResultBody.h>
#include <ModelAPI_ResultPart.h>
#include <ModelAPI_AttributeString.h>
#include <ModelAPI_ResultBody.h>
#include <ModelAPI_ResultPart.h>
+#include <ModelAPI_Tools.h>
#include <GeomAlgoAPI_MakeShapeList.h>
#include <GeomAlgoAPI_PointBuilder.h>
#include <GeomAlgoAPI_MakeShapeList.h>
#include <GeomAlgoAPI_PointBuilder.h>
@@
-224,8
+225,8
@@
void FeaturesPlugin_Rotation::performRotation(const GeomTrsfPtr& theTrsf)
anObjects.topLevelObjects(aTopLevel);
for (ListOfShape::iterator anIt = aTopLevel.begin(); anIt != aTopLevel.end(); ++anIt) {
ResultBodyPtr aResultBody = document()->createBody(data(), aResultIndex);
anObjects.topLevelObjects(aTopLevel);
for (ListOfShape::iterator anIt = aTopLevel.begin(); anIt != aTopLevel.end(); ++anIt) {
ResultBodyPtr aResultBody = document()->createBody(data(), aResultIndex);
-
FeaturesPlugin
_Tools::loadModifiedShapes(aResultBody, anOriginalShapes, ListOfShape(),
-
aMakeShapeList, *anIt, "Rotated");
+
ModelAPI
_Tools::loadModifiedShapes(aResultBody, anOriginalShapes, ListOfShape(),
+ aMakeShapeList, *anIt, "Rotated");
aResultBody->setTextureFile(theTextureFile);
setResult(aResultBody, aResultIndex++);
}
aResultBody->setTextureFile(theTextureFile);
setResult(aResultBody, aResultIndex++);
}