Back to index

salome-smesh  6.5.0
Functions
StdMeshersGUI.cxx File Reference
#include "StdMeshersGUI_StdHypothesisCreator.h"
#include "StdMeshersGUI_NbSegmentsCreator.h"
#include "StdMeshersGUI_CartesianParamCreator.h"

Go to the source code of this file.

Functions

STDMESHERSGUI_EXPORT
SMESHGUI_GenericHypothesisCreator * 
GetHypothesisCreator (const QString &aHypType)
 GetHypothesisCreator.

Function Documentation

STDMESHERSGUI_EXPORT SMESHGUI_GenericHypothesisCreator* GetHypothesisCreator ( const QString &  aHypType)

GetHypothesisCreator.

Definition at line 39 of file StdMeshersGUI.cxx.

  {
    if( aHypType=="NumberOfSegments" )
      return new StdMeshersGUI_NbSegmentsCreator();
    else if ( aHypType=="CartesianParameters3D" )
      return new StdMeshersGUI_CartesianParamCreator( aHypType );
    else
      return new StdMeshersGUI_StdHypothesisCreator( aHypType );
  }