<commit_before>/*=========================================================================

  Program:   Insight Segmentation & Registration Toolkit
  Module:    FEMMeshApplication.cxx
  Language:  C++
  Date:      $Date$
  Version:   $Revision$

  Copyright (c) 2002 Insight Consortium. All rights reserved.
  See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.

     This software is distributed WITHOUT ANY WARRANTY; without even 
     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
     PURPOSE.  See the above copyright notices for more information.

=========================================================================*/



#include "FEMMeshApplication.h"
#include <FL/fl_ask.H>

FEMMeshApplication
::FEMMeshApplication()
{
 
}




FEMMeshApplication
::~FEMMeshApplication()
{

}



void
FEMMeshApplication
::CreateSphere(void)
{
  this->FEMMeshApplicationBase::CreateSphere();
  m_FlRenderWindowInteractor->redraw();
  Fl::check();
}





void
FEMMeshApplication
::CreateTriangle(void)
{
  this->FEMMeshApplicationBase::CreateTriangle();
  m_FlRenderWindowInteractor->redraw();
  Fl::check();
}






void
FEMMeshApplication
::CreateFEMMesh(void)
{
 
  try
    {
    this->FEMMeshApplicationBase::CreateFEMMesh();
    }
  catch( itk::ExceptionObject & excp )
  {
    fl_alert( excp.GetDescription() );
    return;
  }

  m_FlRenderWindowInteractor->redraw();
  Fl::check();

}

<commit_msg>ENH: Mesh is created correctly now.<commit_after>/*=========================================================================

  Program:   Insight Segmentation & Registration Toolkit
  Module:    FEMMeshApplication.cxx
  Language:  C++
  Date:      $Date$
  Version:   $Revision$

  Copyright (c) 2002 Insight Consortium. All rights reserved.
  See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.

     This software is distributed WITHOUT ANY WARRANTY; without even 
     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
     PURPOSE.  See the above copyright notices for more information.

=========================================================================*/



#include "FEMMeshApplication.h"
#include <FL/fl_ask.H>

FEMMeshApplication
::FEMMeshApplication()
{
 
}




FEMMeshApplication
::~FEMMeshApplication()
{

}



void
FEMMeshApplication
::CreateSphere(void)
{
  this->FEMMeshApplicationBase::CreateSphere();
  m_FlRenderWindowInteractor->redraw();
  Fl::check();
}





void
FEMMeshApplication
::CreateTriangle(void)
{
  this->FEMMeshApplicationBase::CreateTriangle();
  m_FlRenderWindowInteractor->redraw();
  Fl::check();
}






void
FEMMeshApplication
::CreateFEMMesh(void)
{
 
  try
    {
    this->FEMMeshApplicationBase::CreateFEMMesh();
    }
  catch( itk::ExceptionObject & excp )
  {
    fl_alert( excp.GetDescription() );
    return;
  }
  
  m_FlRenderWindowInteractor->redraw();
  Fl::check();

}


{'fraction_non_alphanumeric': 0.19945167923235094, 'fraction_numerical': 0.0027416038382453737, 'mean_word_length': 4.581261950286807, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3602480', 'n_tokens_mistral': 920, 'n_tokens_neox': 841, 'n_words': 183}