//purpose :
//=======================================================================
-// SMESH_HexaFromSkin_3D::SMESH_HexaFromSkin_3D(int hypId, int studyId, SMESH_Gen* gen)
-// :SMESH_3D_Algo(hypId, studyId, gen)
+// SMESH_HexaFromSkin_3D::SMESH_HexaFromSkin_3D(int hypId, SMESH_Gen* gen)
+// :SMESH_3D_Algo(hypId, gen)
// {
// MESSAGE("SMESH_HexaFromSkin_3D::SMESH_HexaFromSkin_3D");
// _name = "HexaFromSkin_3D";
// }
-SMESH_HexaFromSkin_3D::SMESH_HexaFromSkin_3D(int hypId, int studyId, SMESH_Gen* gen, HEXA_NS::Document* doc)
- :SMESH_3D_Algo(hypId, studyId, gen),
+SMESH_HexaFromSkin_3D::SMESH_HexaFromSkin_3D(int hypId, SMESH_Gen* gen, HEXA_NS::Document* doc)
+ :SMESH_3D_Algo(hypId, gen),
_doc( doc )
{
if(MYDEBUG) MESSAGE("SMESH_HexaFromSkin_3D::SMESH_HexaFromSkin_3D");
class HEXABLOCKPLUGINENGINE_EXPORT SMESH_HexaFromSkin_3D : public SMESH_3D_Algo
{
public:
-// SMESH_HexaFromSkin_3D(int hypId, int studyId, SMESH_Gen* gen);
- SMESH_HexaFromSkin_3D(int hypId, int studyId, SMESH_Gen* gen, HEXA_NS::Document* doc);
+// SMESH_HexaFromSkin_3D(int hypId, SMESH_Gen* gen);
+ SMESH_HexaFromSkin_3D(int hypId, SMESH_Gen* gen, HEXA_NS::Document* doc);
virtual ~SMESH_HexaFromSkin_3D();
virtual bool Compute(SMESH_Mesh & aMesh, SMESH_MesherHelper* aHelper);
*/
//=============================================================================
-HEXABLOCKPlugin_HEXABLOCK::HEXABLOCKPlugin_HEXABLOCK(int hypId, int studyId, SMESH_Gen* gen)
- : SMESH_3D_Algo(hypId, studyId, gen)
+HEXABLOCKPlugin_HEXABLOCK::HEXABLOCKPlugin_HEXABLOCK(int hypId, SMESH_Gen* gen)
+ : SMESH_3D_Algo(hypId, gen)
{
if(MYDEBUG) MESSAGE("HEXABLOCKPlugin_HEXABLOCK::HEXABLOCKPlugin_HEXABLOCK");
_name = "HEXABLOCK_3D";
class HEXABLOCKPLUGINENGINE_EXPORT HEXABLOCKPlugin_HEXABLOCK: public SMESH_3D_Algo
{
public:
- HEXABLOCKPlugin_HEXABLOCK(int hypId, int studyId, SMESH_Gen* gen);
+ HEXABLOCKPlugin_HEXABLOCK(int hypId, SMESH_Gen* gen);
virtual ~HEXABLOCKPlugin_HEXABLOCK();
virtual bool CheckHypothesis(SMESH_Mesh& aMesh,
//=============================================================================
HEXABLOCKPlugin_HEXABLOCK_i::HEXABLOCKPlugin_HEXABLOCK_i (PortableServer::POA_ptr thePOA,
- int theStudyId,
- ::SMESH_Gen* theGenImpl )
+ ::SMESH_Gen* theGenImpl )
: SALOME::GenericObj_i( thePOA ),
SMESH_Hypothesis_i( thePOA ),
SMESH_Algo_i( thePOA ),
{
if(MYDEBUG) MESSAGE( "HEXABLOCKPlugin_HEXABLOCK_i::HEXABLOCKPlugin_HEXABLOCK_i" );
myBaseImpl = new ::HEXABLOCKPlugin_HEXABLOCK (theGenImpl->GetANewId(),
- theStudyId,
- theGenImpl );
+ theGenImpl );
}
//=============================================================================
public:
// Constructor
HEXABLOCKPlugin_HEXABLOCK_i (PortableServer::POA_ptr thePOA,
- int theStudyId,
- ::SMESH_Gen* theGenImpl );
+ ::SMESH_Gen* theGenImpl );
// Destructor
virtual ~HEXABLOCKPlugin_HEXABLOCK_i();
//function : HEXABLOCKPlugin_Hypothesis
//=======================================================================
-HEXABLOCKPlugin_Hypothesis::HEXABLOCKPlugin_Hypothesis(int hypId, int studyId, SMESH_Gen * gen)
- : SMESH_Hypothesis(hypId, studyId, gen)
+HEXABLOCKPlugin_Hypothesis::HEXABLOCKPlugin_Hypothesis(int hypId, SMESH_Gen * gen)
+ : SMESH_Hypothesis(hypId, gen)
{
hexa_root = HEXA_NS::Hex::getInstance ();
hyp_document = NULL;
{
public:
- HEXABLOCKPlugin_Hypothesis(int hypId, int studyId, SMESH_Gen * gen);
+ HEXABLOCKPlugin_Hypothesis(int hypId, SMESH_Gen * gen);
/*!
* Define the document to be meshed, mandatory
//=======================================================================
HEXABLOCKPlugin_Hypothesis_i::HEXABLOCKPlugin_Hypothesis_i (PortableServer::POA_ptr thePOA,
- int theStudyId,
- ::SMESH_Gen* theGenImpl)
+ ::SMESH_Gen* theGenImpl)
: SALOME::GenericObj_i( thePOA ),
SMESH_Hypothesis_i( thePOA )
{
if(MYDEBUG) MESSAGE( "HEXABLOCKPlugin_Hypothesis_i::HEXABLOCKPlugin_Hypothesis_i" );
myBaseImpl = new ::HEXABLOCKPlugin_Hypothesis (theGenImpl->GetANewId(),
- theStudyId,
- theGenImpl);
+ theGenImpl);
_poa = PortableServer::POA::_duplicate(thePOA);
}
public:
// Constructor
HEXABLOCKPlugin_Hypothesis_i (PortableServer::POA_ptr thePOA,
- int theStudyId,
- ::SMESH_Gen* theGenImpl);
+ ::SMESH_Gen* theGenImpl);
// Destructor
virtual ~HEXABLOCKPlugin_Hypothesis_i();
aHelper.SetElementsOnShape( true );
SMESH_Gen* gen = _theMesh->GetGen();
- SMESH_HexaFromSkin_3D algo( gen->GetANewId(), 0, gen, doc );
+ SMESH_HexaFromSkin_3D algo( 0, gen, doc );
algo.InitComputeError();
try {
ok = algo.Compute( *_theMesh, &aHelper, _volumesOnHexa, _node );