axisTabLayout->setSpacing( SPACING );
axisTabLayout->addWidget( modeBox , 0, 0, 1, 3 );
- axisTabLayout->addWidget( myInsertBtn , 1, 0, 1, 2 );
- axisTabLayout->addWidget( myDeleteBtn , 2, 0, 1, 2 );
+ axisTabLayout->addWidget( myInsertBtn, 1, 0, 1, 2 );
+ axisTabLayout->addWidget( myDeleteBtn, 2, 0, 1, 2 );
axisTabLayout->addWidget( myStepLabel, 3, 0 );
axisTabLayout->addWidget( myStepSpin , 3, 1 );
axisTabLayout->addWidget( csFrame , 1, 2, 4, 1 );
//================================================================================
/*!
- * \brief Returms spacing to set to a hypothesis
+ * \brief Returns spacing to set to a hypothesis
*/
//================================================================================
myAddEdges = new QCheckBox( tr("ADD_EDGES"), GroupC1 );
argGroupLayout->addWidget( myAddEdges, row, 0, 1, 2 );
row++;
+ myCreateFaces = new QCheckBox( tr("CREATE_FACES"), GroupC1 );
+ argGroupLayout->addWidget( myCreateFaces, row, 0, 1, 2 );
+ row++;
+ myConsiderInternalFaces = new QCheckBox( tr("CONSIDER_INTERNAL_FACES"), GroupC1 );
+ argGroupLayout->addWidget( myConsiderInternalFaces, row, 0, 1, 2 );
+ row++;
+ myUseThresholdForInternalFaces = new QCheckBox( tr("USE_THRESHOLD_FOR_INTERNAL_FACES"), GroupC1 );
+ argGroupLayout->addWidget( myUseThresholdForInternalFaces, row, 0, 1, 2 );
+ row++;
// 3) Grid definition
QTabWidget* tabWdg = new QTabWidget( fr );
connect( myOrthogonalChk, SIGNAL( toggled(bool)), SLOT( onOrthogonalAxes(bool)));
connect( optimBtn, SIGNAL( clicked(bool)), SLOT( onOptimalAxes(bool)));
connect( resetBtn, SIGNAL( clicked(bool)), SLOT( onResetAxes(bool)));
+ connect( myConsiderInternalFaces, SIGNAL( toggled(bool)),
+ myUseThresholdForInternalFaces, SLOT( setEnabled(bool)));
for ( int i = 0; i < 3; ++i )
{
connect( myXDirSpin[i], SIGNAL(valueChanged (const QString&)),
myThreshold->setText( varName );
myAddEdges->setChecked( h->GetToAddEdges() );
+ myCreateFaces->setChecked( h->GetToCreateFaces() );
+ myConsiderInternalFaces->setChecked( h->GetToConsiderInternalFaces() );
+ myUseThresholdForInternalFaces->setChecked( h->GetToUseThresholdForInternalFaces() );
// grid definition
for ( int ax = 0; ax < 3; ++ax )
h->SetVarParameter( myThreshold->text().toLatin1().constData(), "SetSizeThreshold" );
h->SetSizeThreshold( myThreshold->text().toDouble() );
h->SetToAddEdges( myAddEdges->isChecked() );
+ h->SetToCreateFaces( myCreateFaces->isChecked() );
+ h->SetToConsiderInternalFaces( myConsiderInternalFaces->isChecked() );
+ h->SetToUseThresholdForInternalFaces( myUseThresholdForInternalFaces->isChecked() );
// grid
for ( int ax = 0; ax < 3; ++ax )