Brief description of class still missing. More...
#include <GroundParameter.h>
Public Types | |
enum | Type { ValueTop, ValueBottom, Depth, Thickness } |
Public Member Functions | |
void | addLayer (const ParamLayer *layer) |
int | count () const |
const ParamGroundModel * | groundModel () const |
GroundParameter (const ParamGroundModel *groundModel, const ParamLayer *layer, Type type, double min, double max) | |
const ParamLayer * | layer (int index) const |
Type | type () const |
Brief description of class still missing.
Full description of class still missing
{ValueTop, ValueBottom, Depth, Thickness};
DinverDCCore::GroundParameter::GroundParameter | ( | const ParamGroundModel * | groundModel, |
const ParamLayer * | layer, | ||
Type | type, | ||
double | min, | ||
double | max | ||
) |
Description of constructor still missing
References Depth, groundModel(), layer(), DinverCore::Parameter::setMaximum(), DinverCore::Parameter::setMinimum(), DinverCore::Parameter::setName(), DinverCore::Parameter::setUnit(), Thickness, TRACE, type(), ValueBottom, and ValueTop.
: Parameter() { TRACE; _groundModel=groundModel; _layers << layer; _type=type; switch(_type) { case ValueTop: setName( "Top"+layer->name()); setUnit(layer->unit()); break; case ValueBottom: setName( "Bottom"+layer->name()); setUnit(layer->unit()); break; case Depth: setName( "D"+layer->name()); setUnit("m"); break; case Thickness: setName( "H"+layer->name()); setUnit("m"); break; } setMinimum(min); setMaximum(max); }
void DinverDCCore::GroundParameter::addLayer | ( | const ParamLayer * | layer | ) | [inline] |
{_layers << layer;}
int DinverDCCore::GroundParameter::count | ( | ) | const [inline] |
Referenced by DinverDCCore::PoissonCondition::isOk(), and DinverDCCore::ParamGroundModel::updateFinalProfiles().
{return _layers.count();}
const ParamGroundModel* DinverDCCore::GroundParameter::groundModel | ( | ) | const [inline] |
Referenced by GroundParameter(), DinverDCCore::TargetList2D::isPoissonRatioOk(), and DinverDCCore::Param3DGroundModel::updateFinalProfiles().
{return _groundModel;}
const ParamLayer* DinverDCCore::GroundParameter::layer | ( | int | index | ) | const [inline] |
Referenced by DinverDCCore::PoissonCondition::getLimits(), GroundParameter(), DinverDCCore::PoissonCondition::isOk(), and DinverDCCore::ParamGroundModel::updateFinalProfiles().
{return _layers.at(index);}
Type DinverDCCore::GroundParameter::type | ( | ) | const [inline] |
Referenced by DinverDCCore::PoissonCondition::getLimits(), GroundParameter(), and DinverDCCore::ParamGroundModel::updateFinalProfiles().
{return _type;}