21 struct FloatPropertyExtension::Impl
24 Impl(
float minimum,
float maximum,
float singleStep,
int decimals);
33 FloatPropertyExtension::Impl::Impl() : Decimals(2), Maximum(99.9999999999f), Minimum(0.0f), SingleStep(1.0f) {}
34 FloatPropertyExtension::Impl::Impl(
float minimum,
float maximum,
float singleStep,
int decimals)
35 : Decimals(decimals), Maximum(maximum), Minimum(minimum), SingleStep(singleStep)
39 FloatPropertyExtension::Impl::~Impl() {}
42 mitk::FloatPropertyExtension::FloatPropertyExtension() :
m_Impl(new Impl)
46 mitk::FloatPropertyExtension::FloatPropertyExtension(
float minimum,
float maximum,
float singleStep,
int decimals)
47 :
m_Impl(new Impl(minimum, maximum, singleStep, decimals))
51 mitk::FloatPropertyExtension::~FloatPropertyExtension()
63 m_Impl->Decimals = decimals;
93 m_Impl->SingleStep = singleStep;
void SetMinimum(float minimum)
DataCollection - Class to facilitate loading/accessing structured data.
void SetMaximum(float maximum)
void SetSingleStep(float singleStep)
void SetDecimals(int decimals)
float GetSingleStep() const