26 #ifndef _BLSURFPlugin_Hypothesis_i_HXX_
27 #define _BLSURFPlugin_Hypothesis_i_HXX_
29 #include <SALOMEconfig.h>
30 #include CORBA_SERVER_HEADER(BLSURFPlugin_Algorithm)
32 #include "SMESH_Hypothesis_i.hxx"
41 public virtual POA_BLSURFPlugin::BLSURFPlugin_Hypothesis,
48 ::SMESH_Gen* theGenImpl,
132 void SetVerbosity(CORBA::Short theVal)
throw (SALOME::SALOME_Exception);
162 void SetDebug( CORBA::Boolean isDebug );
174 void SetTags(
const char* howToTreat )
throw (SALOME::SALOME_Exception);
192 void SetOptionValue(
const char* optionName,
const char* optionValue)
throw (SALOME::SALOME_Exception);
193 void SetPreCADOptionValue(
const char* optionName,
const char* optionValue)
throw (SALOME::SALOME_Exception);
194 char*
GetOptionValue(
const char* optionName)
throw (SALOME::SALOME_Exception);
207 void SetAdvancedOption(
const char* optionsAndValues)
throw (SALOME::SALOME_Exception);
209 void AddOption(
const char* optionName,
const char* optionValue);
214 void SetSizeMapEntry(
const char* entry,
const char* sizeMap)
throw (SALOME::SALOME_Exception);
216 void SetConstantSizeMapEntry(
const char* entry, GEOM::shape_type shapeType, CORBA::Double sizeMap)
throw (SALOME::SALOME_Exception);
218 char*
GetSizeMapEntry(
const char* entry)
throw (SALOME::SALOME_Exception);
226 void SetSizeMap(GEOM::GEOM_Object_ptr GeomObj,
const char* sizeMap)
throw (SALOME::SALOME_Exception);
234 void SetAttractor(GEOM::GEOM_Object_ptr GeomObj,
const char* attractor);
238 void SetAttractorEntry(
const char* entry,
const char* attractor)
throw (SALOME::SALOME_Exception);
249 void SetAttractorGeom(GEOM::GEOM_Object_ptr GeomObj, GEOM::GEOM_Object_ptr Attractor, CORBA::Double StartSize, CORBA::Double EndSize, CORBA::Double ActionRadius, CORBA::Double ConstantRadius );
252 GEOM::GEOM_Object_ptr theAttractor);
255 void SetClassAttractorEntry(
const char* entry,
const char* att_entry, CORBA::Double StartSize, CORBA::Double EndSize, CORBA::Double ActionRadius, CORBA::Double ConstantRadius)
throw (SALOME::SALOME_Exception);
291 bool SetEnforcedVertex(GEOM::GEOM_Object_ptr theFace, CORBA::Double x, CORBA::Double y, CORBA::Double z)
292 throw (SALOME::SALOME_Exception);
293 bool SetEnforcedVertexNamed(GEOM::GEOM_Object_ptr theFace, CORBA::Double x, CORBA::Double y, CORBA::Double z,
const char* theVertexName)
294 throw (SALOME::SALOME_Exception);
296 throw (SALOME::SALOME_Exception);
297 bool SetEnforcedVertexWithGroup(GEOM::GEOM_Object_ptr theFace, CORBA::Double x, CORBA::Double y, CORBA::Double z,
const char* theGroupName)
298 throw (SALOME::SALOME_Exception);
299 bool SetEnforcedVertexNamedWithGroup(GEOM::GEOM_Object_ptr theFace, CORBA::Double x, CORBA::Double y, CORBA::Double z,
const char* theVertexName,
const char* theGroupName)
300 throw (SALOME::SALOME_Exception);
302 throw (SALOME::SALOME_Exception);
306 bool UnsetEnforcedVertex(GEOM::GEOM_Object_ptr theFace, CORBA::Double x, CORBA::Double y, CORBA::Double z)
307 throw (SALOME::SALOME_Exception);
309 throw (SALOME::SALOME_Exception);
314 throw (SALOME::SALOME_Exception);
316 throw (SALOME::SALOME_Exception);
318 throw (SALOME::SALOME_Exception);
320 throw (SALOME::SALOME_Exception);
322 throw (SALOME::SALOME_Exception);
324 throw (SALOME::SALOME_Exception);
327 throw (SALOME::SALOME_Exception);
329 throw (SALOME::SALOME_Exception);
335 bool SetEnforcedVertexEntry(
const char* theFaceEntry, CORBA::Double x = 0, CORBA::Double y = 0, CORBA::Double z = 0,
336 const char* theVertexName =
"",
const char* theVertexEntry =
"",
const char* theGroupName =
"")
337 throw (SALOME::SALOME_Exception);
342 const char* theVertexEntry =
"")
throw (SALOME::SALOME_Exception);
372 throw (SALOME::SALOME_Exception);
375 const GEOM::ListOfGO& theSourceVertices,
const GEOM::ListOfGO& theTargetVertices)
376 throw (SALOME::SALOME_Exception);
380 throw (SALOME::SALOME_Exception);
383 throw (SALOME::SALOME_Exception);
386 const GEOM::ListOfGO& theSourceVertices,
const GEOM::ListOfGO& theTargetVertices)
387 throw (SALOME::SALOME_Exception);
391 throw (SALOME::SALOME_Exception);
413 void SetPhyMin(CORBA::Double theMinSize);
415 void SetPhyMax(CORBA::Double theMaxSize);
417 void SetGeoMin(CORBA::Double theMinSize);
419 void SetGeoMax(CORBA::Double theMaxSize);
437 void CheckShapeType(GEOM::GEOM_Object_ptr shape, GEOM::shape_type theShapeType);
438 void CheckShapeTypes(GEOM::GEOM_Object_ptr shape, std::vector<GEOM::shape_type> theShapeTypes);
439 std::string
PublishIfNeeded(GEOM::GEOM_Object_ptr shape, GEOM::shape_type theShapeType, std::string prefix);
440 std::string
FormatVerticesEntries(std::vector<std::string> &theSourceVerticesEntries, std::vector<std::string> &theTargetVerticesEntries);