#include <parameter.h>
Public Member Functions | |
virtual QWidget * | createEditor (QWidget *parent) |
DoubleParameter (const std::string &name, const std::string &description, double value, double low, double high, double step=0.01) | |
operator double () const | |
virtual void | setEditorData (QWidget *editor) |
void | setHigh (double high) |
void | setLow (double low) |
void | setStep (double step) |
virtual std::pair< QVariant, int > | toModelData () |
virtual std::string | valueTip () |
virtual | ~DoubleParameter () |
Protected Member Functions | |
virtual void | getEditorData (QWidget *editor) |
Protected Attributes | |
double | high_ |
double | low_ |
double | step_ |
Definition at line 200 of file parameter.h.
pcl::modeler::DoubleParameter::DoubleParameter | ( | const std::string & | name, |
const std::string & | description, | ||
double | value, | ||
double | low, | ||
double | high, | ||
double | step = 0.01 |
||
) | [inline] |
Definition at line 203 of file parameter.h.
virtual pcl::modeler::DoubleParameter::~DoubleParameter | ( | ) | [inline, virtual] |
Definition at line 205 of file parameter.h.
QWidget * pcl::modeler::DoubleParameter::createEditor | ( | QWidget * | parent | ) | [virtual] |
Implements pcl::modeler::Parameter.
Definition at line 156 of file parameter.cpp.
void pcl::modeler::DoubleParameter::getEditorData | ( | QWidget * | editor | ) | [protected, virtual] |
Implements pcl::modeler::Parameter.
Definition at line 180 of file parameter.cpp.
pcl::modeler::DoubleParameter::operator double | ( | ) | const [inline] |
Definition at line 207 of file parameter.h.
void pcl::modeler::DoubleParameter::setEditorData | ( | QWidget * | editor | ) | [virtual] |
Implements pcl::modeler::Parameter.
Definition at line 169 of file parameter.cpp.
void pcl::modeler::DoubleParameter::setHigh | ( | double | high | ) | [inline] |
Definition at line 228 of file parameter.h.
void pcl::modeler::DoubleParameter::setLow | ( | double | low | ) | [inline] |
Definition at line 222 of file parameter.h.
void pcl::modeler::DoubleParameter::setStep | ( | double | step | ) | [inline] |
Definition at line 234 of file parameter.h.
std::pair< QVariant, int > pcl::modeler::DoubleParameter::toModelData | ( | ) | [virtual] |
Implements pcl::modeler::Parameter.
Definition at line 189 of file parameter.cpp.
std::string pcl::modeler::DoubleParameter::valueTip | ( | ) | [virtual] |
Implements pcl::modeler::Parameter.
Definition at line 149 of file parameter.cpp.
double pcl::modeler::DoubleParameter::high_ [protected] |
Definition at line 244 of file parameter.h.
double pcl::modeler::DoubleParameter::low_ [protected] |
Definition at line 243 of file parameter.h.
double pcl::modeler::DoubleParameter::step_ [protected] |
Definition at line 245 of file parameter.h.