From 48c18f7fc10322e9976878236f5e19413a755a65 Mon Sep 17 00:00:00 2001 From: vsv Date: Tue, 9 Jul 2019 11:20:25 +0300 Subject: [PATCH] Cut too long lines --- src/Model/Model_ResultField.cpp | 3 ++- src/Model/Model_ResultField.h | 3 ++- src/PartSet/PartSet_FieldStepPrs.cpp | 9 ++++++--- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/src/Model/Model_ResultField.cpp b/src/Model/Model_ResultField.cpp index 67d46f058..56a18c43e 100644 --- a/src/Model/Model_ResultField.cpp +++ b/src/Model/Model_ResultField.cpp @@ -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())))); } } } diff --git a/src/Model/Model_ResultField.h b/src/Model/Model_ResultField.h index ae66e9a10..cbaa3efec 100644 --- a/src/Model/Model_ResultField.h +++ b/src/Model/Model_ResultField.h @@ -75,7 +75,8 @@ public: /// Returns step object /// \param theId an id of the object - MODEL_EXPORT virtual std::shared_ptr step(int theId) const; + MODEL_EXPORT virtual std::shared_ptr + step(int theId) const; /// Removes the stored builders MODEL_EXPORT virtual ~Model_ResultField(); diff --git a/src/PartSet/PartSet_FieldStepPrs.cpp b/src/PartSet/PartSet_FieldStepPrs.cpp index 04d74504e..c32bec26d 100644 --- a/src/PartSet/PartSet_FieldStepPrs.cpp +++ b/src/PartSet/PartSet_FieldStepPrs.cpp @@ -158,7 +158,8 @@ void PartSet_FieldStepPrs::Compute(const Handle(PrsMgr_PresentationManager3d)& t QList 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 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); -- 2.39.2