#include <BLSURFPlugin_Hypothesis.hxx>
Data Structures | |
struct | CompareEnfVertices |
struct | TEdgePeriodicity |
struct | TEnfVertex |
struct | TPreCadPeriodicity |
struct | TVertexPeriodicity |
Public Member Functions | |
BLSURFPlugin_Hypothesis (int hypId, int studyId, SMESH_Gen *gen, bool hasgeom) | |
TopoDS_Shape | entryToShape (std::string entry) |
void | SetPhysicalMesh (PhysicalMesh thePhysicalMesh) |
PhysicalMesh | GetPhysicalMesh () const |
void | SetGeometricMesh (GeometricMesh theGeometricMesh) |
GeometricMesh | GetGeometricMesh () const |
void | SetPhySize (double thePhySize, bool isRelative=false) |
double | GetPhySize () const |
bool | IsPhySizeRel () const |
void | SetMinSize (double theMinSize, bool isRelative=false) |
double | GetMinSize () const |
bool | IsMinSizeRel () const |
void | SetMaxSize (double theMaxSize, bool isRelative=false) |
double | GetMaxSize () const |
bool | IsMaxSizeRel () const |
void | SetUseGradation (bool toUse) |
bool | GetUseGradation () const |
void | SetGradation (double theGradation) |
double | GetGradation () const |
void | SetUseVolumeGradation (bool toUse) |
bool | GetUseVolumeGradation () const |
void | SetVolumeGradation (double theGradation) |
double | GetVolumeGradation () const |
void | SetQuadAllowed (bool theVal) |
bool | GetQuadAllowed () const |
void | SetAngleMesh (double theAngle) |
double | GetAngleMesh () const |
void | SetChordalError (double theDistance) |
double | GetChordalError () const |
void | SetAnisotropic (bool theVal) |
bool | GetAnisotropic () const |
void | SetAnisotropicRatio (double theVal) |
double | GetAnisotropicRatio () const |
void | SetRemoveTinyEdges (bool theVal) |
bool | GetRemoveTinyEdges () const |
void | SetTinyEdgeLength (double theVal) |
double | GetTinyEdgeLength () const |
void | SetOptimiseTinyEdges (bool theVal) |
bool | GetOptimiseTinyEdges () const |
void | SetTinyEdgeOptimisationLength (double theVal) |
double | GetTinyEdgeOptimisationLength () const |
void | SetCorrectSurfaceIntersection (bool theVal) |
bool | GetCorrectSurfaceIntersection () const |
void | SetCorrectSurfaceIntersectionMaxCost (double theVal) |
double | GetCorrectSurfaceIntersectionMaxCost () const |
void | SetBadElementRemoval (bool theVal) |
bool | GetBadElementRemoval () const |
void | SetBadElementAspectRatio (double theVal) |
double | GetBadElementAspectRatio () const |
void | SetOptimizeMesh (bool theVal) |
bool | GetOptimizeMesh () const |
void | SetQuadraticMesh (bool theVal) |
bool | GetQuadraticMesh () const |
void | SetTopology (Topology theTopology) |
Topology | GetTopology () const |
void | SetVerbosity (int theVal) |
int | GetVerbosity () const |
void | ClearEntry (const std::string &entry, const char *attEntry=0) |
void | ClearSizeMaps () |
void | SetEnforceCadEdgesSize (bool toEnforce) |
bool | GetEnforceCadEdgesSize () |
void | SetJacobianRectificationRespectGeometry (bool allowRectification) |
bool | GetJacobianRectificationRespectGeometry () |
void | SetUseDeprecatedPatchMesher (bool useDeprecatedPatchMesher) |
bool | GetUseDeprecatedPatchMesher () |
void | SetJacobianRectification (bool allowRectification) |
bool | GetJacobianRectification () |
void | SetMaxNumberOfPointsPerPatch (int nb) throw (std::invalid_argument) |
int | GetMaxNumberOfPointsPerPatch () |
void | SetMaxNumberOfThreads (int nb) throw (std::invalid_argument) |
int | GetMaxNumberOfThreads () |
void | SetRespectGeometry (bool toRespect) |
bool | GetRespectGeometry () |
void | SetTinyEdgesAvoidSurfaceIntersections (bool toAvoidIntersection) |
bool | GetTinyEdgesAvoidSurfaceIntersections () |
void | SetClosedGeometry (bool isClosed) |
bool | GetClosedGeometry () |
void | SetDebug (bool isDebug) |
bool | GetDebug () |
void | SetPeriodicTolerance (double tol) throw (std::invalid_argument) |
double | GetPeriodicTolerance () |
void | SetRequiredEntities (const std::string &howToTreat) throw (std::invalid_argument) |
std::string | GetRequiredEntities () |
void | SetSewingTolerance (double tol) throw (std::invalid_argument) |
double | GetSewingTolerance () |
void | SetTags (const std::string &howToTreat) throw (std::invalid_argument) |
std::string | GetTags () |
void | SetHyperPatches (const THyperPatchList &hpl) |
const THyperPatchList & | GetHyperPatches () const |
void | SetPreCADMergeEdges (bool theVal) |
bool | GetPreCADMergeEdges () const |
void | SetPreCADRemoveDuplicateCADFaces (bool theVal) |
bool | GetPreCADRemoveDuplicateCADFaces () const |
void | SetPreCADProcess3DTopology (bool theVal) |
bool | GetPreCADProcess3DTopology () const |
void | SetPreCADDiscardInput (bool theVal) |
bool | GetPreCADDiscardInput () const |
void | SetSizeMapEntry (const std::string &entry, const std::string &sizeMap) |
std::string | GetSizeMapEntry (const std::string &entry) |
const TSizeMap & | _GetSizeMapEntries () const |
void | SetAttractorEntry (const std::string &entry, const std::string &attractor) |
std::string | GetAttractorEntry (const std::string &entry) |
const TSizeMap & | _GetAttractorEntries () const |
void | SetClassAttractorEntry (const std::string &entry, const std::string &att_entry, double StartSize, double EndSize, double ActionRadius, double ConstantRadius) |
std::string | GetClassAttractorEntry (const std::string &entry) |
const TAttractorMap & | _GetClassAttractorEntries () const |
bool | SetEnforcedVertex (TEntry theFaceEntry, TEnfName theVertexName, TEntry theVertexEntry, TEnfGroupName theGroupName, double x=0.0, double y=0.0, double z=0.0) |
TEnfVertexList | GetEnfVertexList (const TEntry &theFaceEntry) throw (std::invalid_argument) |
TEnfVertexCoordsList | GetEnfVertexCoordsList (const TEntry &theFaceEntry) throw (std::invalid_argument) |
TEntryList | GetEnfVertexEntryList (const TEntry &theFaceEntry) throw (std::invalid_argument) |
TEnfVertex * | GetEnfVertex (TEnfVertexCoords coords) throw (std::invalid_argument) |
TEnfVertex * | GetEnfVertex (const TEntry &theEnfVertexEntry) throw (std::invalid_argument) |
void | AddEnfVertexNodeID (TEnfGroupName theGroupName, int theNodeID) |
std::set< int > | GetEnfVertexNodeIDs (TEnfGroupName theGroupName) throw (std::invalid_argument) |
void | RemoveEnfVertexNodeID (TEnfGroupName theGroupName, int theNodeID) throw (std::invalid_argument) |
bool | ClearEnforcedVertex (const TEntry &theFaceEntry, double x=0.0, double y=0.0, double z=0.0, const TEntry &theVertexEntry="") throw (std::invalid_argument) |
bool | ClearEnforcedVertices (const TEntry &theFaceEntry) throw (std::invalid_argument) |
void | ClearAllEnforcedVertices () |
const TFaceEntryEnfVertexListMap | _GetAllEnforcedVerticesByFace () const |
const TEnfVertexList | _GetAllEnforcedVertices () const |
const TFaceEntryCoordsListMap | _GetAllCoordsByFace () const |
const TCoordsEnfVertexMap | _GetAllEnforcedVerticesByCoords () const |
const TFaceEntryEnfVertexEntryListMap | _GetAllEnfVertexEntriesByFace () const |
const TEnfVertexEntryEnfVertexMap | _GetAllEnforcedVerticesByEnfVertexEntry () const |
void | SetInternalEnforcedVertexAllFaces (bool toEnforceInternalVertices) |
Internal enforced vertices. More... | |
const bool | _GetInternalEnforcedVertexAllFaces () const |
void | SetInternalEnforcedVertexAllFacesGroup (TEnfGroupName theGroupName) |
const TEnfGroupName | _GetInternalEnforcedVertexAllFacesGroup () const |
const TPreCadPeriodicityVector | _GetPreCadFacesPeriodicityVector () const |
const TPreCadPeriodicityVector | _GetPreCadEdgesPeriodicityVector () const |
const TFacesPeriodicityVector | _GetFacesPeriodicityVector () const |
const TEdgesPeriodicityVector | _GetEdgesPeriodicityVector () const |
const TVerticesPeriodicityVector | _GetVerticesPeriodicityVector () const |
void | ClearPreCadPeriodicityVectors () |
void | AddPreCadFacesPeriodicity (TEntry theFace1Entry, TEntry theFace2Entry, std::vector< std::string > &theSourceVerticesEntries, std::vector< std::string > &theTargetVerticesEntries) |
void | AddPreCadEdgesPeriodicity (TEntry theEdge1Entry, TEntry theEdge2Entry, std::vector< std::string > &theSourceVerticesEntries, std::vector< std::string > &theTargetVerticesEntries) |
void | SetOptionValue (const std::string &optionName, const std::string &optionValue) throw (std::invalid_argument) |
void | SetPreCADOptionValue (const std::string &optionName, const std::string &optionValue) throw (std::invalid_argument) |
std::string | GetOptionValue (const std::string &optionName, bool *isDefault=0) const throw (std::invalid_argument) |
std::string | GetPreCADOptionValue (const std::string &optionName, bool *isDefault=0) const throw (std::invalid_argument) |
void | ClearOption (const std::string &optionName) |
void | ClearPreCADOption (const std::string &optionName) |
TOptionValues | GetOptionValues () const |
TOptionValues | GetPreCADOptionValues () const |
const TOptionValues & | GetCustomOptionValues () const |
void | AddOption (const std::string &optionName, const std::string &optionValue) |
void | AddPreCADOption (const std::string &optionName, const std::string &optionValue) |
std::string | GetOption (const std::string &optionName) const |
std::string | GetPreCADOption (const std::string &optionName) const |
void | SetGMFFile (const std::string &theFileName) |
std::string | GetGMFFile () const |
virtual std::ostream & | SaveTo (std::ostream &save) |
virtual std::istream & | LoadFrom (std::istream &load) |
virtual bool | SetParametersByMesh (const SMESH_Mesh *theMesh, const TopoDS_Shape &theShape) |
Does nothing. More... | |
virtual bool | SetParametersByDefaults (const TDefaults &dflts, const SMESH_Mesh *theMesh=0) |
Initialize my parameter values by default parameters. More... | |
Private Member Functions | |
void | SavePreCADPeriodicity (std::ostream &save, const char *shapeType) |
void | LoadPreCADPeriodicity (std::istream &load, const char *shapeType) |
void | LoadFacesPeriodicity (std::istream &load) |
void | LoadEdgesPeriodicity (std::istream &load) |
void | LoadVerticesPeriodicity (std::istream &load) |
void | SaveFacesPeriodicity (std::ostream &save) |
void | SaveEdgesPeriodicity (std::ostream &save) |
void | SaveVerticesPeriodicity (std::ostream &save) |
Friends | |
std::ostream & | operator<< (std::ostream &save, BLSURFPlugin_Hypothesis &hyp) |
std::istream & | operator>> (std::istream &load, BLSURFPlugin_Hypothesis &hyp) |
typedef std::set< int > BLSURFPlugin_Hypothesis::THyperPatchTags |
typedef std::vector< THyperPatchTags > BLSURFPlugin_Hypothesis::THyperPatchList |
typedef std::map<std::string,std::string> BLSURFPlugin_Hypothesis::TSizeMap |
typedef std::multimap< std::string, BLSURFPlugin_Attractor* > BLSURFPlugin_Hypothesis::TAttractorMap |
typedef std::map< std::string, std::vector<double> > BLSURFPlugin_Hypothesis::TParamsMap |
typedef std::string BLSURFPlugin_Hypothesis::TEnfName |
To set/get/unset an enforced vertex
typedef std::string BLSURFPlugin_Hypothesis::TEntry |
typedef std::set<TEntry> BLSURFPlugin_Hypothesis::TEntryList |
typedef std::string BLSURFPlugin_Hypothesis::TEnfGroupName |
typedef std::vector<double> BLSURFPlugin_Hypothesis::TEnfVertexCoords |
typedef std::set< TEnfVertexCoords > BLSURFPlugin_Hypothesis::TEnfVertexCoordsList |
typedef std::pair< TEntry, TEntry > BLSURFPlugin_Hypothesis::TFacesPeriodicity |
typedef std::set< TEnfVertex*, CompareEnfVertices > BLSURFPlugin_Hypothesis::TEnfVertexList |
typedef std::map< TEntry, TEnfVertexList > BLSURFPlugin_Hypothesis::TFaceEntryEnfVertexListMap |
typedef std::set< TEntry > BLSURFPlugin_Hypothesis::TFaceEntryInternalVerticesList |
typedef std::map< TEntry, TEnfVertexCoordsList > BLSURFPlugin_Hypothesis::TFaceEntryCoordsListMap |
typedef std::map< TEntry, TEntryList > BLSURFPlugin_Hypothesis::TFaceEntryEnfVertexEntryListMap |
typedef std::map< TEnfVertexCoords, TEnfVertex* > BLSURFPlugin_Hypothesis::TCoordsEnfVertexMap |
typedef std::map< TEntry, TEnfVertex* > BLSURFPlugin_Hypothesis::TEnfVertexEntryEnfVertexMap |
typedef std::map< TEnfGroupName, std::set<int> > BLSURFPlugin_Hypothesis::TGroupNameNodeIDMap |
typedef std::vector< TPreCadPeriodicity > BLSURFPlugin_Hypothesis::TPreCadPeriodicityVector |
typedef std::vector< TFacesPeriodicity > BLSURFPlugin_Hypothesis::TFacesPeriodicityVector |
typedef std::vector< TEdgePeriodicity > BLSURFPlugin_Hypothesis::TEdgesPeriodicityVector |
typedef std::vector< TVertexPeriodicity > BLSURFPlugin_Hypothesis::TVerticesPeriodicityVector |
typedef std::map< std::string, std::string > BLSURFPlugin_Hypothesis::TOptionValues |
typedef std::set< std::string > BLSURFPlugin_Hypothesis::TOptionNames |
BLSURFPlugin_Hypothesis::BLSURFPlugin_Hypothesis | ( | int | hypId, |
int | studyId, | ||
SMESH_Gen * | gen, | ||
bool | hasgeom | ||
) |
References _attractors, _boolOptions, _charOptions, _coordsEnfVertexMap, _defaultOptionValues, _doubleOptions, _enfVertexEntryEnfVertexMap, _enfVertexList, _faceEntryCoordsListMap, _faceEntryEnfVertexEntryListMap, _faceEntryEnfVertexListMap, _groupNameNodeIDMap, _option2value, _preCADcharOptions, _preCADdoubleOptions, _preCADoption2value, _sizeMap, and GetHypType().
|
static |
TopoDS_Shape BLSURFPlugin_Hypothesis::entryToShape | ( | std::string | entry | ) |
void BLSURFPlugin_Hypothesis::SetPhysicalMesh | ( | PhysicalMesh | thePhysicalMesh | ) |
References _physicalMesh.
PhysicalMesh BLSURFPlugin_Hypothesis::GetPhysicalMesh | ( | ) | const |
References _physicalMesh.
void BLSURFPlugin_Hypothesis::SetGeometricMesh | ( | GeometricMesh | theGeometricMesh | ) |
References _geometricMesh.
GeometricMesh BLSURFPlugin_Hypothesis::GetGeometricMesh | ( | ) | const |
References _geometricMesh.
void BLSURFPlugin_Hypothesis::SetPhySize | ( | double | thePhySize, |
bool | isRelative = false |
||
) |
References _phySize, _phySizeRel, and GetMaxSize().
double BLSURFPlugin_Hypothesis::GetPhySize | ( | ) | const |
References _phySize.
bool BLSURFPlugin_Hypothesis::IsPhySizeRel | ( | ) | const |
References _phySizeRel.
void BLSURFPlugin_Hypothesis::SetMinSize | ( | double | theMinSize, |
bool | isRelative = false |
||
) |
References _minSize, and _minSizeRel.
double BLSURFPlugin_Hypothesis::GetMinSize | ( | ) | const |
References _minSize.
bool BLSURFPlugin_Hypothesis::IsMinSizeRel | ( | ) | const |
References _minSizeRel.
void BLSURFPlugin_Hypothesis::SetMaxSize | ( | double | theMaxSize, |
bool | isRelative = false |
||
) |
References _maxSize, and _maxSizeRel.
double BLSURFPlugin_Hypothesis::GetMaxSize | ( | ) | const |
References _maxSize.
bool BLSURFPlugin_Hypothesis::IsMaxSizeRel | ( | ) | const |
References _maxSizeRel.
void BLSURFPlugin_Hypothesis::SetUseGradation | ( | bool | toUse | ) |
References _useGradation.
bool BLSURFPlugin_Hypothesis::GetUseGradation | ( | ) | const |
References _useGradation.
void BLSURFPlugin_Hypothesis::SetGradation | ( | double | theGradation | ) |
References _gradation, and _useGradation.
double BLSURFPlugin_Hypothesis::GetGradation | ( | ) | const |
References _gradation.
void BLSURFPlugin_Hypothesis::SetUseVolumeGradation | ( | bool | toUse | ) |
References _useVolumeGradation.
bool BLSURFPlugin_Hypothesis::GetUseVolumeGradation | ( | ) | const |
References _useVolumeGradation.
void BLSURFPlugin_Hypothesis::SetVolumeGradation | ( | double | theGradation | ) |
References _useVolumeGradation, and _volumeGradation.
double BLSURFPlugin_Hypothesis::GetVolumeGradation | ( | ) | const |
References _volumeGradation.
void BLSURFPlugin_Hypothesis::SetQuadAllowed | ( | bool | theVal | ) |
References _quadAllowed.
bool BLSURFPlugin_Hypothesis::GetQuadAllowed | ( | ) | const |
References _quadAllowed.
void BLSURFPlugin_Hypothesis::SetAngleMesh | ( | double | theAngle | ) |
References _angleMesh.
double BLSURFPlugin_Hypothesis::GetAngleMesh | ( | ) | const |
References _angleMesh.
void BLSURFPlugin_Hypothesis::SetChordalError | ( | double | theDistance | ) |
References _chordalError.
double BLSURFPlugin_Hypothesis::GetChordalError | ( | ) | const |
References _chordalError.
void BLSURFPlugin_Hypothesis::SetAnisotropic | ( | bool | theVal | ) |
References _anisotropic.
bool BLSURFPlugin_Hypothesis::GetAnisotropic | ( | ) | const |
References _anisotropic.
void BLSURFPlugin_Hypothesis::SetAnisotropicRatio | ( | double | theVal | ) |
References _anisotropicRatio.
double BLSURFPlugin_Hypothesis::GetAnisotropicRatio | ( | ) | const |
References _anisotropicRatio.
void BLSURFPlugin_Hypothesis::SetRemoveTinyEdges | ( | bool | theVal | ) |
References _removeTinyEdges.
bool BLSURFPlugin_Hypothesis::GetRemoveTinyEdges | ( | ) | const |
References _removeTinyEdges.
void BLSURFPlugin_Hypothesis::SetTinyEdgeLength | ( | double | theVal | ) |
References _tinyEdgeLength.
double BLSURFPlugin_Hypothesis::GetTinyEdgeLength | ( | ) | const |
References _tinyEdgeLength.
void BLSURFPlugin_Hypothesis::SetOptimiseTinyEdges | ( | bool | theVal | ) |
References _optimiseTinyEdges.
bool BLSURFPlugin_Hypothesis::GetOptimiseTinyEdges | ( | ) | const |
References _optimiseTinyEdges.
void BLSURFPlugin_Hypothesis::SetTinyEdgeOptimisationLength | ( | double | theVal | ) |
References _tinyEdgeOptimisationLength.
double BLSURFPlugin_Hypothesis::GetTinyEdgeOptimisationLength | ( | ) | const |
References _tinyEdgeOptimisationLength.
void BLSURFPlugin_Hypothesis::SetCorrectSurfaceIntersection | ( | bool | theVal | ) |
References _correctSurfaceIntersec.
bool BLSURFPlugin_Hypothesis::GetCorrectSurfaceIntersection | ( | ) | const |
References _correctSurfaceIntersec.
void BLSURFPlugin_Hypothesis::SetCorrectSurfaceIntersectionMaxCost | ( | double | theVal | ) |
References _corrSurfaceIntersCost.
double BLSURFPlugin_Hypothesis::GetCorrectSurfaceIntersectionMaxCost | ( | ) | const |
References _corrSurfaceIntersCost.
void BLSURFPlugin_Hypothesis::SetBadElementRemoval | ( | bool | theVal | ) |
References _badElementRemoval.
bool BLSURFPlugin_Hypothesis::GetBadElementRemoval | ( | ) | const |
References _badElementRemoval.
void BLSURFPlugin_Hypothesis::SetBadElementAspectRatio | ( | double | theVal | ) |
References _badElementAspectRatio.
double BLSURFPlugin_Hypothesis::GetBadElementAspectRatio | ( | ) | const |
References _badElementAspectRatio.
void BLSURFPlugin_Hypothesis::SetOptimizeMesh | ( | bool | theVal | ) |
References _optimizeMesh.
bool BLSURFPlugin_Hypothesis::GetOptimizeMesh | ( | ) | const |
References _optimizeMesh.
void BLSURFPlugin_Hypothesis::SetQuadraticMesh | ( | bool | theVal | ) |
References _quadraticMesh.
bool BLSURFPlugin_Hypothesis::GetQuadraticMesh | ( | ) | const |
References _quadraticMesh.
void BLSURFPlugin_Hypothesis::SetVerbosity | ( | int | theVal | ) |
References _verb.
int BLSURFPlugin_Hypothesis::GetVerbosity | ( | ) | const |
References _verb.
void BLSURFPlugin_Hypothesis::ClearEntry | ( | const std::string & | entry, |
const char * | attEntry = 0 |
||
) |
References _attractors, _classAttractors, and _sizeMap.
void BLSURFPlugin_Hypothesis::ClearSizeMaps | ( | ) |
References _attractors, _classAttractors, and _sizeMap.
void BLSURFPlugin_Hypothesis::SetEnforceCadEdgesSize | ( | bool | toEnforce | ) |
References GetEnforceCadEdgesSize(), and SetOptionValue().
bool BLSURFPlugin_Hypothesis::GetEnforceCadEdgesSize | ( | ) |
References GetOptionValue(), and ToBool().
void BLSURFPlugin_Hypothesis::SetJacobianRectificationRespectGeometry | ( | bool | allowRectification | ) |
References GetJacobianRectificationRespectGeometry(), and SetOptionValue().
bool BLSURFPlugin_Hypothesis::GetJacobianRectificationRespectGeometry | ( | ) |
References GetOptionValue(), and ToBool().
void BLSURFPlugin_Hypothesis::SetUseDeprecatedPatchMesher | ( | bool | useDeprecatedPatchMesher | ) |
References GetUseDeprecatedPatchMesher(), and SetOptionValue().
bool BLSURFPlugin_Hypothesis::GetUseDeprecatedPatchMesher | ( | ) |
References GetOptionValue(), and ToBool().
void BLSURFPlugin_Hypothesis::SetJacobianRectification | ( | bool | allowRectification | ) |
References GetJacobianRectification(), and SetOptionValue().
bool BLSURFPlugin_Hypothesis::GetJacobianRectification | ( | ) |
References GetOptionValue(), and ToBool().
void BLSURFPlugin_Hypothesis::SetMaxNumberOfPointsPerPatch | ( | int | nb | ) | throw (std::invalid_argument) |
int BLSURFPlugin_Hypothesis::GetMaxNumberOfPointsPerPatch | ( | ) |
References GetOptionValue(), and ToInt().
void BLSURFPlugin_Hypothesis::SetMaxNumberOfThreads | ( | int | nb | ) | throw (std::invalid_argument) |
int BLSURFPlugin_Hypothesis::GetMaxNumberOfThreads | ( | ) |
References GetOptionValue(), and ToInt().
void BLSURFPlugin_Hypothesis::SetRespectGeometry | ( | bool | toRespect | ) |
References GetRespectGeometry(), and SetOptionValue().
bool BLSURFPlugin_Hypothesis::GetRespectGeometry | ( | ) |
References GetOptionValue(), and ToBool().
void BLSURFPlugin_Hypothesis::SetTinyEdgesAvoidSurfaceIntersections | ( | bool | toAvoidIntersection | ) |
References GetTinyEdgesAvoidSurfaceIntersections(), and SetOptionValue().
bool BLSURFPlugin_Hypothesis::GetTinyEdgesAvoidSurfaceIntersections | ( | ) |
References GetOptionValue(), and ToBool().
void BLSURFPlugin_Hypothesis::SetClosedGeometry | ( | bool | isClosed | ) |
References GetClosedGeometry(), and SetPreCADOptionValue().
bool BLSURFPlugin_Hypothesis::GetClosedGeometry | ( | ) |
References GetPreCADOptionValue(), and ToBool().
void BLSURFPlugin_Hypothesis::SetDebug | ( | bool | isDebug | ) |
References GetDebug(), and SetPreCADOptionValue().
bool BLSURFPlugin_Hypothesis::GetDebug | ( | ) |
References GetPreCADOptionValue(), and ToBool().
void BLSURFPlugin_Hypothesis::SetPeriodicTolerance | ( | double | tol | ) | throw (std::invalid_argument) |
double BLSURFPlugin_Hypothesis::GetPeriodicTolerance | ( | ) |
References GetPreCADOptionValue(), and ToDbl().
void BLSURFPlugin_Hypothesis::SetRequiredEntities | ( | const std::string & | howToTreat | ) | throw (std::invalid_argument) |
std::string BLSURFPlugin_Hypothesis::GetRequiredEntities | ( | ) |
References GetPreCADOptionValue().
void BLSURFPlugin_Hypothesis::SetSewingTolerance | ( | double | tol | ) | throw (std::invalid_argument) |
CORBA::Double BLSURFPlugin_Hypothesis::GetSewingTolerance | ( | ) |
References GetPreCADOptionValue(), and ToDbl().
void BLSURFPlugin_Hypothesis::SetTags | ( | const std::string & | howToTreat | ) | throw (std::invalid_argument) |
std::string BLSURFPlugin_Hypothesis::GetTags | ( | ) |
References GetPreCADOptionValue().
void BLSURFPlugin_Hypothesis::SetHyperPatches | ( | const THyperPatchList & | hpl | ) |
References _hyperPatchList, and GetHyperPatchTag().
const THyperPatchList& BLSURFPlugin_Hypothesis::GetHyperPatches | ( | ) | const |
References _hyperPatchList.
|
static |
References _hyperPatchList.
void BLSURFPlugin_Hypothesis::SetPreCADMergeEdges | ( | bool | theVal | ) |
References _preCADMergeEdges, GetPreCADOptionValue(), SetPreCADOptionValue(), and ToBool().
bool BLSURFPlugin_Hypothesis::GetPreCADMergeEdges | ( | ) | const |
References _preCADMergeEdges.
void BLSURFPlugin_Hypothesis::SetPreCADRemoveDuplicateCADFaces | ( | bool | theVal | ) |
References _preCADRemoveDuplicateCADFaces, GetPreCADOptionValue(), SetPreCADOptionValue(), and ToBool().
bool BLSURFPlugin_Hypothesis::GetPreCADRemoveDuplicateCADFaces | ( | ) | const |
References _preCADRemoveDuplicateCADFaces.
void BLSURFPlugin_Hypothesis::SetPreCADProcess3DTopology | ( | bool | theVal | ) |
References _preCADProcess3DTopology, GetPreCADOptionValue(), SetPreCADOptionValue(), and ToBool().
bool BLSURFPlugin_Hypothesis::GetPreCADProcess3DTopology | ( | ) | const |
References _preCADProcess3DTopology.
void BLSURFPlugin_Hypothesis::SetPreCADDiscardInput | ( | bool | theVal | ) |
References _preCADDiscardInput, GetPreCADOptionValue(), SetPreCADOptionValue(), and ToBool().
bool BLSURFPlugin_Hypothesis::GetPreCADDiscardInput | ( | ) | const |
References _preCADDiscardInput.
|
static |
void BLSURFPlugin_Hypothesis::SetSizeMapEntry | ( | const std::string & | entry, |
const std::string & | sizeMap | ||
) |
References _sizeMap, PhysicalLocalSize, and SetPhysicalMesh().
std::string BLSURFPlugin_Hypothesis::GetSizeMapEntry | ( | const std::string & | entry | ) |
References _sizeMap.
|
static |
References _GetSizeMapEntries(), and GetDefaultSizeMap().
void BLSURFPlugin_Hypothesis::SetAttractorEntry | ( | const std::string & | entry, |
const std::string & | attractor | ||
) |
References _attractors, PhysicalLocalSize, and SetPhysicalMesh().
std::string BLSURFPlugin_Hypothesis::GetAttractorEntry | ( | const std::string & | entry | ) |
References _attractors.
const TSizeMap& BLSURFPlugin_Hypothesis::_GetAttractorEntries | ( | ) | const |
References _attractors.
|
static |
References _GetAttractorEntries(), and GetDefaultSizeMap().
void BLSURFPlugin_Hypothesis::SetClassAttractorEntry | ( | const std::string & | entry, |
const std::string & | att_entry, | ||
double | StartSize, | ||
double | EndSize, | ||
double | ActionRadius, | ||
double | ConstantRadius | ||
) |
std::string BLSURFPlugin_Hypothesis::GetClassAttractorEntry | ( | const std::string & | entry | ) |
const TAttractorMap& BLSURFPlugin_Hypothesis::_GetClassAttractorEntries | ( | ) | const |
References _classAttractors.
|
static |
Return the map of attractor instances.
References _GetClassAttractorEntries(), and GetDefaultAttractorMap().
bool BLSURFPlugin_Hypothesis::SetEnforcedVertex | ( | TEntry | theFaceEntry, |
TEnfName | theVertexName, | ||
TEntry | theVertexEntry, | ||
TEnfGroupName | theGroupName, | ||
double | x = 0.0 , |
||
double | y = 0.0 , |
||
double | z = 0.0 |
||
) |
References _coordsEnfVertexMap, _enfVertexEntryEnfVertexMap, _enfVertexList, _faceEntryCoordsListMap, _faceEntryEnfVertexEntryListMap, _faceEntryEnfVertexListMap, BLSURFPlugin_Hypothesis::TEnfVertex::coords, BLSURFPlugin_Hypothesis::TEnfVertex::faceEntries, BLSURFPlugin_Hypothesis::TEnfVertex::geomEntry, BLSURFPlugin_Hypothesis::TEnfVertex::grpName, BLSURFPlugin_Hypothesis::TEnfVertex::name, PhysicalLocalSize, and SetPhysicalMesh().
BLSURFPlugin_Hypothesis::TEnfVertexList BLSURFPlugin_Hypothesis::GetEnfVertexList | ( | const TEntry & | theFaceEntry | ) | throw (std::invalid_argument) |
BLSURFPlugin_Hypothesis::TEnfVertexCoordsList BLSURFPlugin_Hypothesis::GetEnfVertexCoordsList | ( | const TEntry & | theFaceEntry | ) | throw (std::invalid_argument) |
BLSURFPlugin_Hypothesis::TEntryList BLSURFPlugin_Hypothesis::GetEnfVertexEntryList | ( | const TEntry & | theFaceEntry | ) | throw (std::invalid_argument) |
BLSURFPlugin_Hypothesis::TEnfVertex * BLSURFPlugin_Hypothesis::GetEnfVertex | ( | TEnfVertexCoords | coords | ) | throw (std::invalid_argument) |
BLSURFPlugin_Hypothesis::TEnfVertex * BLSURFPlugin_Hypothesis::GetEnfVertex | ( | const TEntry & | theEnfVertexEntry | ) | throw (std::invalid_argument) |
void BLSURFPlugin_Hypothesis::AddEnfVertexNodeID | ( | TEnfGroupName | theGroupName, |
int | theNodeID | ||
) |
References _groupNameNodeIDMap.
std::set< int > BLSURFPlugin_Hypothesis::GetEnfVertexNodeIDs | ( | TEnfGroupName | theGroupName | ) | throw (std::invalid_argument) |
void BLSURFPlugin_Hypothesis::RemoveEnfVertexNodeID | ( | TEnfGroupName | theGroupName, |
int | theNodeID | ||
) | throw (std::invalid_argument) |
bool BLSURFPlugin_Hypothesis::ClearEnforcedVertex | ( | const TEntry & | theFaceEntry, |
double | x = 0.0 , |
||
double | y = 0.0 , |
||
double | z = 0.0 , |
||
const TEntry & | theVertexEntry = "" |
||
) | throw (std::invalid_argument) |
bool BLSURFPlugin_Hypothesis::ClearEnforcedVertices | ( | const TEntry & | theFaceEntry | ) | throw (std::invalid_argument) |
References BLSURFPlugin_Hypothesis::TEnfVertex::faceEntries.
void BLSURFPlugin_Hypothesis::ClearAllEnforcedVertices | ( | ) |
const TFaceEntryEnfVertexListMap BLSURFPlugin_Hypothesis::_GetAllEnforcedVerticesByFace | ( | ) | const |
References _faceEntryEnfVertexListMap.
const TEnfVertexList BLSURFPlugin_Hypothesis::_GetAllEnforcedVertices | ( | ) | const |
References _enfVertexList.
const TFaceEntryCoordsListMap BLSURFPlugin_Hypothesis::_GetAllCoordsByFace | ( | ) | const |
References _faceEntryCoordsListMap.
const TCoordsEnfVertexMap BLSURFPlugin_Hypothesis::_GetAllEnforcedVerticesByCoords | ( | ) | const |
References _coordsEnfVertexMap.
const TFaceEntryEnfVertexEntryListMap BLSURFPlugin_Hypothesis::_GetAllEnfVertexEntriesByFace | ( | ) | const |
References _faceEntryEnfVertexEntryListMap.
const TEnfVertexEntryEnfVertexMap BLSURFPlugin_Hypothesis::_GetAllEnforcedVerticesByEnfVertexEntry | ( | ) | const |
References _enfVertexEntryEnfVertexMap.
|
static |
References _GetAllEnforcedVerticesByFace(), and GetDefaultFaceEntryEnfVertexListMap().
|
static |
References _GetAllEnforcedVertices(), and GetDefaultEnfVertexList().
|
static |
References _GetAllCoordsByFace(), and GetDefaultFaceEntryCoordsListMap().
|
static |
References _GetAllEnforcedVerticesByCoords(), and GetDefaultCoordsEnfVertexMap().
|
static |
|
static |
void BLSURFPlugin_Hypothesis::SetInternalEnforcedVertexAllFaces | ( | bool | toEnforceInternalVertices | ) |
References _enforcedInternalVerticesAllFaces, PhysicalLocalSize, and SetPhysicalMesh().
const bool BLSURFPlugin_Hypothesis::_GetInternalEnforcedVertexAllFaces | ( | ) | const |
References _enforcedInternalVerticesAllFaces.
|
static |
References _GetInternalEnforcedVertexAllFaces(), and GetDefaultInternalEnforcedVertex().
void BLSURFPlugin_Hypothesis::SetInternalEnforcedVertexAllFacesGroup | ( | BLSURFPlugin_Hypothesis::TEnfGroupName | theGroupName | ) |
References _enforcedInternalVerticesAllFacesGroup.
const TEnfGroupName BLSURFPlugin_Hypothesis::_GetInternalEnforcedVertexAllFacesGroup | ( | ) | const |
References _enforcedInternalVerticesAllFacesGroup.
|
static |
References _GetInternalEnforcedVertexAllFacesGroup().
|
static |
References PhysicalGlobalSize.
|
static |
References GeometricalGlobalSize.
|
static |
|
static |
References undefinedDouble().
|
static |
|
static |
References undefinedDouble().
|
static |
References undefinedDouble().
|
static |
|
static |
References undefinedDouble().
|
static |
References undefinedDouble().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
References undefinedDouble().
|
static |
References undefinedDouble().
|
static |
|
static |
|
static |
|
static |
References undefinedDouble().
|
static |
References undefinedDouble().
|
static |
|
static |
References undefinedDouble().
|
static |
References undefinedDouble().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
const TPreCadPeriodicityVector BLSURFPlugin_Hypothesis::_GetPreCadFacesPeriodicityVector | ( | ) | const |
References _preCadFacesPeriodicityVector.
|
static |
|
static |
const TPreCadPeriodicityVector BLSURFPlugin_Hypothesis::_GetPreCadEdgesPeriodicityVector | ( | ) | const |
References _preCadEdgesPeriodicityVector.
|
static |
|
static |
const TFacesPeriodicityVector BLSURFPlugin_Hypothesis::_GetFacesPeriodicityVector | ( | ) | const |
References _facesPeriodicityVector.
|
static |
References _GetFacesPeriodicityVector(), and GetDefaultFacesPeriodicityVector().
|
static |
const TEdgesPeriodicityVector BLSURFPlugin_Hypothesis::_GetEdgesPeriodicityVector | ( | ) | const |
References _edgesPeriodicityVector.
|
static |
References _GetEdgesPeriodicityVector(), and GetDefaultEdgesPeriodicityVector().
|
static |
const TVerticesPeriodicityVector BLSURFPlugin_Hypothesis::_GetVerticesPeriodicityVector | ( | ) | const |
References _verticesPeriodicityVector.
|
static |
References _GetVerticesPeriodicityVector(), and GetDefaultVerticesPeriodicityVector().
void BLSURFPlugin_Hypothesis::ClearPreCadPeriodicityVectors | ( | ) |
References _preCadEdgesPeriodicityVector, and _preCadFacesPeriodicityVector.
void BLSURFPlugin_Hypothesis::AddPreCadFacesPeriodicity | ( | TEntry | theFace1Entry, |
TEntry | theFace2Entry, | ||
std::vector< std::string > & | theSourceVerticesEntries, | ||
std::vector< std::string > & | theTargetVerticesEntries | ||
) |
References _preCadFacesPeriodicityVector, BLSURFPlugin_Hypothesis::TPreCadPeriodicity::shape1Entry, BLSURFPlugin_Hypothesis::TPreCadPeriodicity::shape2Entry, BLSURFPlugin_Hypothesis::TPreCadPeriodicity::theSourceVerticesEntries, and BLSURFPlugin_Hypothesis::TPreCadPeriodicity::theTargetVerticesEntries.
void BLSURFPlugin_Hypothesis::AddPreCadEdgesPeriodicity | ( | TEntry | theEdge1Entry, |
TEntry | theEdge2Entry, | ||
std::vector< std::string > & | theSourceVerticesEntries, | ||
std::vector< std::string > & | theTargetVerticesEntries | ||
) |
References _preCadEdgesPeriodicityVector, BLSURFPlugin_Hypothesis::TPreCadPeriodicity::shape1Entry, BLSURFPlugin_Hypothesis::TPreCadPeriodicity::shape2Entry, BLSURFPlugin_Hypothesis::TPreCadPeriodicity::theSourceVerticesEntries, and BLSURFPlugin_Hypothesis::TPreCadPeriodicity::theTargetVerticesEntries.
|
static |
void BLSURFPlugin_Hypothesis::SetOptionValue | ( | const std::string & | optionName, |
const std::string & | optionValue | ||
) | throw (std::invalid_argument) |
void BLSURFPlugin_Hypothesis::SetPreCADOptionValue | ( | const std::string & | optionName, |
const std::string & | optionValue | ||
) | throw (std::invalid_argument) |
std::string BLSURFPlugin_Hypothesis::GetOptionValue | ( | const std::string & | optionName, |
bool * | isDefault = 0 |
||
) | const throw (std::invalid_argument) |
std::string BLSURFPlugin_Hypothesis::GetPreCADOptionValue | ( | const std::string & | optionName, |
bool * | isDefault = 0 |
||
) | const throw (std::invalid_argument) |
void BLSURFPlugin_Hypothesis::ClearOption | ( | const std::string & | optionName | ) |
References _customOption2value, _option2value, and _preCADoption2value.
void BLSURFPlugin_Hypothesis::ClearPreCADOption | ( | const std::string & | optionName | ) |
References _preCADoption2value.
BLSURFPlugin_Hypothesis::TOptionValues BLSURFPlugin_Hypothesis::GetOptionValues | ( | ) | const |
References _option2value, and GetOptionValue().
BLSURFPlugin_Hypothesis::TOptionValues BLSURFPlugin_Hypothesis::GetPreCADOptionValues | ( | ) | const |
References _preCADoption2value, and GetPreCADOptionValue().
const TOptionValues& BLSURFPlugin_Hypothesis::GetCustomOptionValues | ( | ) | const |
References _customOption2value.
void BLSURFPlugin_Hypothesis::AddOption | ( | const std::string & | optionName, |
const std::string & | optionValue | ||
) |
References _customOption2value, _option2value, and _preCADoption2value.
void BLSURFPlugin_Hypothesis::AddPreCADOption | ( | const std::string & | optionName, |
const std::string & | optionValue | ||
) |
References AddOption().
std::string BLSURFPlugin_Hypothesis::GetOption | ( | const std::string & | optionName | ) | const |
References _customOption2value.
std::string BLSURFPlugin_Hypothesis::GetPreCADOption | ( | const std::string & | optionName | ) | const |
References _customOption2value.
|
static |
|
static |
|
static |
void BLSURFPlugin_Hypothesis::SetGMFFile | ( | const std::string & | theFileName | ) |
Sets the file for export resulting mesh in GMF format
References _GMFFileName.
std::string BLSURFPlugin_Hypothesis::GetGMFFile | ( | ) | const |
References _GMFFileName.
|
static |
|
virtual |
References _angleMesh, _anisotropic, _anisotropicRatio, _attractors, _badElementAspectRatio, _badElementRemoval, _chordalError, _classAttractors, _correctSurfaceIntersec, _corrSurfaceIntersCost, _customOption2value, _enforcedInternalVerticesAllFaces, _enfVertexList, _geometricMesh, _gradation, _hyperPatchList, _maxSize, _maxSizeRel, _minSize, _minSizeRel, _optimiseTinyEdges, _optimizeMesh, _option2value, _physicalMesh, _phySize, _phySizeRel, _preCADDiscardInput, _preCADEpsNano, _preCADMergeEdges, _preCADoption2value, _preCADProcess3DTopology, _preCADRemoveDuplicateCADFaces, _quadAllowed, _quadraticMesh, _removeTinyEdges, _sizeMap, _tinyEdgeLength, _tinyEdgeOptimisationLength, _topology, _useGradation, _useVolumeGradation, _verb, _volumeGradation, BLSURFPlugin_Hypothesis::TEnfVertex::coords, BLSURFPlugin_Hypothesis::TEnfVertex::faceEntries, BLSURFPlugin_Hypothesis::TEnfVertex::geomEntry, BLSURFPlugin_Hypothesis::TEnfVertex::grpName, BLSURFPlugin_Hypothesis::TEnfVertex::name, SaveEdgesPeriodicity(), SaveFacesPeriodicity(), SavePreCADPeriodicity(), and SaveVerticesPeriodicity().
|
virtual |
References _angleMesh, _anisotropic, _anisotropicRatio, _attractors, _badElementAspectRatio, _badElementRemoval, _chordalError, _classAttractors, _coordsEnfVertexMap, _correctSurfaceIntersec, _corrSurfaceIntersCost, _customOption2value, _enforcedInternalVerticesAllFaces, _enfVertexEntryEnfVertexMap, _enfVertexList, _faceEntryCoordsListMap, _faceEntryEnfVertexEntryListMap, _faceEntryEnfVertexListMap, _geometricMesh, _gradation, _hyperPatchList, _maxSize, _maxSizeRel, _minSize, _minSizeRel, _optimiseTinyEdges, _optimizeMesh, _option2value, _physicalMesh, _phySize, _phySizeRel, _preCADDiscardInput, _preCADMergeEdges, _preCADoption2value, _preCADProcess3DTopology, _preCADRemoveDuplicateCADFaces, _quadAllowed, _quadraticMesh, _removeTinyEdges, _sizeMap, _tinyEdgeLength, _tinyEdgeOptimisationLength, _topology, _useGradation, _useVolumeGradation, _verb, _volumeGradation, BLSURFPlugin_Hypothesis::TEnfVertex::coords, entryToShape(), BLSURFPlugin_Hypothesis::TEnfVertex::faceEntries, BLSURFPlugin_Hypothesis::TEnfVertex::geomEntry, BLSURFPlugin_Hypothesis::TEnfVertex::grpName, LoadEdgesPeriodicity(), LoadFacesPeriodicity(), LoadPreCADPeriodicity(), LoadVerticesPeriodicity(), BLSURFPlugin_Hypothesis::TEnfVertex::name, and BLSURFPlugin_Attractor::SetParameters().
|
virtual |
theMesh | - the built mesh |
theShape | - the geometry of interest |
bool | - always false |
|
virtual |
bool | - true if parameter values have been successfully defined |
References _chordalError, _maxSize, _minSize, _phySize, _tinyEdgeLength, _tinyEdgeOptimisationLength, GetDefaultMaxSize(), GetDefaultMinSize(), GetDefaultPhySize(), GetDefaultTinyEdgeLength(), and GetDefaultTinyEdgeOptimisationLength().
|
private |
References _preCadEdgesPeriodicityVector, _preCadFacesPeriodicityVector, BLSURFPlugin_Hypothesis::TPreCadPeriodicity::shape1Entry, BLSURFPlugin_Hypothesis::TPreCadPeriodicity::shape2Entry, BLSURFPlugin_Hypothesis::TPreCadPeriodicity::theSourceVerticesEntries, and BLSURFPlugin_Hypothesis::TPreCadPeriodicity::theTargetVerticesEntries.
|
private |
References _preCadEdgesPeriodicityVector, _preCadFacesPeriodicityVector, BLSURFPlugin_Hypothesis::TPreCadPeriodicity::shape1Entry, BLSURFPlugin_Hypothesis::TPreCadPeriodicity::shape2Entry, BLSURFPlugin_Hypothesis::TPreCadPeriodicity::theSourceVerticesEntries, and BLSURFPlugin_Hypothesis::TPreCadPeriodicity::theTargetVerticesEntries.
|
private |
References _facesPeriodicityVector.
|
private |
References _edgesPeriodicityVector, BLSURFPlugin_Hypothesis::TEdgePeriodicity::edge_orientation, BLSURFPlugin_Hypothesis::TEdgePeriodicity::theEdge1Entry, BLSURFPlugin_Hypothesis::TEdgePeriodicity::theEdge2Entry, BLSURFPlugin_Hypothesis::TEdgePeriodicity::theFace1Entry, and BLSURFPlugin_Hypothesis::TEdgePeriodicity::theFace2Entry.
|
private |
|
private |
References _facesPeriodicityVector.
|
private |
References _edgesPeriodicityVector, BLSURFPlugin_Hypothesis::TEdgePeriodicity::edge_orientation, BLSURFPlugin_Hypothesis::TEdgePeriodicity::theEdge1Entry, BLSURFPlugin_Hypothesis::TEdgePeriodicity::theEdge2Entry, BLSURFPlugin_Hypothesis::TEdgePeriodicity::theFace1Entry, and BLSURFPlugin_Hypothesis::TEdgePeriodicity::theFace2Entry.
|
private |
|
friend |
|
friend |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |