mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-03-01 21:45:37 +05:00
0020062: [CEA 295] Type coherence in *.i files
This commit is contained in:
parent
f063265671
commit
84573a08ef
@ -30,6 +30,7 @@
|
||||
#include <string>
|
||||
#include <stdexcept>
|
||||
#include <cassert>
|
||||
#include <cstdlib>
|
||||
|
||||
namespace UNV{
|
||||
using namespace std;
|
||||
|
@ -28,14 +28,14 @@
|
||||
#ifndef aptrte__h
|
||||
#define aptrte__h
|
||||
|
||||
#include <limits.h> // limites min max int long real ...
|
||||
#include <climits> // limites min max int long real ...
|
||||
#ifndef WIN32
|
||||
#include <unistd.h> // gethostname, ...
|
||||
#endif
|
||||
#include <stdio.h>
|
||||
#ifndef WIN32
|
||||
#include <iostream.h> // pour cout cin ...
|
||||
#include <iomanip.h> // pour le format des io setw, stx, setfill, ...
|
||||
#include <iostream> // pour cout cin ...
|
||||
#include <iomanip> // pour le format des io setw, stx, setfill, ...
|
||||
#endif
|
||||
#include <string.h> // pour les fonctions sur les chaines de caracteres
|
||||
#include <ctype.h>
|
||||
|
@ -49,6 +49,7 @@
|
||||
#include "DriverUNV_R_SMDS_Mesh.h"
|
||||
#include "DriverSTL_R_SMDS_Mesh.h"
|
||||
|
||||
#undef _Precision_HeaderFile
|
||||
#include <BRepPrimAPI_MakeBox.hxx>
|
||||
#include <TopExp.hxx>
|
||||
#include <TopExp_Explorer.hxx>
|
||||
|
@ -90,7 +90,7 @@
|
||||
|
||||
namespace SMESH
|
||||
{
|
||||
void ReverseConnectivity( std::vector<int> & ids, int type )
|
||||
void ReverseConnectivity( std::vector<vtkIdType> & ids, int type )
|
||||
{
|
||||
// for reverse connectivity of other types keeping the first id, see
|
||||
// void SMESH_VisualObjDef::buildElemPrs() in SMESH_Object.cxx:900
|
||||
@ -138,7 +138,7 @@ namespace SMESH
|
||||
reverse( ids.begin(), ids.end() );
|
||||
}
|
||||
else {
|
||||
std::vector<int> aRevIds( ids.size() );
|
||||
std::vector<vtkIdType> aRevIds( ids.size() );
|
||||
for ( int i = 0; i < ids.size(); i++)
|
||||
aRevIds[ i ] = ids[ conn[ i ]];
|
||||
ids = aRevIds;
|
||||
@ -666,7 +666,7 @@ void SMESHGUI_AddQuadraticElementDlg::ClickOnApply()
|
||||
|
||||
BusyLocker lock( myBusy );
|
||||
|
||||
std::vector<int> anIds;
|
||||
std::vector<vtkIdType> anIds;
|
||||
|
||||
switch (myType) {
|
||||
case QUAD_EDGE:
|
||||
|
Loading…
Reference in New Issue
Block a user