Layers parameters got by averaging several hypotheses. More...
Public Member Functions | |
| AverageHyp (const StdMeshers_ViscousLayers *hyp=0) | |
| void | Add (const StdMeshers_ViscousLayers *hyp) |
| double | GetTotalThickness () const |
| double | GetStretchFactor () const |
| int | GetNumberLayers () const |
| int | GetMethod () const |
| bool | ToCreateGroup () const |
| const std::string & | GetGroupName () const |
| double | Get1stLayerThickness (double realThickness=0.) const |
| bool | UseSurfaceNormal () const |
| bool | ToSmooth () const |
| bool | IsOffsetMethod () const |
| bool | operator== (const AverageHyp &other) const |
Static Public Member Functions | |
| static bool | Equals (double v1, double v2) |
Private Attributes | |
| int | _nbLayers |
| int | _nbHyps |
| int | _method |
| double | _thickness |
| double | _stretchFactor |
| std::string | _groupName |
Layers parameters got by averaging several hypotheses.
| VISCOUS_3D::AverageHyp::AverageHyp | ( | const StdMeshers_ViscousLayers * | hyp = 0 | ) |
References Add().
| void VISCOUS_3D::AverageHyp::Add | ( | const StdMeshers_ViscousLayers * | hyp | ) |
References _groupName, _method, _nbHyps, _nbLayers, _stretchFactor, _thickness, StdMeshers_ViscousLayers::GetGroupName(), StdMeshers_ViscousLayers::GetMethod(), StdMeshers_ViscousLayers::GetNumberLayers(), StdMeshers_ViscousLayers::GetStretchFactor(), and StdMeshers_ViscousLayers::GetTotalThickness().
Referenced by AverageHyp(), and VISCOUS_3D::_ViscousBuilder::setShapeData().
|
static |
Referenced by operator==().
| double VISCOUS_3D::AverageHyp::Get1stLayerThickness | ( | double | realThickness = 0. | ) | const |
References StdMeshers_ViscousLayers::Get1stLayerThickness(), GetNumberLayers(), GetStretchFactor(), and GetTotalThickness().
Referenced by VISCOUS_3D::_ViscousBuilder::findShapesToSmooth(), VISCOUS_3D::_ViscousBuilder::refine(), VISCOUS_3D::_ViscousBuilder::setEdgeData(), and VISCOUS_3D::_ViscousBuilder::updateNormals().
| const std::string & VISCOUS_3D::AverageHyp::GetGroupName | ( | ) | const |
References _groupName.
Referenced by VISCOUS_3D::_ViscousBuilder::refine().
| int VISCOUS_3D::AverageHyp::GetMethod | ( | ) | const |
References _method.
| int VISCOUS_3D::AverageHyp::GetNumberLayers | ( | ) | const |
References _nbLayers.
Referenced by Get1stLayerThickness(), and VISCOUS_3D::_ViscousBuilder::refine().
| double VISCOUS_3D::AverageHyp::GetStretchFactor | ( | ) | const |
References _nbHyps, and _stretchFactor.
Referenced by Get1stLayerThickness(), operator==(), and VISCOUS_3D::_ViscousBuilder::refine().
| double VISCOUS_3D::AverageHyp::GetTotalThickness | ( | ) | const |
References _thickness.
Referenced by VISCOUS_3D::_ViscousBuilder::computeGeomSize(), VISCOUS_3D::_ViscousBuilder::findShapesToSmooth(), Get1stLayerThickness(), VISCOUS_3D::_ConvexFace::GetMaxCurvature(), VISCOUS_3D::_ViscousBuilder::inflate(), VISCOUS_3D::_ViscousBuilder::limitStepSizeByCurvature(), operator==(), and VISCOUS_3D::_ViscousBuilder::smoothAndCheck().
| bool VISCOUS_3D::AverageHyp::IsOffsetMethod | ( | ) | const |
References _method, and StdMeshers_ViscousLayers::FACE_OFFSET.
Referenced by VISCOUS_3D::_LayerEdge::SetNewLength().
| bool VISCOUS_3D::AverageHyp::operator== | ( | const AverageHyp & | other | ) | const |
References _method, _nbLayers, Equals(), GetStretchFactor(), and GetTotalThickness().
| bool VISCOUS_3D::AverageHyp::ToCreateGroup | ( | ) | const |
References _groupName.
| bool VISCOUS_3D::AverageHyp::ToSmooth | ( | ) | const |
References _method, and StdMeshers_ViscousLayers::SURF_OFFSET_SMOOTH.
Referenced by VISCOUS_3D::_ViscousBuilder::computeGeomSize(), VISCOUS_3D::_ViscousBuilder::findEdgesToUpdateNormalNearConvexFace(), VISCOUS_3D::_ViscousBuilder::findShapesToSmooth(), VISCOUS_3D::_ViscousBuilder::limitMaxLenByCurvature(), VISCOUS_3D::_ViscousBuilder::smoothAndCheck(), and VISCOUS_3D::_ViscousBuilder::updateNormalsOfSmoothed().
| bool VISCOUS_3D::AverageHyp::UseSurfaceNormal | ( | ) | const |
References _method, and StdMeshers_ViscousLayers::SURF_OFFSET_SMOOTH.
Referenced by VISCOUS_3D::_ViscousBuilder::setEdgeData(), and VISCOUS_3D::_ViscousBuilder::setShapeData().
|
private |
Referenced by Add(), GetGroupName(), and ToCreateGroup().
|
private |
Referenced by Add(), GetMethod(), IsOffsetMethod(), operator==(), ToSmooth(), and UseSurfaceNormal().
|
private |
Referenced by Add(), and GetStretchFactor().
|
private |
Referenced by Add(), GetNumberLayers(), and operator==().
|
private |
Referenced by Add(), and GetStretchFactor().
|
private |
Referenced by Add(), and GetTotalThickness().