]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Cut too long lines
authorvsv <vsv@opencascade.com>
Tue, 9 Jul 2019 08:20:25 +0000 (11:20 +0300)
committervsv <vsv@opencascade.com>
Tue, 9 Jul 2019 08:20:25 +0000 (11:20 +0300)
src/Model/Model_ResultField.cpp
src/Model/Model_ResultField.h
src/PartSet/PartSet_FieldStepPrs.cpp

index 67d46f058f6a3e6aa87bd0fa19195ae7ef8d8ae3..56a18c43efaa8a8f4e2d11de96888f2e0632e089 100644 (file)
@@ -110,7 +110,8 @@ void Model_ResultField::updateSteps()
       mySteps.pop_back();
     }
     while(mySteps.size() < aNbSteps) {
-      mySteps.push_back(FieldStepPtr(new Model_ResultField::Model_FieldStep(this, int(mySteps.size()))));
+      mySteps.push_back(FieldStepPtr(new Model_ResultField::Model_FieldStep(this,
+        int(mySteps.size()))));
     }
   }
 }
index ae66e9a106345ed4a34d1c32623e49424d063259..cbaa3efec852ca8d2d1c93b43fc443af349f1a6d 100644 (file)
@@ -75,7 +75,8 @@ public:
 
   /// Returns step object
   /// \param theId an id of the object
-  MODEL_EXPORT virtual std::shared_ptr<ModelAPI_ResultField::ModelAPI_FieldStep> step(int theId) const;
+  MODEL_EXPORT virtual std::shared_ptr<ModelAPI_ResultField::ModelAPI_FieldStep>
+    step(int theId) const;
 
   /// Removes the stored builders
   MODEL_EXPORT virtual ~Model_ResultField();
index 04d74504eb84f1e1d1714795e2b6e240bfbf4a66..c32bec26de006472883cf6e46d0b9b26c55d62cc 100644 (file)
@@ -158,7 +158,8 @@ void PartSet_FieldStepPrs::Compute(const Handle(PrsMgr_PresentationManager3d)& t
     QList<double> aShapeData = range(aMin, aMax);
     int aNbIntertvals = aResMgr->integerValue("Viewer", "scalar_bar_nb_intervals", 20);
 
-    AttributeSelectionListPtr aSelList = aData->selectionList(CollectionPlugin_Field::SELECTED_ID());
+    AttributeSelectionListPtr aSelList =
+      aData->selectionList(CollectionPlugin_Field::SELECTED_ID());
     for (int i = 0; i < aSelList->size(); i++) {
       AttributeSelectionPtr aSelection = aSelList->value(i);
       GeomShapePtr aShapePtr = aSelection->value();
@@ -174,7 +175,8 @@ void PartSet_FieldStepPrs::Compute(const Handle(PrsMgr_PresentationManager3d)& t
   {
     QList<double> aShapeData = booleanValues();
 
-    AttributeSelectionListPtr aSelList = aData->selectionList(CollectionPlugin_Field::SELECTED_ID());
+    AttributeSelectionListPtr aSelList =
+      aData->selectionList(CollectionPlugin_Field::SELECTED_ID());
     for (int i = 0; i < aSelList->size(); i++) {
       AttributeSelectionPtr aSelection = aSelList->value(i);
       GeomShapePtr aShapePtr = aSelection->value();
@@ -189,7 +191,8 @@ void PartSet_FieldStepPrs::Compute(const Handle(PrsMgr_PresentationManager3d)& t
   case ModelAPI_AttributeTables::STRING:
   {
     QStringList aValues = strings();
-    AttributeSelectionListPtr aSelList = aData->selectionList(CollectionPlugin_Field::SELECTED_ID());
+    AttributeSelectionListPtr aSelList =
+      aData->selectionList(CollectionPlugin_Field::SELECTED_ID());
     Handle(Graphic3d_Group) aGroup = Prs3d_Root::NewGroup(thePrs);
     for (int i = 0; i < aSelList->size(); i++) {
       AttributeSelectionPtr aSelection = aSelList->value(i);