#include <parameter.h>
Public Member Functions | |
virtual QWidget * | createEditor (QWidget *parent)=0 |
const std::string & | getDescription () const |
const std::string & | getName () const |
Parameter (const std::string &name, const std::string &description, const boost::any &value) | |
void | reset () |
void | setDefaultValue (const boost::any &value) |
virtual void | setEditorData (QWidget *editor)=0 |
virtual void | setModelData (QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) |
virtual std::pair< QVariant, int > | toModelData ()=0 |
virtual std::string | valueTip ()=0 |
~Parameter (void) | |
Protected Member Functions | |
virtual void | getEditorData (QWidget *editor)=0 |
Protected Attributes | |
boost::any | current_value_ |
boost::any | default_value_ |
std::string | description_ |
std::string | name_ |
Definition at line 50 of file parameter.h.
pcl::modeler::Parameter::Parameter | ( | const std::string & | name, |
const std::string & | description, | ||
const boost::any & | value | ||
) | [inline] |
Definition at line 53 of file parameter.h.
pcl::modeler::Parameter::~Parameter | ( | void | ) | [inline] |
Definition at line 55 of file parameter.h.
virtual QWidget* pcl::modeler::Parameter::createEditor | ( | QWidget * | parent | ) | [pure virtual] |
const std::string& pcl::modeler::Parameter::getDescription | ( | ) | const [inline] |
Definition at line 61 of file parameter.h.
virtual void pcl::modeler::Parameter::getEditorData | ( | QWidget * | editor | ) | [protected, pure virtual] |
const std::string& pcl::modeler::Parameter::getName | ( | ) | const [inline] |
Definition at line 58 of file parameter.h.
void pcl::modeler::Parameter::reset | ( | ) | [inline] |
Definition at line 70 of file parameter.h.
void pcl::modeler::Parameter::setDefaultValue | ( | const boost::any & | value | ) | [inline] |
Definition at line 64 of file parameter.h.
virtual void pcl::modeler::Parameter::setEditorData | ( | QWidget * | editor | ) | [pure virtual] |
void pcl::modeler::Parameter::setModelData | ( | QWidget * | editor, |
QAbstractItemModel * | model, | ||
const QModelIndex & | index | ||
) | [virtual] |
Definition at line 45 of file parameter.cpp.
virtual std::pair<QVariant, int> pcl::modeler::Parameter::toModelData | ( | ) | [pure virtual] |
virtual std::string pcl::modeler::Parameter::valueTip | ( | ) | [pure virtual] |
boost::any pcl::modeler::Parameter::current_value_ [protected] |
Definition at line 94 of file parameter.h.
boost::any pcl::modeler::Parameter::default_value_ [protected] |
Definition at line 93 of file parameter.h.
std::string pcl::modeler::Parameter::description_ [protected] |
Definition at line 92 of file parameter.h.
std::string pcl::modeler::Parameter::name_ [protected] |
Definition at line 91 of file parameter.h.