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
Copyright update 2020
[modules/smesh.git]
/
src
/
StdMeshers
/
StdMeshers_NumberOfSegments.hxx
diff --git
a/src/StdMeshers/StdMeshers_NumberOfSegments.hxx
b/src/StdMeshers/StdMeshers_NumberOfSegments.hxx
index a85308bbfae94d1708e586547b46992cfd458263..ef6967f5a51de0545d57276ba1739a2c0947c061 100644
(file)
--- a/
src/StdMeshers/StdMeshers_NumberOfSegments.hxx
+++ b/
src/StdMeshers/StdMeshers_NumberOfSegments.hxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-20
16
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-20
20
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
@@
-29,10
+29,10
@@
#ifndef _SMESH_NUMBEROFSEGMENTS_HXX_
#define _SMESH_NUMBEROFSEGMENTS_HXX_
#ifndef _SMESH_NUMBEROFSEGMENTS_HXX_
#define _SMESH_NUMBEROFSEGMENTS_HXX_
-#include "SMESH_StdMeshers.hxx"
-
+#include "StdMeshers_Reversible1D.hxx"
#include "SMESH_Hypothesis.hxx"
#include "Utils_SALOME_Exception.hxx"
#include "SMESH_Hypothesis.hxx"
#include "Utils_SALOME_Exception.hxx"
+
#include <vector>
/*!
#include <vector>
/*!
@@
-41,11
+41,10
@@
* It provides parameters for subdivision an edge by various
* distribution types, considering the given number of resulting segments
*/
* It provides parameters for subdivision an edge by various
* distribution types, considering the given number of resulting segments
*/
-class STDMESHERS_EXPORT StdMeshers_NumberOfSegments:
- public SMESH_Hypothesis
+class STDMESHERS_EXPORT StdMeshers_NumberOfSegments: public StdMeshers_Reversible1D
{
public:
{
public:
- StdMeshers_NumberOfSegments(int hypId,
int studyId,
SMESH_Gen* gen);
+ StdMeshers_NumberOfSegments(int hypId, SMESH_Gen* gen);
virtual ~StdMeshers_NumberOfSegments();
// Builds point distribution according to passed function
virtual ~StdMeshers_NumberOfSegments();
// Builds point distribution according to passed function
@@
-171,14
+170,6
@@
public:
int ConversionMode() const
throw (SALOME_Exception);
int ConversionMode() const
throw (SALOME_Exception);
- void SetReversedEdges( std::vector<int>& ids);
-
- void SetObjectEntry( const char* entry ) { _objEntry = entry; }
-
- const char* GetObjectEntry() { return _objEntry.c_str(); }
-
- const std::vector<int>& GetReversedEdges() const { return _edgeIDs; }
-
/*!
* \brief Initialize number of segments by the mesh built on the geometry
* \param theMesh - the built mesh
/*!
* \brief Initialize number of segments by the mesh built on the geometry
* \param theMesh - the built mesh
@@
-205,8
+196,6
@@
protected:
std::vector<double> _table, _distr; //!< the table for DT_TabFunc, a sequence of pairs of numbers
std::string _func; //!< the expression of the function for DT_ExprFunc
int _convMode; //!< flag of conversion mode: 0=exponent, 1=cut negative
std::vector<double> _table, _distr; //!< the table for DT_TabFunc, a sequence of pairs of numbers
std::string _func; //!< the expression of the function for DT_ExprFunc
int _convMode; //!< flag of conversion mode: 0=exponent, 1=cut negative
- std::vector<int> _edgeIDs; //!< list of reversed edges ids
- std::string _objEntry; //!< Entry of the main object to reverse edges
};
#endif
};
#endif