From: eap Date: Tue, 18 Sep 2018 14:26:48 +0000 (+0300) Subject: 23586: [EDF] HYDRO: Copy mesh to new geometry X-Git-Tag: HYDRO_V2_0_0^0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fhydro%2Fimps_2018;p=plugins%2Fhexablockplugin.git 23586: [EDF] HYDRO: Copy mesh to new geometry --- diff --git a/src/HEXABLOCKPlugin/HEXABLOCKPlugin_Hypothesis_i.hxx b/src/HEXABLOCKPlugin/HEXABLOCKPlugin_Hypothesis_i.hxx index e95b42a..4e0baaf 100755 --- a/src/HEXABLOCKPlugin/HEXABLOCKPlugin_Hypothesis_i.hxx +++ b/src/HEXABLOCKPlugin/HEXABLOCKPlugin_Hypothesis_i.hxx @@ -50,26 +50,32 @@ class HEXABLOCKPLUGINENGINE_EXPORT HEXABLOCKPlugin_Hypothesis_i: // Destructor virtual ~HEXABLOCKPlugin_Hypothesis_i(); - /*! - * Define the document to be meshed, mandatory - */ - char* GetDocument (); - void SetDocument (const char* doc); + /*! + * Define the document to be meshed, mandatory + */ + char* GetDocument (); + void SetDocument (const char* doc); - /*! - * To define the hight dimension to generated: 3 = hexas, 2 = quads, 1 = segments, 0 = nodes - */ - CORBA::Long GetDimension(); - void SetDimension(CORBA::Long dim); + /*! + * To define the hight dimension to generated: 3 = hexas, 2 = quads, 1 = segments, 0 = nodes + */ + CORBA::Long GetDimension(); + void SetDimension(CORBA::Long dim); - // Get implementation - ::HEXABLOCKPlugin_Hypothesis* GetImpl(); - - // Verify whether hypothesis supports given entity type - CORBA::Boolean IsDimSupported( SMESH::Dimension type ); + // Get implementation + ::HEXABLOCKPlugin_Hypothesis* GetImpl(); + + // Verify whether hypothesis supports given entity type + CORBA::Boolean IsDimSupported( SMESH::Dimension type ); + + // Methods for copying mesh definition to other geometry + virtual bool getObjectsDependOn( std::vector< std::string > & entryArray, + std::vector< int > & subIDArray ) const { return false; } + virtual bool setObjectsDependOn( std::vector< std::string > & entryArray, + std::vector< int > & subIDArray ) { return true; } private: - PortableServer::POA_var _poa;// POA reference + PortableServer::POA_var _poa;// POA reference };