Curve::Model Class Referencefinal
Inheritance diagram for Curve::Model:
IdentifiedObject< Model > IdentifiedObjectAbstract

Public Member Functions

 Model (const Id< Model > &, QObject *parent)
 
template<typename Impl >
 Model (Impl &vis, QObject *parent)
 
void addSegment (SegmentModel *m)
 
void addSortedSegment (SegmentModel *m)
 
void insertSegment (SegmentModel *)
 
void removeSegment (SegmentModel *m)
 
std::vector< SegmentModel * > sortedSegments () const
 
std::vector< SegmentDatatoCurveData () const
 
void fromCurveData (const std::vector< SegmentData > &curve)
 
Selection selectedChildren () const
 
void setSelection (const Selection &s)
 
void clear ()
 
const auto & segments () const
 
auto & segments ()
 
const std::vector< PointModel * > & points () const
 
std::vector< PointModel * > & points ()
 
double lastPointPos () const
 
std::optional< double > valueAt (double x) const noexcept
 
void segmentAdded (const SegmentModel *arg_1)
 
void segmentRemoved (const Id< SegmentModel > &arg_1)
 
void pointAdded (const Curve::PointModel *arg_1)
 
void pointRemoved (const Id< Curve::PointModel > &arg_1)
 
void changed ()
 
void curveReset ()
 
void cleared ()
 
- Public Member Functions inherited from IdentifiedObject< Model >
 IdentifiedObject (id_type id, const QString &name, QObject *parent) noexcept
 
 IdentifiedObject (Visitor &&v, QObject *parent) noexcept
 
const id_typeid () const noexcept
 
int32_t id_val () const noexcept final override
 
void setId (const id_type &id) noexcept
 
void setId (id_type &&id) noexcept
 
void resetCache () const noexcept override
 
- Public Member Functions inherited from IdentifiedObjectAbstract
void identified_object_destroying (IdentifiedObjectAbstract *o)
 To be called by subclasses.
 
void identified_object_destroyed (IdentifiedObjectAbstract *o)
 Will be called in the IdentifiedObjectAbstract destructor.
 

Additional Inherited Members

- Public Types inherited from IdentifiedObject< Model >
using model_type = Model
 
using id_type = Id< Model >
 
using object_type = IdentifiedObject< Model >
 
- Public Attributes inherited from IdentifiedObject< Model >
Path< Model > m_path_cache
 
- Static Public Attributes inherited from IdentifiedObject< Model >
static constexpr const bool identified_object_tag
 
- Protected Member Functions inherited from IdentifiedObjectAbstract
 IdentifiedObjectAbstract (const QString &name, QObject *parent) noexcept
 

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