Public Member Functions | Protected Member Functions | Protected Attributes
pcl::modeler::Parameter Class Reference

#include <parameter.h>

Inheritance diagram for pcl::modeler::Parameter:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual QWidget * createEditor (QWidget *parent)=0
const std::stringgetDescription () const
const std::stringgetName () 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_

Detailed Description

Definition at line 50 of file parameter.h.


Constructor & Destructor Documentation

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.

Definition at line 55 of file parameter.h.


Member Function Documentation

virtual QWidget* pcl::modeler::Parameter::createEditor ( QWidget *  parent) [pure virtual]

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]

Member Data Documentation

Definition at line 94 of file parameter.h.

Definition at line 93 of file parameter.h.

Definition at line 92 of file parameter.h.

Definition at line 91 of file parameter.h.


The documentation for this class was generated from the following files:


pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:44:19