From: eap Date: Tue, 18 Sep 2018 12:01:48 +0000 (+0300) Subject: 23586: [EDF] HYDRO: Copy mesh to new geometry X-Git-Tag: V9_2_0a1^0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ab25395d74e3106fc8ca61c7ecb0eb66805d9dbb;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 96a1175..2fe00ec 100755 --- a/src/HEXABLOCKPlugin/HEXABLOCKPlugin_Hypothesis_i.hxx +++ b/src/HEXABLOCKPlugin/HEXABLOCKPlugin_Hypothesis_i.hxx @@ -49,26 +49,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 };