#include <parameter.h>
Public Member Functions | |
virtual QWidget * | createEditor (QWidget *parent) |
IntParameter (const std::string &name, const std::string &description, int value, int low, int high, int step=1) | |
operator int () const | |
virtual void | setEditorData (QWidget *editor) |
void | setHigh (int high) |
void | setLow (int low) |
void | setStep (int step) |
virtual std::pair< QVariant, int > | toModelData () |
virtual std::string | valueTip () |
virtual | ~IntParameter () |
Protected Member Functions | |
virtual void | getEditorData (QWidget *editor) |
Protected Attributes | |
int | high_ |
int | low_ |
int | step_ |
Definition at line 123 of file parameter.h.
pcl::modeler::IntParameter::IntParameter | ( | const std::string & | name, |
const std::string & | description, | ||
int | value, | ||
int | low, | ||
int | high, | ||
int | step = 1 |
||
) | [inline] |
Definition at line 126 of file parameter.h.
virtual pcl::modeler::IntParameter::~IntParameter | ( | ) | [inline, virtual] |
Definition at line 128 of file parameter.h.
QWidget * pcl::modeler::IntParameter::createEditor | ( | QWidget * | parent | ) | [virtual] |
Implements pcl::modeler::Parameter.
Definition at line 62 of file parameter.cpp.
void pcl::modeler::IntParameter::getEditorData | ( | QWidget * | editor | ) | [protected, virtual] |
Implements pcl::modeler::Parameter.
Definition at line 85 of file parameter.cpp.
pcl::modeler::IntParameter::operator int | ( | ) | const [inline] |
Definition at line 130 of file parameter.h.
void pcl::modeler::IntParameter::setEditorData | ( | QWidget * | editor | ) | [virtual] |
Implements pcl::modeler::Parameter.
Definition at line 74 of file parameter.cpp.
void pcl::modeler::IntParameter::setHigh | ( | int | high | ) | [inline] |
Definition at line 151 of file parameter.h.
void pcl::modeler::IntParameter::setLow | ( | int | low | ) | [inline] |
Definition at line 145 of file parameter.h.
void pcl::modeler::IntParameter::setStep | ( | int | step | ) | [inline] |
Definition at line 157 of file parameter.h.
std::pair< QVariant, int > pcl::modeler::IntParameter::toModelData | ( | ) | [virtual] |
Implements pcl::modeler::Parameter.
Definition at line 94 of file parameter.cpp.
std::string pcl::modeler::IntParameter::valueTip | ( | ) | [virtual] |
Implements pcl::modeler::Parameter.
Definition at line 55 of file parameter.cpp.
int pcl::modeler::IntParameter::high_ [protected] |
Definition at line 167 of file parameter.h.
int pcl::modeler::IntParameter::low_ [protected] |
Definition at line 166 of file parameter.h.
int pcl::modeler::IntParameter::step_ [protected] |
Definition at line 168 of file parameter.h.