#include <StdMeshers_NumberOfSegments_i.hxx>
Public Member Functions | |
StdMeshers_NumberOfSegments_i (PortableServer::POA_ptr thePOA, int theStudyId,::SMESH_Gen *theGenImpl) | |
StdMeshers_NumberOfSegments_i::StdMeshers_NumberOfSegments_i. More... | |
virtual | ~StdMeshers_NumberOfSegments_i () |
StdMeshers_NumberOfSegments_i::~StdMeshers_NumberOfSegments_i. More... | |
SMESH::double_array * | BuildDistributionExpr (const char *, CORBA::Long, CORBA::Long) throw ( SALOME::SALOME_Exception ) |
StdMeshers_NumberOfSegments_i::BuildDistribution. More... | |
SMESH::double_array * | BuildDistributionTab (const SMESH::double_array &, CORBA::Long, CORBA::Long) throw ( SALOME::SALOME_Exception ) |
void | SetNumberOfSegments (CORBA::Long theSegmentsNumber) throw ( SALOME::SALOME_Exception ) |
StdMeshers_NumberOfSegments_i::SetNumberOfSegments. More... | |
CORBA::Long | GetNumberOfSegments () |
StdMeshers_NumberOfSegments_i::GetNumberOfSegments. More... | |
void | SetDistrType (CORBA::Long typ) throw ( SALOME::SALOME_Exception ) |
CORBA::Long | GetDistrType () |
void | SetScaleFactor (CORBA::Double theScaleFactor) throw ( SALOME::SALOME_Exception ) |
StdMeshers_NumberOfSegments_i::SetScaleFactor. More... | |
CORBA::Double | GetScaleFactor () throw ( SALOME::SALOME_Exception ) |
StdMeshers_NumberOfSegments_i::GetScaleFactor. More... | |
void | SetTableFunction (const SMESH::double_array &table) throw ( SALOME::SALOME_Exception ) |
SMESH::double_array * | GetTableFunction () throw ( SALOME::SALOME_Exception ) |
void | SetExpressionFunction (const char *expr) throw ( SALOME::SALOME_Exception ) |
char * | GetExpressionFunction () throw ( SALOME::SALOME_Exception ) |
void | SetConversionMode (CORBA::Long conv) throw ( SALOME::SALOME_Exception ) |
CORBA::Long | ConversionMode () throw ( SALOME::SALOME_Exception ) |
::StdMeshers_NumberOfSegments * | GetImpl () |
StdMeshers_NumberOfSegments_i::GetImpl. More... | |
CORBA::Boolean | IsDimSupported (SMESH::Dimension type) |
Verify whether hypothesis supports given entity type. More... | |
void | SetReversedEdges (const SMESH::long_array &theIDs) |
StdMeshers_NumberOfSegments_i::SetReversedEdges. More... | |
SMESH::long_array * | GetReversedEdges () |
StdMeshers_NumberOfSegments_i::GetReversedEdges. More... | |
void | SetObjectEntry (const char *entry) |
StdMeshers_NumberOfSegments_i::SetObjectEntry. More... | |
char * | GetObjectEntry () |
StdMeshers_NumberOfSegments_i::GetObjectEntry. More... | |
virtual char * | GetName () |
SMESH_Hypothesis_i::GetName. More... | |
virtual char * | GetLibName () |
SMESH_Hypothesis_i::GetLibName. More... | |
void | SetLibName (const char *theLibName) |
SMESH_Hypothesis_i::SetLibName. More... | |
virtual CORBA::Long | GetId () |
SMESH_Hypothesis_i::GetId. More... | |
virtual CORBA::Boolean | HasParameters () |
Return true if a hypothesis has parameters. More... | |
virtual void | SetVarParameter (const char *parameter, const char *method) |
Set the pramIndex-th parameter. More... | |
virtual char * | GetVarParameter (const char *methodName) |
Return the pramIndex-th variable parameter used for Hypothesis creation. More... | |
virtual void | SetHolderHypothesis (const SMESH::SMESH_Hypothesis_ptr hyp) |
Store a hypothesis wrapping this not published one. More... | |
bool | IsPublished () |
SMESH_Hypothesis_i::IsPublished() More... | |
virtual char * | SaveTo () |
SMESH_Hypothesis_i::SaveTo. More... | |
virtual void | LoadFrom (const char *theStream) |
SMESH_Hypothesis_i::LoadFrom. More... | |
virtual void | UpdateAsMeshesRestored () |
This mesthod is called after completion of loading a study. More... | |
virtual void | setOldParameters (const char *theParameters) |
Restore myMethod2VarParams by parameters stored in an old study. More... | |
virtual int | getParamIndex (const TCollection_AsciiString &method, int nbVars) const |
Protected Member Functions | |
virtual std::string | getMethodOfParameter (const int paramIndex, int nbVars) const |
Return method name corresponding to index of variable parameter. More... | |
Protected Attributes | |
::SMESH_Hypothesis * | myBaseImpl |
SMESH::SMESH_Hypothesis_var | myHolder |
std::map< std::string, std::string > | myMethod2VarParams |
StdMeshers_NumberOfSegments_i::StdMeshers_NumberOfSegments_i | ( | PortableServer::POA_ptr | thePOA, |
int | theStudyId, | ||
::SMESH_Gen * | theGenImpl | ||
) |
StdMeshers_NumberOfSegments_i::StdMeshers_NumberOfSegments_i.
Constructor
References SMESH_Hypothesis_i::myBaseImpl.
|
virtual |
SMESH::double_array * StdMeshers_NumberOfSegments_i::BuildDistributionExpr | ( | const char * | func, |
CORBA::Long | nbSeg, | ||
CORBA::Long | conv | ||
) | throw ( SALOME::SALOME_Exception ) |
StdMeshers_NumberOfSegments_i::BuildDistribution.
Builds point distribution according to passed function
SMESH::double_array * StdMeshers_NumberOfSegments_i::BuildDistributionTab | ( | const SMESH::double_array & | func, |
CORBA::Long | nbSeg, | ||
CORBA::Long | conv | ||
) | throw ( SALOME::SALOME_Exception ) |
CORBA::Long StdMeshers_NumberOfSegments_i::ConversionMode | ( | ) | throw ( SALOME::SALOME_Exception ) |
References GetImpl(), and SMESH_Hypothesis_i::myBaseImpl.
CORBA::Long StdMeshers_NumberOfSegments_i::GetDistrType | ( | ) |
References GetImpl(), and SMESH_Hypothesis_i::myBaseImpl.
char * StdMeshers_NumberOfSegments_i::GetExpressionFunction | ( | ) | throw ( SALOME::SALOME_Exception ) |
References GetImpl(), and SMESH_Hypothesis_i::myBaseImpl.
|
virtualinherited |
StdMeshers_NumberOfSegments * StdMeshers_NumberOfSegments_i::GetImpl | ( | ) |
StdMeshers_NumberOfSegments_i::GetImpl.
Get implementation
References SMESH_Hypothesis_i::myBaseImpl.
Referenced by ConversionMode(), GetDistrType(), GetExpressionFunction(), GetNumberOfSegments(), GetObjectEntry(), GetReversedEdges(), GetScaleFactor(), GetTableFunction(), SetObjectEntry(), and SetReversedEdges().
|
virtualinherited |
SMESH_Hypothesis_i::GetLibName.
Get plugin library name of hypothesis (required by persistency mechanism)
References SMESH_Hypothesis_i::myBaseImpl.
Referenced by StdMeshers_LayerDistribution_i::SetLayerDistribution().
|
protectedvirtual |
Return method name corresponding to index of variable parameter.
Reimplemented from SMESH_Hypothesis_i.
|
virtualinherited |
Get type name of hypothesis
References SMESH_Hypothesis_i::myBaseImpl.
Referenced by SMESH_Gen_i::createHypothesis(), StdMeshers_LayerDistribution_i::SaveTo(), and StdMeshers_LayerDistribution_i::SetLayerDistribution().
CORBA::Long StdMeshers_NumberOfSegments_i::GetNumberOfSegments | ( | ) |
StdMeshers_NumberOfSegments_i::GetNumberOfSegments.
Get number of segments
References GetImpl(), and SMESH_Hypothesis_i::myBaseImpl.
char * StdMeshers_NumberOfSegments_i::GetObjectEntry | ( | ) |
StdMeshers_NumberOfSegments_i::GetObjectEntry.
Set the Entry for the Main Object
References GetImpl(), and SMESH_Hypothesis_i::myBaseImpl.
|
virtualinherited |
SMESH::long_array * StdMeshers_NumberOfSegments_i::GetReversedEdges | ( | ) |
StdMeshers_NumberOfSegments_i::GetReversedEdges.
Get reversed edges
References GetImpl(), and SMESH_Hypothesis_i::myBaseImpl.
CORBA::Double StdMeshers_NumberOfSegments_i::GetScaleFactor | ( | ) | throw ( SALOME::SALOME_Exception ) |
StdMeshers_NumberOfSegments_i::GetScaleFactor.
Get scalar factor
References GetImpl(), and SMESH_Hypothesis_i::myBaseImpl.
SMESH::double_array * StdMeshers_NumberOfSegments_i::GetTableFunction | ( | ) | throw ( SALOME::SALOME_Exception ) |
References GetImpl(), and SMESH_Hypothesis_i::myBaseImpl.
|
virtualinherited |
Return the pramIndex-th variable parameter used for Hypothesis creation.
References SMESH_Gen_i::GetSMESHGen(), SMESH_Hypothesis_i::myMethod2VarParams, and SMESH_Hypothesis_i::setOldParameters().
Referenced by SMESH_Hypothesis_i::SaveTo().
|
virtualinherited |
Return true if a hypothesis has parameters.
Reimplemented in StdMeshers_LengthFromEdges_i.
References SMESH_Hypothesis_i::myBaseImpl.
CORBA::Boolean StdMeshers_NumberOfSegments_i::IsDimSupported | ( | SMESH::Dimension | type | ) |
Verify whether hypothesis supports given entity type.
type | - dimension (see SMESH::Dimension enumeration) |
CORBA::Boolean | - TRUE if dimension is supported, FALSE otherwise |
Verify whether hypothesis supports given entity type (see SMESH::Dimension enumeration)
References SMESH::DIM_1D.
|
inherited |
|
virtualinherited |
Persistence: Restores parameters from string
Reimplemented in StdMeshers_ProjectionSource3D_i, StdMeshers_ProjectionSource2D_i, StdMeshers_ProjectionSource1D_i, StdMeshers_QuadrangleParams_i, StdMeshers_LayerDistribution_i, StdMeshers_ImportSource1D_i, and StdMeshers_ImportSource2D_i.
References SMESH_Hypothesis_i::myBaseImpl, and SMESH_Hypothesis_i::myMethod2VarParams.
Referenced by SMESH_Gen_i::Load(), and StdMeshers_LayerDistribution_i::LoadFrom().
|
virtualinherited |
Persistence: Dumps parameters to the string stream
Reimplemented in StdMeshers_ProjectionSource3D_i, StdMeshers_ProjectionSource2D_i, StdMeshers_ProjectionSource1D_i, StdMeshers_QuadrangleParams_i, StdMeshers_LayerDistribution_i, StdMeshers_ImportSource1D_i, and StdMeshers_ImportSource2D_i.
References SMESH_Hypothesis_i::GetVarParameter(), SMESH_Hypothesis_i::myBaseImpl, and SMESH_Hypothesis_i::myMethod2VarParams.
Referenced by SMESH_Gen_i::Save(), and StdMeshers_LayerDistribution_i::SaveTo().
void StdMeshers_NumberOfSegments_i::SetConversionMode | ( | CORBA::Long | conv | ) | throw ( SALOME::SALOME_Exception ) |
void StdMeshers_NumberOfSegments_i::SetDistrType | ( | CORBA::Long | typ | ) | throw ( SALOME::SALOME_Exception ) |
void StdMeshers_NumberOfSegments_i::SetExpressionFunction | ( | const char * | expr | ) | throw ( SALOME::SALOME_Exception ) |
|
virtualinherited |
Store a hypothesis wrapping this not published one.
This hyp, which has no own parameters but is published, is used to store variables defining parameters of this hypothesis.
References SMESH_Hypothesis_i::myHolder.
|
inherited |
SMESH_Hypothesis_i::SetLibName.
Set plugin library name of hypothesis (required by persistency mechanism)
References SMESH_Hypothesis_i::myBaseImpl.
Referenced by SMESH_Gen_i::createHypothesis().
void StdMeshers_NumberOfSegments_i::SetNumberOfSegments | ( | CORBA::Long | theSegmentsNumber | ) | throw ( SALOME::SALOME_Exception ) |
StdMeshers_NumberOfSegments_i::SetNumberOfSegments.
Set number of segments
void StdMeshers_NumberOfSegments_i::SetObjectEntry | ( | const char * | theEntry | ) |
StdMeshers_NumberOfSegments_i::SetObjectEntry.
Set the Entry for the Main Object
References GetImpl(), and SMESH_Hypothesis_i::myBaseImpl.
|
virtualinherited |
Restore myMethod2VarParams by parameters stored in an old study.
Reimplemented in StdMeshers_LayerDistribution_i.
References SMESH_Hypothesis_i::getMethodOfParameter(), SMESH_Gen_i::GetSMESHGen(), and SMESH_Hypothesis_i::myMethod2VarParams.
Referenced by SMESH_Hypothesis_i::GetVarParameter().
void StdMeshers_NumberOfSegments_i::SetReversedEdges | ( | const SMESH::long_array & | theIds | ) |
StdMeshers_NumberOfSegments_i::SetReversedEdges.
Set edges to reverse
References GetImpl(), and SMESH_Hypothesis_i::myBaseImpl.
void StdMeshers_NumberOfSegments_i::SetScaleFactor | ( | CORBA::Double | theScaleFactor | ) | throw ( SALOME::SALOME_Exception ) |
StdMeshers_NumberOfSegments_i::SetScaleFactor.
Set scalar factor
void StdMeshers_NumberOfSegments_i::SetTableFunction | ( | const SMESH::double_array & | table | ) | throw ( SALOME::SALOME_Exception ) |
|
virtualinherited |
Set the pramIndex-th parameter.
References SMESH_Gen_i::GetSMESHGen(), SMESH_Hypothesis_i::myHolder, and SMESH_Hypothesis_i::myMethod2VarParams.
|
virtualinherited |
This mesthod is called after completion of loading a study.
Reimplemented in StdMeshers_ViscousLayers2D_i, StdMeshers_ImportSource1D_i, and StdMeshers_ImportSource2D_i.
Referenced by SMESH_Gen_i::Load().
|
protectedinherited |
Referenced by ConversionMode(), SMESH_Algo_i::GetCompatibleHypothesis(), StdMeshers_Deflection1D_i::GetDeflection(), StdMeshers_Adaptive1D_i::GetDeflection(), GetDistrType(), GetExpressionFunction(), StdMeshers_AutomaticLength_i::GetFineness(), SMESH_Hypothesis_i::GetId(), StdMeshers_Import_1D2D_i::GetImpl(), StdMeshers_Import_1D_i::GetImpl(), StdMeshers_NumberOfLayers2D_i::GetImpl(), StdMeshers_LayerDistribution2D_i::GetImpl(), StdMeshers_Cartesian_3D_i::GetImpl(), StdMeshers_UseExisting_1D_i::GetImpl(), StdMeshers_Regular_1D_i::GetImpl(), StdMeshers_ImportSource1D_i::GetImpl(), StdMeshers_Prism_3D_i::GetImpl(), StdMeshers_ImportSource2D_i::GetImpl(), StdMeshers_Hexa_3D_i::GetImpl(), StdMeshers_Quadrangle_2D_i::GetImpl(), StdMeshers_MEFISTO_2D_i::GetImpl(), StdMeshers_Projection_3D_i::GetImpl(), StdMeshers_MaxElementArea_i::GetImpl(), StdMeshers_MaxElementVolume_i::GetImpl(), StdMeshers_Geometric1D_i::GetImpl(), StdMeshers_Deflection1D_i::GetImpl(), StdMeshers_LengthFromEdges_i::GetImpl(), StdMeshers_AutomaticLength_i::GetImpl(), StdMeshers_NumberOfLayers_i::GetImpl(), StdMeshers_ViscousLayers2D_i::GetImpl(), StdMeshers_LocalLength_i::GetImpl(), StdMeshers_StartEndLength_i::GetImpl(), StdMeshers_ViscousLayers_i::GetImpl(), StdMeshers_LayerDistribution_i::GetImpl(), StdMeshers_UseExisting_2D_i::GetImpl(), StdMeshers_MaxLength_i::GetImpl(), StdMeshers_Adaptive1D_i::GetImpl(), StdMeshers_FixedPoints1D_i::GetImpl(), StdMeshers_Arithmetic1D_i::GetImpl(), StdMeshers_RadialPrism_3D_i::GetImpl(), StdMeshers_Projection_2D_i::GetImpl(), SMESH_Hypothesis_i::GetImpl(), GetImpl(), StdMeshers_Projection_1D2D_i::GetImpl(), StdMeshers_Projection_1D_i::GetImpl(), StdMeshers_CartesianParameters3D_i::GetImpl(), StdMeshers_MaxLength_i::GetLength(), StdMeshers_LocalLength_i::GetLength(), StdMeshers_Arithmetic1D_i::GetLength(), StdMeshers_StartEndLength_i::GetLength(), SMESH_Hypothesis_i::GetLibName(), StdMeshers_MaxElementArea_i::GetMaxElementArea(), StdMeshers_MaxElementVolume_i::GetMaxElementVolume(), StdMeshers_Adaptive1D_i::GetMaxSize(), StdMeshers_Adaptive1D_i::GetMinSize(), StdMeshers_LengthFromEdges_i::GetMode(), SMESH_Hypothesis_i::GetName(), StdMeshers_FixedPoints1D_i::GetNbSegments(), StdMeshers_NumberOfLayers_i::GetNumberOfLayers(), GetNumberOfSegments(), StdMeshers_FixedPoints1D_i::GetObjectEntry(), StdMeshers_Arithmetic1D_i::GetObjectEntry(), StdMeshers_StartEndLength_i::GetObjectEntry(), GetObjectEntry(), StdMeshers_FixedPoints1D_i::GetPoints(), StdMeshers_LocalLength_i::GetPrecision(), StdMeshers_MaxLength_i::GetPreestimatedLength(), StdMeshers_FixedPoints1D_i::GetReversedEdges(), StdMeshers_Arithmetic1D_i::GetReversedEdges(), StdMeshers_StartEndLength_i::GetReversedEdges(), GetReversedEdges(), GetScaleFactor(), GetTableFunction(), StdMeshers_MaxLength_i::GetUsePreestimatedLength(), SMESH_Hypothesis_i::HasParameters(), StdMeshers_MaxLength_i::HavePreestimatedLength(), StdMeshers_ImportSource1D_i::LoadFrom(), StdMeshers_ImportSource2D_i::LoadFrom(), StdMeshers_LayerDistribution_i::LoadFrom(), SMESH_Hypothesis_i::LoadFrom(), StdMeshers_ImportSource1D_i::SaveTo(), StdMeshers_ImportSource2D_i::SaveTo(), StdMeshers_LayerDistribution_i::SaveTo(), SMESH_Hypothesis_i::SaveTo(), SMESH_Hypothesis_i::SetLibName(), StdMeshers_FixedPoints1D_i::SetObjectEntry(), StdMeshers_Arithmetic1D_i::SetObjectEntry(), StdMeshers_StartEndLength_i::SetObjectEntry(), SetObjectEntry(), StdMeshers_MaxLength_i::SetPreestimatedLength(), StdMeshers_FixedPoints1D_i::SetReversedEdges(), StdMeshers_Arithmetic1D_i::SetReversedEdges(), StdMeshers_StartEndLength_i::SetReversedEdges(), SetReversedEdges(), StdMeshers_ImportSource1D_i::SetSourceEdges(), StdMeshers_ImportSource2D_i::SetSourceFaces(), SMESH_Hypothesis_i::SMESH_Hypothesis_i(), StdMeshers_Adaptive1D_i::StdMeshers_Adaptive1D_i(), StdMeshers_Arithmetic1D_i::StdMeshers_Arithmetic1D_i(), StdMeshers_AutomaticLength_i::StdMeshers_AutomaticLength_i(), StdMeshers_Cartesian_3D_i::StdMeshers_Cartesian_3D_i(), StdMeshers_CartesianParameters3D_i::StdMeshers_CartesianParameters3D_i(), StdMeshers_Deflection1D_i::StdMeshers_Deflection1D_i(), StdMeshers_FixedPoints1D_i::StdMeshers_FixedPoints1D_i(), StdMeshers_Geometric1D_i::StdMeshers_Geometric1D_i(), StdMeshers_Hexa_3D_i::StdMeshers_Hexa_3D_i(), StdMeshers_Import_1D2D_i::StdMeshers_Import_1D2D_i(), StdMeshers_Import_1D_i::StdMeshers_Import_1D_i(), StdMeshers_ImportSource1D_i::StdMeshers_ImportSource1D_i(), StdMeshers_ImportSource2D_i::StdMeshers_ImportSource2D_i(), StdMeshers_LayerDistribution_i::StdMeshers_LayerDistribution_i(), StdMeshers_LengthFromEdges_i::StdMeshers_LengthFromEdges_i(), StdMeshers_LocalLength_i::StdMeshers_LocalLength_i(), StdMeshers_MaxElementArea_i::StdMeshers_MaxElementArea_i(), StdMeshers_MaxElementVolume_i::StdMeshers_MaxElementVolume_i(), StdMeshers_MaxLength_i::StdMeshers_MaxLength_i(), StdMeshers_MEFISTO_2D_i::StdMeshers_MEFISTO_2D_i(), StdMeshers_NumberOfLayers_i::StdMeshers_NumberOfLayers_i(), StdMeshers_NumberOfSegments_i(), StdMeshers_PolygonPerFace_2D_i::StdMeshers_PolygonPerFace_2D_i(), StdMeshers_Prism_3D_i::StdMeshers_Prism_3D_i(), StdMeshers_Projection_1D2D_i::StdMeshers_Projection_1D2D_i(), StdMeshers_Projection_1D_i::StdMeshers_Projection_1D_i(), StdMeshers_Projection_2D_i::StdMeshers_Projection_2D_i(), StdMeshers_Projection_3D_i::StdMeshers_Projection_3D_i(), StdMeshers_Propagation_i::StdMeshers_Propagation_i(), StdMeshers_PropagOfDistribution_i::StdMeshers_PropagOfDistribution_i(), StdMeshers_QuadFromMedialAxis_1D2D_i::StdMeshers_QuadFromMedialAxis_1D2D_i(), StdMeshers_Quadrangle_2D_i::StdMeshers_Quadrangle_2D_i(), StdMeshers_RadialPrism_3D_i::StdMeshers_RadialPrism_3D_i(), StdMeshers_Regular_1D_i::StdMeshers_Regular_1D_i(), StdMeshers_StartEndLength_i::StdMeshers_StartEndLength_i(), StdMeshers_ViscousLayers2D_i::StdMeshers_ViscousLayers2D_i(), StdMeshers_ViscousLayers_i::StdMeshers_ViscousLayers_i(), and SMESH_Hypothesis_i::~SMESH_Hypothesis_i().
|
protectedinherited |
Referenced by SMESH_Hypothesis_i::SetHolderHypothesis(), and SMESH_Hypothesis_i::SetVarParameter().
|
protectedinherited |