#include <StdMeshers_MaxLength.hxx>
Public Member Functions | |
double GetLength () const | |
double GetPreestimatedLength () const | |
bool GetUsePreestimatedLength () const | |
Returns value of boolean parameter enabling/desabling usage of length computed basing on size of bounding box of shape to mesh. More... | |
bool HavePreestimatedLength () const | |
virtual std::istream & LoadFrom (std::istream &load) | |
virtual std::ostream & SaveTo (std::ostream &save) | |
void SetLength (double length) | |
virtual bool SetParametersByDefaults (const TDefaults &dflts, const SMESH_Mesh *theMesh=0) | |
Initialize my parameter values by default parameters. More... | |
virtual bool SetParametersByMesh (const SMESH_Mesh *theMesh, const TopoDS_Shape &theShape) | |
Initialize segment length by the mesh built on the geometry. More... | |
void SetPreestimatedLength (double length) | |
Store preestemated length. More... | |
void SetUsePreestimatedLength (bool toUse) | |
Sets boolean parameter enabling/desabling usage of length computed basing on size of bounding box of shape to mesh. More... | |
StdMeshers_MaxLength (int hypId, int studyId, SMESH_Gen *gen) | |
virtual ~ StdMeshers_MaxLength () | |
![]() | |
void ClearParameters () | |
virtual bool DataDependOnParams () const | |
The returned value is used by NotifySubMeshesHypothesisModification() to decide to call subMesh->AlgoStateEngine( MODIF_HYP, hyp ) or not if subMesh is ready to be computed (algo+hyp==OK) but not yet computed. True result is reasonable for example if EventListeners depend on parameters of hypothesis. More... | |
virtual int GetDim () const | |
SMESH_Gen * GetGen () const | |
char * GetLastParameters () const | |
virtual const char * GetLibName () const | |
SMESH_Mesh * GetMeshByPersistentID (int id) | |
Find a mesh with given persistent ID. More... | |
char * GetParameters () const | |
virtual int GetShapeType () const | |
int GetStudyId () const | |
virtual bool IsAuxiliary () const | |
Return true if me is an auxiliary hypothesis. More... | |
virtual void NotifySubMeshesHypothesisModification () | |
void SetLastParameters (const char *theParameters) | |
void SetLibName (const char *theLibName) | |
void SetParameters (const char *theParameters) | |
SMESH_Hypothesis (int hypId, int studyId, SMESH_Gen *gen) | |
virtual ~SMESH_Hypothesis () | |
![]() | |
int GetID () const | |
const char * GetName () const | |
int GetType () const | |
bool IsSameName (const SMESHDS_Hypothesis &other) const | |
Compare types of hypotheses. More... | |
bool operator!= (const SMESHDS_Hypothesis &other) const | |
virtual bool operator== (const SMESHDS_Hypothesis &other) const | |
SMESHDS_Hypothesis (int hypId) | |
virtual ~SMESHDS_Hypothesis () | |
Additional Inherited Members | |
![]() | |
enum Hypothesis_Status { HYP_OK = 0, HYP_MISSING, HYP_CONCURENT, HYP_BAD_PARAMETER, HYP_HIDDEN_ALGO, HYP_HIDING_ALGO, HYP_UNKNOWN_FATAL, HYP_INCOMPATIBLE, HYP_NOTCONFORM, HYP_ALREADY_EXIST, HYP_BAD_DIM, HYP_BAD_SUBSHAPE, HYP_BAD_GEOMETRY, HYP_NEED_SHAPE, HYP_INCOMPAT_HYPS } | |
![]() | |
enum hypothesis_type { PARAM_ALGO, ALGO_0D, ALGO_1D, ALGO_2D, ALGO_3D } | |
![]() | |
static bool IsStatusFatal (Hypothesis_Status theStatus) | |
Constructor & Destructor Documentation
◆ StdMeshers_MaxLength()
StdMeshers_MaxLength::StdMeshers_MaxLength | ( | int | hypId, |
int | studyId, | ||
SMESH_Gen * | gen | ||
) |
◆ ~ StdMeshers_MaxLength()
|
virtual |
Member Function Documentation
◆ GetLength()
double StdMeshers_MaxLength::GetLength | ( | ) | const |
Referenced by StdMeshers_Regular_1D::CheckHypothesis().
◆ GetPreestimatedLength()
double StdMeshers_MaxLength::GetPreestimatedLength | ( | ) | const |
◆ GetUsePreestimatedLength()
bool StdMeshers_MaxLength::GetUsePreestimatedLength | ( | ) | const |
Returns value of boolean parameter enabling/desabling usage of length computed basing on size of bounding box of shape to mesh.
Referenced by StdMeshers_Regular_1D::CheckHypothesis().
◆ HavePreestimatedLength()
bool StdMeshers_MaxLength::HavePreestimatedLength | ( | ) | const |
◆ LoadFrom()
|
virtual |
Implements SMESHDS_Hypothesis.
◆ SaveTo()
|
virtual |
Implements SMESHDS_Hypothesis.
References OfflineRenderingUtils::save().
◆ SetLength()
void StdMeshers_MaxLength::SetLength | ( | double | length | ) |
References SMESH_Hypothesis::NotifySubMeshesHypothesisModification().
Referenced by MeshPart::Mesher::createMesh().
◆ SetParametersByDefaults()
|
virtual |
Initialize my parameter values by default parameters.
- Return values
-
bool - true if parameter values have been successfully defined
Implements SMESH_Hypothesis.
◆ SetParametersByMesh()
|
virtual |
Initialize segment length by the mesh built on the geometry.
- Parameters
-
theMesh - the built mesh theShape - the geometry of interest
- Return values
-
bool - true if parameter values have been successfully defined
Implements SMESH_Hypothesis.
References SMESH_Algo::GetNodeParamOnEdge().
◆ SetPreestimatedLength()
void StdMeshers_MaxLength::SetPreestimatedLength | ( | double | length | ) |
Store preestemated length.
◆ SetUsePreestimatedLength()
void StdMeshers_MaxLength::SetUsePreestimatedLength | ( | bool | toUse | ) |
Sets boolean parameter enabling/desabling usage of length computed basing on size of bounding box of shape to mesh.
The documentation for this class was generated from the following files:
- src/3rdParty/salomesmesh/inc/StdMeshers_MaxLength.hxx
- src/3rdParty/salomesmesh/src/StdMeshers/StdMeshers_MaxLength.cpp