Version: 6.3.1
Data Structures | Packages | Defines | Enumerations | Functions | Variables

src/SMESHGUI/SMESHGUI_ComputeDlg.cxx File Reference

#include "SMESHGUI_ComputeDlg.h"
#include "SMESHGUI.h"
#include "SMESHGUI_GEOMGenUtils.h"
#include "SMESHGUI_MeshUtils.h"
#include "SMESHGUI_VTKUtils.h"
#include "SMESHGUI_MeshInfosBox.h"
#include "SMESHGUI_HypothesesUtils.h"
#include "SMESHGUI_MeshEditPreview.h"
#include "SMESHGUI_MeshOrderOp.h"
#include "SMESHGUI_MeshOrderDlg.h"
#include "SMESH_ActorUtils.h"
#include <SMDS_SetIterator.hxx>
#include <SMDS_Mesh.hxx>
#include <GEOMBase.h>
#include <GEOM_Actor.h>
#include <LightApp_SelectionMgr.h>
#include <LightApp_UpdateFlags.h>
#include <SALOME_ListIO.hxx>
#include <SVTK_ViewWindow.h>
#include <SVTK_ViewModel.h>
#include <SalomeApp_Application.h>
#include <SUIT_ResourceMgr.h>
#include <SUIT_OverrideCursor.h>
#include <SUIT_MessageBox.h>
#include <SUIT_Desktop.h>
#include <QtxComboBox.h>
#include <SALOMEDS_SObject.hxx>
#include <SALOMEDSClient_SObject.hxx>
#include <BRep_Tool.hxx>
#include <TopExp.hxx>
#include <TopExp_Explorer.hxx>
#include <TopTools_IndexedMapOfShape.hxx>
#include <TopoDS.hxx>
#include <TopLoc_Location.hxx>
#include <Poly_Triangulation.hxx>
#include <Bnd_Box.hxx>
#include <BRepBndLib.hxx>
#include <BRepMesh_IncrementalMesh.hxx>
#include <Standard_ErrorHandler.hxx>
#include <QFrame>
#include <QPushButton>
#include <QLabel>
#include <QRadioButton>
#include <QTableWidget>
#include <QHeaderView>
#include <QGridLayout>
#include <QHBoxLayout>
#include <QVBoxLayout>
#include <QButtonGroup>
#include <QCloseEvent>
#include <QTimerEvent>
#include <vtkProperty.h>
#include <vector>
#include <set>

Go to the source code of this file.

Data Structures

struct  SMESH.MemoryReserve
 Allocate some memory at construction and release it at destruction. More...
class  SMESH.TShapeDisplayer
 Class showing shapes without publishing. More...

Packages

package  SMESH

Defines

#define SPACING   6
#define MARGIN   11
#define COLONIZE(str)   (QString(str).contains(":") > 0 ? QString(str) : QString(str) + " :" )
#define CASE2TEXT(enum)   case SMESH::enum: text = QObject::tr( #enum ); break;
 Return text describing an error.
#define CASE2NAME(enum)   case GEOM::enum: name = QObject::tr( "GEOM_" #enum ); break;
 Return shape type name.

Enumerations

enum  TCol {
  COL_ALGO = 0, COL_SHAPE, COL_ERROR, COL_SHAPEID,
  COL_PUBLISHED, COL_BAD_MESH, NB_COLUMNS, COL_ALGO = 0,
  COL_SHAPE, COL_ERROR, COL_SHAPEID, COL_PUBLISHED,
  COL_BAD_MESH, NB_COLUMNS
}

Functions

QString SMESH.errorText (int errCode, const char *comment)
 SMESH._PTR (SObject) getSubShapeSO(int subShapeID = SMESH::FindSObject(aMainShape)
 Return SO of a subshape.
 SMESH.if (subShapeID==1||!so) return so
 SMESH._PTR (ChildIterator) it
 SMESH.if (_PTR(Study) study=SMESH::GetActiveStudyDocument()) it
 SMESH.if (it)
GEOM::GEOM_Object_ptr SMESH.getSubShape (int subShapeID, GEOM::GEOM_Object_var aMainShape)
 Return subshape by ID.
QString SMESH.shapeTypeName (GEOM::GEOM_Object_var aShape, const char *dflt="")
QString SMESH.shapeText (int subShapeID, GEOM::GEOM_Object_var aMainShape)
 Return text describing a subshape.
int SMESH.getSelectedRows (QTableWidget *table, QList< int > &rows)
 Return a list of selected rows.

Variables

return SMESH.subSO

Define Documentation

#define CASE2NAME (   enum)    case GEOM::enum: name = QObject::tr( "GEOM_" #enum ); break;

Return shape type name.

Definition at line 402 of file SMESHGUI_ComputeDlg.cxx.

Referenced by SMESH.shapeTypeName().

#define CASE2TEXT (   enum)    case SMESH::enum: text = QObject::tr( #enum ); break;

Return text describing an error.

Definition at line 335 of file SMESHGUI_ComputeDlg.cxx.

Referenced by SMESH.errorText().

#define COLONIZE (   str)    (QString(str).contains(":") > 0 ? QString(str) : QString(str) + " :" )

Definition at line 101 of file SMESHGUI_ComputeDlg.cxx.

#define MARGIN   11

Definition at line 99 of file SMESHGUI_ComputeDlg.cxx.

#define SPACING   6

Definition at line 98 of file SMESHGUI_ComputeDlg.cxx.


Enumeration Type Documentation

enum TCol
Enumerator:
COL_ALGO 
COL_SHAPE 
COL_ERROR 
COL_SHAPEID 
COL_PUBLISHED 
COL_BAD_MESH 
NB_COLUMNS 
COL_ALGO 
COL_SHAPE 
COL_ERROR 
COL_SHAPEID 
COL_PUBLISHED 
COL_BAD_MESH 
NB_COLUMNS 

Definition at line 117 of file SMESHGUI_ComputeDlg.cxx.

Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS