1 // GEOM GEOMGUI : GUI for Geometry component
3 // Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
6 // This library is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU Lesser General Public
8 // License as published by the Free Software Foundation; either
9 // version 2.1 of the License.
11 // This library is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 // Lesser General Public License for more details.
16 // You should have received a copy of the GNU Lesser General Public
17 // License along with this library; if not, write to the Free Software
18 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
22 // File : TransformationGUI_MultiTranslationDlg.cxx
23 // Author : Damien COQUERET, Open CASCADE S.A.S.
26 #include "TransformationGUI_MultiTranslationDlg.h"
29 #include <GeometryGUI.h>
32 #include <SUIT_ResourceMgr.h>
33 #include <SUIT_Session.h>
34 #include <SalomeApp_Application.h>
35 #include <LightApp_SelectionMgr.h>
37 #include <TopoDS_Shape.hxx>
38 #include <TopoDS_Edge.hxx>
41 #include <TColStd_IndexedMapOfInteger.hxx>
42 #include <TopTools_IndexedMapOfShape.hxx>
44 #include <GEOMImpl_Types.hxx>
46 //=================================================================================
47 // class : TransformationGUI_MultiTranslationDlg()
48 // purpose : Constructs a TransformationGUI_MultiTranslationDlg which is a child of 'parent', with the
49 // name 'name' and widget flags set to 'f'.
50 // The dialog will by default be modeless, unless you set 'modal' to
51 // TRUE to construct a modal dialog.
52 //=================================================================================
53 TransformationGUI_MultiTranslationDlg::TransformationGUI_MultiTranslationDlg
54 ( GeometryGUI* theGeometryGUI, QWidget* parent, bool modal, Qt::WindowFlags fl )
55 : GEOMBase_Skeleton( theGeometryGUI, parent, modal, fl )
57 SUIT_ResourceMgr* aResMgr = myGeomGUI->getApp()->resourceMgr();
58 QPixmap image0( aResMgr->loadPixmap( "GEOM", tr( "ICON_DLG_MULTITRANSLATION_SIMPLE" ) ) );
59 QPixmap image1( aResMgr->loadPixmap( "GEOM", tr( "ICON_DLG_MULTITRANSLATION_DOUBLE" ) ) );
60 QPixmap image2( aResMgr->loadPixmap( "GEOM", tr( "ICON_SELECT" ) ) );
62 setWindowTitle( tr( "GEOM_MULTITRANSLATION_TITLE" ) );
64 /***************************************************************/
65 mainFrame()->GroupConstructors->setTitle( tr( "GEOM_MULTITRANSLATION" ) );
66 mainFrame()->RadioButton1->setIcon( image0 );
67 mainFrame()->RadioButton2->setIcon( image1 );
68 mainFrame()->RadioButton3->setAttribute( Qt::WA_DeleteOnClose );
69 mainFrame()->RadioButton3->close();
71 GroupPoints = new DlgRef_2Sel2Spin1Check( centralWidget() );
72 GroupPoints->GroupBox1->setTitle( tr( "GEOM_MULTITRANSLATION_SIMPLE" ) );
73 GroupPoints->TextLabel1->setText( tr( "GEOM_MAIN_OBJECT" ) );
74 GroupPoints->TextLabel2->setText( tr( "GEOM_VECTOR_U" ) );
75 GroupPoints->TextLabel3->setText( tr( "GEOM_STEP_U" ) );
76 GroupPoints->TextLabel4->setText( tr( "GEOM_NB_TIMES_U" ) );
77 GroupPoints->CheckButton1->setText( tr( "GEOM_REVERSE_U" ) );
78 GroupPoints->PushButton1->setIcon( image2 );
79 GroupPoints->PushButton2->setIcon( image2 );
80 GroupPoints->LineEdit1->setReadOnly( true );
81 GroupPoints->LineEdit2->setReadOnly( true );
83 GroupDimensions = new DlgRef_3Sel4Spin2Check( centralWidget() );
84 GroupDimensions->GroupBox1->setTitle( tr( "GEOM_MULTITRANSLATION_DOUBLE" ) );
85 GroupDimensions->TextLabel1->setText( tr( "GEOM_MAIN_OBJECT" ) );
86 GroupDimensions->TextLabel2->setText( tr( "GEOM_VECTOR_U" ) );
87 GroupDimensions->TextLabel3->setText( tr( "GEOM_VECTOR_V" ) );
88 GroupDimensions->TextLabel4->setText( tr( "GEOM_STEP_U" ) );
89 GroupDimensions->TextLabel5->setText( tr( "GEOM_NB_TIMES_U" ) );
90 GroupDimensions->TextLabel6->setText( tr( "GEOM_STEP_V" ) );
91 GroupDimensions->TextLabel7->setText( tr( "GEOM_NB_TIMES_V" ) );
92 GroupDimensions->CheckButton1->setText( tr( "GEOM_REVERSE_U" ) );
93 GroupDimensions->CheckButton2->setText( tr( "GEOM_REVERSE_V" ) );
94 GroupDimensions->PushButton1->setIcon( image2 );
95 GroupDimensions->PushButton2->setIcon( image2 );
96 GroupDimensions->PushButton3->setIcon( image2 );
97 GroupDimensions->LineEdit1->setReadOnly( true );
98 GroupDimensions->LineEdit2->setReadOnly( true );
99 GroupDimensions->LineEdit3->setReadOnly( true );
101 QVBoxLayout* layout = new QVBoxLayout( centralWidget() );
102 layout->setMargin( 0 ); layout->setSpacing( 6 );
103 layout->addWidget( GroupPoints );
104 layout->addWidget( GroupDimensions );
105 /***************************************************************/
107 setHelpFileName( "multi_translation_operation_page.html" );
113 //=================================================================================
114 // function : ~TransformationGUI_MultiTranslationDlg()
115 // purpose : Destroys the object and frees any allocated resources
116 //=================================================================================
117 TransformationGUI_MultiTranslationDlg::~TransformationGUI_MultiTranslationDlg()
119 // no need to delete child widgets, Qt does it all for us
123 //=================================================================================
126 //=================================================================================
127 void TransformationGUI_MultiTranslationDlg::Init()
129 /* Get setting of step value from file configuration */
130 SUIT_ResourceMgr* resMgr = SUIT_Session::session()->resourceMgr();
131 double step = resMgr->doubleValue( "Geometry", "SettingsGeomStep", 100 );
133 double SpecificStep = 1;
134 /* min, max, step and decimals for spin boxes & initial values */
135 initSpinBox( GroupPoints->SpinBox_DX, COORD_MIN, COORD_MAX, step, 10 ); // VSR: TODO: DBL_DIGITS_DISPLAY
136 initSpinBox( GroupPoints->SpinBox_DY, 1.0, MAX_NUMBER, SpecificStep, 10 );
137 GroupPoints->SpinBox_DX->setValue( myStepU );
138 GroupPoints->SpinBox_DY->setValue( myNbTimesU );
140 initSpinBox( GroupDimensions->SpinBox_DX1, COORD_MIN, COORD_MAX, step, 10 ); // VSR: TODO: DBL_DIGITS_DISPLAY
141 initSpinBox( GroupDimensions->SpinBox_DY1, 1.0, MAX_NUMBER, SpecificStep, 10 );
142 initSpinBox( GroupDimensions->SpinBox_DX2, COORD_MIN, COORD_MAX, step, 10 ); // VSR: TODO: DBL_DIGITS_DISPLAY
143 initSpinBox( GroupDimensions->SpinBox_DY2, 1.0, MAX_NUMBER, SpecificStep, 10 );
144 GroupDimensions->SpinBox_DX1->setValue( myStepU );
145 GroupDimensions->SpinBox_DY1->setValue( myNbTimesU );
146 GroupDimensions->SpinBox_DX2->setValue( myStepV );
147 GroupDimensions->SpinBox_DY2->setValue( myNbTimesV );
149 /* signals and slots connections */
150 connect( buttonOk(), SIGNAL( clicked() ), this, SLOT( ClickOnOk() ) );
151 connect( buttonApply(), SIGNAL( clicked() ), this, SLOT( ClickOnApply() ) );
153 connect( this, SIGNAL( constructorsClicked( int ) ), this, SLOT( ConstructorsClicked( int ) ) );
155 connect( GroupPoints->PushButton1, SIGNAL( clicked() ), this, SLOT( SetEditCurrentArgument() ) );
156 connect( GroupPoints->PushButton2, SIGNAL( clicked() ), this, SLOT( SetEditCurrentArgument() ) );
157 connect( GroupDimensions->PushButton1, SIGNAL( clicked() ), this, SLOT( SetEditCurrentArgument() ) );
158 connect( GroupDimensions->PushButton2, SIGNAL( clicked() ), this, SLOT( SetEditCurrentArgument() ) );
159 connect( GroupDimensions->PushButton3, SIGNAL( clicked() ), this, SLOT( SetEditCurrentArgument() ) );
161 connect( GroupPoints->LineEdit1, SIGNAL( returnPressed() ), this, SLOT( LineEditReturnPressed() ) );
162 connect( GroupPoints->LineEdit2, SIGNAL( returnPressed() ), this, SLOT( LineEditReturnPressed() ) );
163 connect( GroupDimensions->LineEdit1, SIGNAL( returnPressed() ), this, SLOT( LineEditReturnPressed() ) );
164 connect( GroupDimensions->LineEdit2, SIGNAL( returnPressed() ), this, SLOT( LineEditReturnPressed() ) );
165 connect( GroupDimensions->LineEdit3, SIGNAL( returnPressed() ), this, SLOT( LineEditReturnPressed() ) );
167 connect( GroupPoints->SpinBox_DX, SIGNAL( valueChanged( double ) ), this, SLOT( ValueChangedInSpinBox( double ) ) );
168 connect( GroupPoints->SpinBox_DY, SIGNAL( valueChanged( double ) ), this, SLOT( ValueChangedInSpinBox( double ) ) );
169 connect( GroupDimensions->SpinBox_DX1, SIGNAL( valueChanged( double ) ), this, SLOT( ValueChangedInSpinBox( double ) ) );
170 connect( GroupDimensions->SpinBox_DY1, SIGNAL( valueChanged( double ) ), this, SLOT( ValueChangedInSpinBox( double ) ) );
171 connect( GroupDimensions->SpinBox_DX2, SIGNAL( valueChanged( double ) ), this, SLOT( ValueChangedInSpinBox( double ) ) );
172 connect( GroupDimensions->SpinBox_DY2, SIGNAL( valueChanged( double ) ), this, SLOT( ValueChangedInSpinBox( double ) ) );
175 connect( myGeomGUI, SIGNAL( SignalDefaultStepValueChanged( double ) ), GroupPoints->SpinBox_DX, SLOT( SetStep( double ) ) );
176 connect( myGeomGUI, SIGNAL( SignalDefaultStepValueChanged( double ) ), GroupPoints->SpinBox_DY, SLOT( SetStep( double ) ) );
177 connect( myGeomGUI, SIGNAL( SignalDefaultStepValueChanged( double ) ), GroupDimensions->SpinBox_DX1, SLOT( SetStep( double ) ) );
178 connect( myGeomGUI, SIGNAL( SignalDefaultStepValueChanged( double ) ), GroupDimensions->SpinBox_DY1, SLOT( SetStep( double ) ) );
179 connect( myGeomGUI, SIGNAL( SignalDefaultStepValueChanged( double ) ), GroupDimensions->SpinBox_DX2, SLOT( SetStep( double ) ) );
180 connect( myGeomGUI, SIGNAL( SignalDefaultStepValueChanged( double ) ), GroupDimensions->SpinBox_DY2, SLOT( SetStep( double ) ) );
183 connect( GroupPoints->CheckButton1, SIGNAL( toggled( bool ) ), this, SLOT( ReverseStepU() ) );
184 connect( GroupDimensions->CheckButton1, SIGNAL( toggled( bool ) ), this, SLOT( ReverseStepU() ) );
185 connect( GroupDimensions->CheckButton2, SIGNAL( toggled( bool ) ), this, SLOT( ReverseStepV() ) );
187 connect( myGeomGUI->getApp()->selectionMgr(),
188 SIGNAL( currentSelectionChanged() ), this, SLOT( SelectionIntoArgument() ) );
190 initName( tr( "GEOM_MULTITRANSLATION" ) );
192 ConstructorsClicked( 0 );
196 //=================================================================================
197 // function : ConstructorsClicked()
198 // purpose : Radio button management
199 //=================================================================================
200 void TransformationGUI_MultiTranslationDlg::ConstructorsClicked( int constructorId )
202 disconnect( myGeomGUI->getApp()->selectionMgr(), 0, this, 0 );
204 myStepU = myStepV = 50.0;
205 myNbTimesU = myNbTimesV = 2;
207 globalSelection( GEOM_ALLSHAPES );
209 switch ( constructorId ) {
210 case 0: /* Translate simple */
212 GroupDimensions->hide();
215 myEditCurrentArgument = GroupPoints->LineEdit1;
216 GroupPoints->LineEdit1->setText( "" );
217 GroupPoints->LineEdit2->setText( "" );
219 GroupPoints->SpinBox_DX->setValue( myStepU );
220 GroupPoints->SpinBox_DY->setValue( myNbTimesU );
224 case 1: /* Translate double */
227 GroupDimensions->show();
229 myEditCurrentArgument = GroupDimensions->LineEdit1;
230 GroupDimensions->LineEdit1->setText( "" );
231 GroupDimensions->LineEdit2->setText( "" );
232 GroupDimensions->LineEdit3->setText( "" );
234 GroupDimensions->SpinBox_DX1->setValue( myStepU );
235 GroupDimensions->SpinBox_DY1->setValue( myNbTimesU );
236 GroupDimensions->SpinBox_DX2->setValue( myStepV );
237 GroupDimensions->SpinBox_DY2->setValue( myNbTimesV );
239 myVectorV = GEOM::GEOM_Object::_nil();
244 qApp->processEvents();
246 resize( minimumSize() );
248 myEditCurrentArgument->setFocus();
249 myBase = myVectorU = GEOM::GEOM_Object::_nil();
250 connect( myGeomGUI->getApp()->selectionMgr(),
251 SIGNAL( currentSelectionChanged() ), this, SLOT( SelectionIntoArgument() ) );
255 //=================================================================================
256 // function : ClickOnOk()
258 //=================================================================================
259 void TransformationGUI_MultiTranslationDlg::ClickOnOk()
261 if ( ClickOnApply() )
266 //=================================================================================
267 // function : ClickOnApply()
269 //=================================================================================
270 bool TransformationGUI_MultiTranslationDlg::ClickOnApply()
276 ConstructorsClicked( getConstructorId() );
281 //=================================================================================
282 // function : SelectionIntoArgument()
283 // purpose : Called when selection as changed or other case
284 //=================================================================================
285 void TransformationGUI_MultiTranslationDlg::SelectionIntoArgument()
287 myEditCurrentArgument->setText( "" );
289 if ( IObjectCount() != 1 ) {
290 if ( myEditCurrentArgument == GroupPoints->LineEdit1 ||
291 myEditCurrentArgument == GroupDimensions->LineEdit1 )
292 myBase = GEOM::GEOM_Object::_nil();
293 else if ( myEditCurrentArgument == GroupPoints->LineEdit2 ||
294 myEditCurrentArgument == GroupDimensions->LineEdit2 )
295 myVectorU = GEOM::GEOM_Object::_nil();
296 else if ( myEditCurrentArgument == GroupDimensions->LineEdit3 )
297 myVectorV = GEOM::GEOM_Object::_nil();
302 Standard_Boolean testResult = Standard_False;;
303 GEOM::GEOM_Object_var aSelectedObject = GEOMBase::ConvertIOinGEOMObject( firstIObject(), testResult );
305 if ( !testResult || CORBA::is_nil( aSelectedObject ) || !GEOMBase::IsShape( aSelectedObject ) )
308 QString aName = GEOMBase::GetName( aSelectedObject );
310 if ( myEditCurrentArgument == GroupPoints->LineEdit1 ||
311 myEditCurrentArgument == GroupDimensions->LineEdit1 )
312 myBase = aSelectedObject;
313 else if ( myEditCurrentArgument == GroupPoints->LineEdit2 ||
314 myEditCurrentArgument == GroupDimensions->LineEdit2 ||
315 myEditCurrentArgument == GroupDimensions->LineEdit3 ) {
316 if ( testResult && !aSelectedObject->_is_nil() ) {
319 if ( GEOMBase::GetShape( aSelectedObject, aShape, TopAbs_SHAPE ) && !aShape.IsNull() ) {
320 LightApp_SelectionMgr* aSelMgr = myGeomGUI->getApp()->selectionMgr();
321 TColStd_IndexedMapOfInteger aMap;
322 aSelMgr->GetIndexes( firstIObject(), aMap );
323 if ( aMap.Extent() == 1 ) {
324 int anIndex = aMap( 1 );
325 aName += QString( ":edge_%1" ).arg( anIndex );
327 //Find SubShape Object in Father
328 GEOM::GEOM_Object_var aFindedObject = findObjectInFather( aSelectedObject, aName );
330 if ( aFindedObject == GEOM::GEOM_Object::_nil() ) { // Object not found in study
331 GEOM::GEOM_IShapesOperations_var aShapesOp =
332 getGeomEngine()->GetIShapesOperations( getStudyId() );
333 if ( myEditCurrentArgument == GroupDimensions->LineEdit3 )
334 myVectorV = aShapesOp->GetSubShape( aSelectedObject, anIndex );
336 myVectorU = aShapesOp->GetSubShape(aSelectedObject, anIndex);
339 if ( myEditCurrentArgument == GroupDimensions->LineEdit3 )
340 myVectorV = aFindedObject;
342 myVectorU = aFindedObject;
346 if ( aShape.ShapeType() != TopAbs_EDGE ) {
347 aSelectedObject = GEOM::GEOM_Object::_nil();
350 if ( myEditCurrentArgument == GroupDimensions->LineEdit3 )
351 myVectorV = aSelectedObject;
353 myVectorU = aSelectedObject;
359 myEditCurrentArgument->setText( aName );
365 //=================================================================================
366 // function : SetEditCurrentArgument()
368 //=================================================================================
369 void TransformationGUI_MultiTranslationDlg::SetEditCurrentArgument()
371 QPushButton* send = (QPushButton*)sender();
372 globalSelection( GEOM_ALLSHAPES );
374 if ( send == GroupPoints->PushButton1 ) {
375 myEditCurrentArgument = GroupPoints->LineEdit1;
377 else if ( send == GroupPoints->PushButton2 ) {
378 myEditCurrentArgument = GroupPoints->LineEdit2;
379 localSelection( GEOM::GEOM_Object::_nil(), TopAbs_EDGE );
381 else if ( send == GroupDimensions->PushButton1 ) {
382 myEditCurrentArgument = GroupDimensions->LineEdit1;
384 else if ( send == GroupDimensions->PushButton2 ) {
385 myEditCurrentArgument = GroupDimensions->LineEdit2;
386 localSelection( GEOM::GEOM_Object::_nil(), TopAbs_EDGE );
388 else if ( send == GroupDimensions->PushButton3 ) {
389 myEditCurrentArgument = GroupDimensions->LineEdit3;
390 localSelection( GEOM::GEOM_Object::_nil(), TopAbs_EDGE );
393 myEditCurrentArgument->setFocus();
394 SelectionIntoArgument();
398 //=================================================================================
399 // function : LineEditReturnPressed()
401 //=================================================================================
402 void TransformationGUI_MultiTranslationDlg::LineEditReturnPressed()
404 QLineEdit* send = (QLineEdit*)sender();
405 if ( send == GroupPoints->LineEdit1 || send == GroupDimensions->LineEdit1 ||
406 send == GroupPoints->LineEdit2 || send == GroupDimensions->LineEdit2 ||
407 send == GroupDimensions->LineEdit3 ) {
408 myEditCurrentArgument = send;
409 GEOMBase_Skeleton::LineEditReturnPressed();
414 //=================================================================================
415 // function : ActivateThisDialog()
417 //=================================================================================
418 void TransformationGUI_MultiTranslationDlg::ActivateThisDialog()
420 GEOMBase_Skeleton::ActivateThisDialog();
421 connect( myGeomGUI->getApp()->selectionMgr(),
422 SIGNAL( currentSelectionChanged() ), this, SLOT( SelectionIntoArgument() ) );
424 ConstructorsClicked( getConstructorId() );
428 //=================================================================================
429 // function : enterEvent()
431 //=================================================================================
432 void TransformationGUI_MultiTranslationDlg::enterEvent( QEvent* )
434 if ( !mainFrame()->GroupConstructors->isEnabled() )
435 ActivateThisDialog();
439 //=================================================================================
440 // function : ValueChangedInSpinBox()
442 //=================================================================================
443 void TransformationGUI_MultiTranslationDlg::ValueChangedInSpinBox( double newValue )
445 QObject* send = (QObject*)sender();
447 switch ( getConstructorId() ) {
449 if ( send == GroupPoints->SpinBox_DX )
451 else if ( send == GroupPoints->SpinBox_DY )
452 myNbTimesU = (int)newValue;
455 if ( send == GroupDimensions->SpinBox_DX1 )
457 else if ( send == GroupDimensions->SpinBox_DY1)
458 myNbTimesU = (int)newValue;
459 else if ( send == GroupDimensions->SpinBox_DX2 )
461 else if ( send == GroupDimensions->SpinBox_DY2 )
462 myNbTimesV = (int)newValue;
470 //=================================================================================
471 // function : ReverseStepU()
472 // purpose : 'state' not used here
473 //=================================================================================
474 void TransformationGUI_MultiTranslationDlg::ReverseStepU()
478 int aConstructorId = getConstructorId();
480 if ( aConstructorId == 0 )
481 GroupPoints->SpinBox_DX->setValue( myStepU );
482 else if ( aConstructorId == 1 )
483 GroupDimensions->SpinBox_DX1->setValue( myStepU );
489 //=================================================================================
490 // function : ReverseStepV
491 // purpose : 'state' not used here
492 //=================================================================================
493 void TransformationGUI_MultiTranslationDlg::ReverseStepV()
497 GroupDimensions->SpinBox_DX2->setValue( myStepV );
503 //=================================================================================
504 // function : createOperation
506 //=================================================================================
507 GEOM::GEOM_IOperations_ptr TransformationGUI_MultiTranslationDlg::createOperation()
509 return myGeomGUI->GetGeomGen()->GetITransformOperations( getStudyId() );
513 //=================================================================================
514 // function : isValid
516 //=================================================================================
517 bool TransformationGUI_MultiTranslationDlg::isValid( QString& /*msg*/ )
519 int aConstructorId = getConstructorId();
521 if ( aConstructorId == 0 )
522 return !( myBase->_is_nil() || myVectorU->_is_nil() );
523 else if ( aConstructorId == 1 )
524 return !( myBase->_is_nil() || myVectorU->_is_nil() || myVectorV->_is_nil() );
528 //=================================================================================
529 // function : execute
531 //=================================================================================
532 bool TransformationGUI_MultiTranslationDlg::execute( ObjectList& objects )
536 GEOM::GEOM_Object_var anObj;
538 switch ( getConstructorId() ) {
540 if ( !CORBA::is_nil( myBase ) && !CORBA::is_nil( myVectorU ) ) {
541 anObj = GEOM::GEOM_ITransformOperations::_narrow( getOperation() )->MultiTranslate1D( myBase, myVectorU, myStepU, myNbTimesU );
546 if ( !CORBA::is_nil( myBase ) && !CORBA::is_nil( myVectorU ) &&
547 !CORBA::is_nil( myVectorV ) ) {
548 anObj = GEOM::GEOM_ITransformOperations::_narrow( getOperation() )->MultiTranslate2D( myBase, myVectorU, myStepU, myNbTimesU,
549 myVectorV, myStepV, myNbTimesV );
555 if ( !anObj->_is_nil() )
556 objects.push_back( anObj._retn() );
562 //=================================================================================
563 // function : addSubshapeToStudy
564 // purpose : virtual method to add new SubObjects if local selection
565 //=================================================================================
566 void TransformationGUI_MultiTranslationDlg::addSubshapesToStudy()
568 QMap<QString, GEOM::GEOM_Object_var> objMap;
570 switch ( getConstructorId() ) {
572 objMap[GroupPoints->LineEdit2->text()] = myVectorU;
575 objMap[GroupDimensions->LineEdit2->text()] = myVectorU;
576 objMap[GroupDimensions->LineEdit3->text()] = myVectorV;
579 addSubshapesToFather( objMap );