src/StdMeshersGUI/StdMeshersGUI_StdHypothesisCreator.cxx File Reference

#include "StdMeshersGUI_StdHypothesisCreator.h"
#include "SMESHGUI.h"
#include "SMESHGUI_SpinBox.h"
#include "SMESHGUI_HypothesesUtils.h"
#include "SMESHGUI_Utils.h"
#include "SMESH_TypeFilter.hxx"
#include "SMESH_NumberFilter.hxx"
#include "StdMeshersGUI_ObjectReferenceParamWdg.h"
#include "StdMeshersGUI_LayerDistributionParamWdg.h"
#include "SUIT_ResourceMgr.h"
#include <SALOMEconfig.h>
#include <qpixmap.h>
#include <qhbox.h>
#include <qslider.h>
#include <qlabel.h>

Include dependency graph for StdMeshersGUI_StdHypothesisCreator.cxx:


Functions

GEOM::GEOM_Object_var geomFromWdg (const QWidget *wdg)
 Retrieve GEOM_Object held by widget.
SMESH::SMESH_Mesh_var meshFromWdg (const QWidget *wdg)
 Retrieve SMESH_Mesh held by widget.
SUIT_SelectionFilterfilterForShapeOfDim (const int dim, const int nbSubShapes=0, const TopAbs_ShapeEnum subShapeType=TopAbs_SHAPE, const bool closed=false)
 creates a filter for selection of shapes of given dimension
QWidget * newObjRefParamWdg (SUIT_SelectionFilter *filter, CORBA::Object_var object)
 Create a widget for object selection.
void deactivateObjRefParamWdg (QPtrList< QWidget > *widgetList)
 calls deactivateSelection() for StdMeshersGUI_ObjectReferenceParamWdg

Variables

const double VALUE_MAX = 1.0e+15
const double VALUE_MAX_2 = VALUE_MAX * VALUE_MAX
const double VALUE_MAX_3 = VALUE_MAX_2 * VALUE_MAX
const double VALUE_SMALL = 1.0e-15
const double VALUE_SMALL_2 = VALUE_SMALL * VALUE_SMALL
const double VALUE_SMALL_3 = VALUE_SMALL_2 * VALUE_SMALL
double _bottom
double _precision
QSlider * _slider

Function Documentation

GEOM::GEOM_Object_var @0.geomFromWdg const QWidget *  wdg  )  [static]
 

SMESH::SMESH_Mesh_var @0.meshFromWdg const QWidget *  wdg  )  [static]
 

SUIT_SelectionFilter* @0.filterForShapeOfDim const int  dim,
const int  nbSubShapes = 0,
const TopAbs_ShapeEnum  subShapeType = TopAbs_SHAPE,
const bool  closed = false
[static]
 

Parameters:
dim - dimension
subShapeType - required type of subshapes, number of which must be nbSubShapes
nbSubShapes - number of subshapes of given type
closed - required closeness flag of a shape
Return values:
SUIT_SelectionFilter* - created filter

QWidget* @0.newObjRefParamWdg SUIT_SelectionFilter filter,
CORBA::Object_var  object
[static]
 

Parameters:
object - initial object
filter - selection filter
Return values:
QWidget* - created widget

void @0.deactivateObjRefParamWdg QPtrList< QWidget > *  widgetList  )  [static]
 

Parameters:
widgetList - list of widgets


Variable Documentation

const double VALUE_MAX = 1.0e+15
 

const double VALUE_MAX_2 = VALUE_MAX * VALUE_MAX
 

const double VALUE_MAX_3 = VALUE_MAX_2 * VALUE_MAX
 

const double VALUE_SMALL = 1.0e-15
 

const double VALUE_SMALL_2 = VALUE_SMALL * VALUE_SMALL
 

const double VALUE_SMALL_3 = VALUE_SMALL_2 * VALUE_SMALL
 

double _bottom
 

double _precision
 

QSlider* _slider