Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
0022136: EDF 2345 SMESH: Improving documentation of Quadrangle mapping with the type...
[modules/smesh.git]
/
src
/
OBJECT
/
SMESH_ActorUtils.cxx
diff --git
a/src/OBJECT/SMESH_ActorUtils.cxx
b/src/OBJECT/SMESH_ActorUtils.cxx
index c756156e01e9f23f8170508e89770b7439085b1f..79c1d7e31ff72a12b735a3ed4cb0494b4343f525 100644
(file)
--- a/
src/OBJECT/SMESH_ActorUtils.cxx
+++ b/
src/OBJECT/SMESH_ActorUtils.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-201
2
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-201
3
CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-55,12
+55,12
@@
namespace SMESH
{
namespace SMESH
{
-
vtkFloatingPointTyp
e
+
doubl
e
GetFloat( const QString& theValue,
GetFloat( const QString& theValue,
-
vtkFloatingPointTyp
e theDefault )
+
doubl
e theDefault )
{
int pos = theValue.indexOf( ":" );
{
int pos = theValue.indexOf( ":" );
-
vtkFloatingPointTyp
e val = theDefault;
+
doubl
e val = theDefault;
if( pos>=0 )
{
QString name = theValue.right( theValue.length()-pos-1 ),
if( pos>=0 )
{
QString name = theValue.right( theValue.length()-pos-1 ),
@@
-71,15
+71,15
@@
namespace SMESH
return val;
}
return val;
}
-
vtkFloatingPointTyp
e
+
doubl
e
GetFloat( const QString& theValue,
const QString& theSection,
GetFloat( const QString& theValue,
const QString& theSection,
-
vtkFloatingPointTyp
e theDefault )
+
doubl
e theDefault )
{
{
-
vtkFloatingPointTyp
e val = theDefault;
+
doubl
e val = theDefault;
SUIT_ResourceMgr* mgr = SUIT_Session::session()->resourceMgr();
if( mgr )
SUIT_ResourceMgr* mgr = SUIT_Session::session()->resourceMgr();
if( mgr )
- val = (
vtkFloatingPointTyp
e) mgr->doubleValue( theSection, theValue, theDefault );
+ val = (
doubl
e) mgr->doubleValue( theSection, theValue, theDefault );
return val;
}
return val;
}
@@
-90,7
+90,7
@@
namespace SMESH
{
vtkXMLUnstructuredGridWriter* aWriter = vtkXMLUnstructuredGridWriter::New();
aWriter->SetFileName(theFileName);
{
vtkXMLUnstructuredGridWriter* aWriter = vtkXMLUnstructuredGridWriter::New();
aWriter->SetFileName(theFileName);
- aWriter->SetInput(theGrid);
+ aWriter->SetInput
Data
(theGrid);
aWriter->SetDataModeToAscii();
if(theGrid->GetNumberOfCells()){
aWriter->Write();
aWriter->SetDataModeToAscii();
if(theGrid->GetNumberOfCells()){
aWriter->Write();
@@
-129,9
+129,9
@@
namespace SMESH
void
GetColor( const QString& theSect,
const QString& theName,
void
GetColor( const QString& theSect,
const QString& theName,
-
vtkFloatingPointTyp
e& r,
-
vtkFloatingPointTyp
e& g,
-
vtkFloatingPointTyp
e& b,
+
doubl
e& r,
+
doubl
e& g,
+
doubl
e& b,
const QColor& def )
{
int ir( 0 ), ig( 0 ), ib( 0 );
const QColor& def )
{
int ir( 0 ), ig( 0 ), ib( 0 );