Inheritance diagram for Curve::SegmentModel:
IdentifiedObject< SegmentModel > score::SerializableInterface< SegmentFactory > IdentifiedObjectAbstract Curve::EasingSegment< Easing_T >

Public Types

using data_vector = std::vector< QPointF, boost::alignment::aligned_allocator_adaptor< std::allocator< QPointF >, 32 > >
 
- Public Types inherited from IdentifiedObject< SegmentModel >
using model_type = SegmentModel
 
using id_type = Id< SegmentModel >
 
using object_type = IdentifiedObject< SegmentModel >
 
- Public Types inherited from score::SerializableInterface< SegmentFactory >
using key_type = UuidKey< SegmentFactory >
 
using is_abstract_base_tag = std::integral_constant< bool, true >
 

Public Member Functions

 SegmentModel (const Id< SegmentModel > &id, QObject *parent)
 
 SegmentModel (const SegmentData &id, QObject *parent)
 
 SegmentModel (Curve::Point s, Curve::Point e, const Id< SegmentModel > &id, QObject *parent)
 
 SegmentModel (DataStream::Deserializer &vis, QObject *parent)
 
 SegmentModel (JSONObject::Deserializer &vis, QObject *parent)
 
virtual void updateData (int numInterp) const =0
 
virtual double valueAt (double x) const =0
 
const data_vector & data () const
 
void setStart (const Curve::Point &pt)
 
Curve::Point start () const
 
void setEnd (const Curve::Point &pt)
 
Curve::Point end () const
 
void setPrevious (const OptionalId< SegmentModel > &previous)
 
const OptionalId< SegmentModel > & previous () const
 
void setFollowing (const OptionalId< SegmentModel > &following)
 
const OptionalId< SegmentModel > & following () const
 
virtual void setVerticalParameter (double p)
 
virtual void setHorizontalParameter (double p)
 
virtual std::optional< double > verticalParameter () const
 
virtual std::optional< double > horizontalParameter () const
 
virtual ossia::curve_segment< double > makeDoubleFunction () const =0
 
virtual ossia::curve_segment< float > makeFloatFunction () const =0
 
virtual ossia::curve_segment< int > makeIntFunction () const =0
 
SegmentData toSegmentData () const
 
void dataChanged ()
 
void previousChanged ()
 
void followingChanged ()
 
void startChanged ()
 
void endChanged ()
 
- Public Member Functions inherited from IdentifiedObject< SegmentModel >
 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.
 
- Public Member Functions inherited from score::SerializableInterface< SegmentFactory >
virtual UuidKey< SegmentFactory > concreteKey () const noexcept=0
 
virtual void serialize_impl (const VisitorVariant &vis) const
 

Public Attributes

Selectable selection {this}
 
- Public Attributes inherited from IdentifiedObject< SegmentModel >
Path< SegmentModel > m_path_cache
 

Protected Member Functions

virtual void on_startChanged ()=0
 
virtual void on_endChanged ()=0
 
virtual QVariant toSegmentSpecificData () const =0
 
- Protected Member Functions inherited from IdentifiedObjectAbstract
 IdentifiedObjectAbstract (const QString &name, QObject *parent) noexcept
 

Protected Attributes

data_vector m_data
 
bool m_valid {}
 
Curve::Point m_start
 
Curve::Point m_end
 

Additional Inherited Members

- Static Public Attributes inherited from IdentifiedObject< SegmentModel >
static constexpr const bool identified_object_tag
 

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