StdMeshers_QuadrangleParams Class Reference

#include <StdMeshers_QuadrangleParams.hxx>

Public Member Functions

void GetEnforcedNodes (std::vector< TopoDS_Shape > &shapes, std::vector< gp_Pnt > &points) const
 Returns positions of enforced nodes. More...
 
const char * GetObjectEntry ()
 
StdMeshers_QuadType GetQuadType () const
 
int GetTriaVertex () const
 
virtual std::istream & LoadFrom (std::istream &load)
 
virtual std::ostream & SaveTo (std::ostream &save)
 
void SetEnforcedNodes (const std::vector< TopoDS_Shape > &shapes, const std::vector< gp_Pnt > &points)
 Set positions of enforced nodes. More...
 
void SetObjectEntry (const char *entry)
 
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 start and end length by the mesh built on the geometry. More...
 
void SetQuadType (StdMeshers_QuadType type)
 
void SetTriaVertex (int id)
 
 StdMeshers_QuadrangleParams (int hypId, int studyId, SMESH_Gen *gen)
 
virtual ~StdMeshers_QuadrangleParams ()
 
- Public Member Functions inherited from SMESH_Hypothesis
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_GenGetGen () const
 
char * GetLastParameters () const
 
virtual const char * GetLibName () const
 
SMESH_MeshGetMeshByPersistentID (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)
 
virtual bool SetParametersByDefaults (const TDefaults &dflts, const SMESH_Mesh *theMesh=0)=0
 Initialize my parameter values by default parameters. More...
 
virtual bool SetParametersByMesh (const SMESH_Mesh *theMesh, const TopoDS_Shape &theShape)=0
 Initialize my parameter values by the mesh built on the geometry. More...
 
 SMESH_Hypothesis (int hypId, int studyId, SMESH_Gen *gen)
 
virtual ~SMESH_Hypothesis ()
 
- Public Member Functions inherited from SMESHDS_Hypothesis
int GetID () const
 
const char * GetName () const
 
int GetType () const
 
bool IsSameName (const SMESHDS_Hypothesis &other) const
 Compare types of hypotheses. More...
 
virtual std::istream & LoadFrom (std::istream &load)=0
 
bool operator!= (const SMESHDS_Hypothesis &other) const
 
virtual bool operator== (const SMESHDS_Hypothesis &other) const
 
virtual std::ostream & SaveTo (std::ostream &save)=0
 
 SMESHDS_Hypothesis (int hypId)
 
virtual ~SMESHDS_Hypothesis ()
 

Additional Inherited Members

- Public Types inherited from SMESH_Hypothesis
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
}
 
- Public Types inherited from SMESHDS_Hypothesis
enum  hypothesis_type {
  PARAM_ALGO , ALGO_0D , ALGO_1D , ALGO_2D ,
  ALGO_3D
}
 
- Static Public Member Functions inherited from SMESH_Hypothesis
static bool IsStatusFatal (Hypothesis_Status theStatus)
 

Constructor & Destructor Documentation

◆ StdMeshers_QuadrangleParams()

StdMeshers_QuadrangleParams::StdMeshers_QuadrangleParams ( int  hypId,
int  studyId,
SMESH_Gen gen 
)

◆ ~StdMeshers_QuadrangleParams()

StdMeshers_QuadrangleParams::~StdMeshers_QuadrangleParams ( )
virtual

Member Function Documentation

◆ GetEnforcedNodes()

void StdMeshers_QuadrangleParams::GetEnforcedNodes ( std::vector< TopoDS_Shape > &  shapes,
std::vector< gp_Pnt > &  points 
) const

Returns positions of enforced nodes.

Referenced by StdMeshers_Quadrangle_2D::getEnforcedUV().

◆ GetObjectEntry()

const char * StdMeshers_QuadrangleParams::GetObjectEntry ( )

◆ GetQuadType()

StdMeshers_QuadType StdMeshers_QuadrangleParams::GetQuadType ( ) const

◆ GetTriaVertex()

int StdMeshers_QuadrangleParams::GetTriaVertex ( ) const

◆ LoadFrom()

istream & StdMeshers_QuadrangleParams::LoadFrom ( std::istream &  load)
virtual

Implements SMESHDS_Hypothesis.

◆ SaveTo()

ostream & StdMeshers_QuadrangleParams::SaveTo ( std::ostream &  save)
virtual

◆ SetEnforcedNodes()

void StdMeshers_QuadrangleParams::SetEnforcedNodes ( const std::vector< TopoDS_Shape > &  shapes,
const std::vector< gp_Pnt > &  points 
)

Set positions of enforced nodes.

References SMESH_Hypothesis::NotifySubMeshesHypothesisModification().

◆ SetObjectEntry()

void StdMeshers_QuadrangleParams::SetObjectEntry ( const char *  entry)

◆ SetParametersByDefaults()

bool StdMeshers_QuadrangleParams::SetParametersByDefaults ( const TDefaults dflts,
const SMESH_Mesh theMesh = 0 
)
virtual

Initialize my parameter values by default parameters.

Return values
bool- true if parameter values have been successfully defined

Implements SMESH_Hypothesis.

◆ SetParametersByMesh()

bool StdMeshers_QuadrangleParams::SetParametersByMesh ( const SMESH_Mesh theMesh,
const TopoDS_Shape &  theShape 
)
virtual

Initialize start and end length by the mesh built on the geometry.

Redifined method.

Parameters
theMesh- the built mesh
theShape- the geometry of interest
Return values
bool- true if parameter values have been successfully defined

Implements SMESH_Hypothesis.

◆ SetQuadType()

void StdMeshers_QuadrangleParams::SetQuadType ( StdMeshers_QuadType  type)

◆ SetTriaVertex()

void StdMeshers_QuadrangleParams::SetTriaVertex ( int  id)

The documentation for this class was generated from the following files: