They are used to define a graph of points. More...
#include <InterpolationPoint.h>
Public Types | |
| typedef R | ReturnType |
| typedef Visitor | VisitorType |
Public Member Functions | |
| virtual ReturnType | accept (VisitorType &guest) const =0 |
| It call the visit method from the guest object. More... | |
Initializer Methods | |
Methods related to instantiation and destruction. | |
| InterpolationPoint () | |
| It initializes a new InterpolationPoint. More... | |
| InterpolationPoint (const InterpolationPoint &rhs) | |
| Copy constructor. More... | |
| ~InterpolationPoint () | |
| Destructor. More... | |
| virtual InterpolationPoint * | clone () const |
| It returns a clone of this object. More... | |
Accessor methods | |
Methods used to get or set properties. | |
| void | setData (const double &d) |
| double | getData () const |
| void | setValue (ParameterValue *v) |
| ParameterValue * | getValue () const |
Private Member Functions | |
Not Allowed Methods | |
No copy allowed. | |
| InterpolationPoint & | operator= (const InterpolationPoint &rhs) |
| No assignment operator allowed. More... | |
Private Attributes | |
| double | m_data |
| Mandatory. More... | |
| ParameterValue * | m_value |
| Mandatory. More... | |
They are used to define a graph of points.
Definition at line 47 of file InterpolationPoint.h.
|
inherited |
Definition at line 58 of file BaseVisitable.h.
|
inherited |
Definition at line 57 of file BaseVisitable.h.
| te::se::InterpolationPoint::InterpolationPoint | ( | ) |
It initializes a new InterpolationPoint.
Definition at line 30 of file InterpolationPoint.cpp.
| te::se::InterpolationPoint::InterpolationPoint | ( | const InterpolationPoint & | rhs | ) |
Copy constructor.
| rhs | The other InterpolationPoint. |
Definition at line 36 of file InterpolationPoint.cpp.
References te::se::ParameterValue::clone(), m_data, and m_value.
| te::se::InterpolationPoint::~InterpolationPoint | ( | ) |
Destructor.
Definition at line 48 of file InterpolationPoint.cpp.
|
pure virtualinherited |
It call the visit method from the guest object.
| guest | The guest or visitor. |
|
virtual |
It returns a clone of this object.
Implements te::fe::Expression.
Definition at line 53 of file InterpolationPoint.cpp.
| double te::se::InterpolationPoint::getData | ( | ) | const |
Definition at line 63 of file InterpolationPoint.cpp.
Referenced by te::qt::widgets::ColorMapItem::fetchMore(), te::map::RasterTransformConfigurer::getInterpolatedMap(), te::se::serialize::Save(), and te::qt::widgets::ColorMapWidget::updateUi().
| te::se::ParameterValue * te::se::InterpolationPoint::getValue | ( | ) | const |
Definition at line 74 of file InterpolationPoint.cpp.
Referenced by te::qt::widgets::ColorMapItem::fetchMore(), te::map::RasterTransformConfigurer::getInterpolatedMap(), te::se::serialize::Save(), and te::qt::widgets::ColorMapWidget::updateUi().
|
private |
No assignment operator allowed.
| rhs | The other InterpolationPoint. |
| void te::se::InterpolationPoint::setData | ( | const double & | d | ) |
Definition at line 58 of file InterpolationPoint.cpp.
Referenced by te::qt::widgets::ColorMapWidget::buildInterpolationMap().
| void te::se::InterpolationPoint::setValue | ( | ParameterValue * | v | ) |
Definition at line 68 of file InterpolationPoint.cpp.
Referenced by te::qt::widgets::ColorMapWidget::buildInterpolationMap(), and te::qt::widgets::ColorMapWidget::onTableWidgetItemDoubleClicked().
|
private |
|
private |