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

Public Types

using data_type = EasingData
 
- Public Types inherited from Curve::SegmentModel
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

key_type concreteKey () const noexcept final override
 
void serialize_impl (const VisitorVariant &vis) const override
 
 EasingSegment (const Id< SegmentModel > &id, QObject *parent)
 
 EasingSegment (const Curve::SegmentData &dat, QObject *parent)
 
 EasingSegment (const EasingSegment &other, const Curve::SegmentModel::id_type &id, QObject *parent)
 
 EasingSegment (DataStream::Deserializer &vis, QObject *parent)
 
 EasingSegment (JSONObject::Deserializer &vis, QObject *parent)
 
void on_startChanged () override
 
void on_endChanged () override
 
void updateData (int numInterp) const override
 
double valueAt (double x) const override
 
std::optional< double > verticalParameter () const override
 
std::optional< double > horizontalParameter () const override
 
void setVerticalParameter (double p) override
 
void setHorizontalParameter (double p) override
 
QVariant toSegmentSpecificData () const override
 
template<typename Y >
ossia::curve_segment< Y > makeFunction () const
 
ossia::curve_segment< double > makeDoubleFunction () const override
 
ossia::curve_segment< float > makeFloatFunction () const override
 
ossia::curve_segment< int > makeIntFunction () const override
 
- Public Member Functions inherited from Curve::SegmentModel
 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)
 
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
 
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.
 

Additional Inherited Members

- Public Attributes inherited from Curve::SegmentModel
Selectable selection {this}
 
- Public Attributes inherited from IdentifiedObject< SegmentModel >
Path< SegmentModel > m_path_cache
 
- Static Public Attributes inherited from IdentifiedObject< SegmentModel >
static constexpr const bool identified_object_tag
 
- Protected Member Functions inherited from IdentifiedObjectAbstract
 IdentifiedObjectAbstract (const QString &name, QObject *parent) noexcept
 
- Protected Attributes inherited from Curve::SegmentModel
data_vector m_data
 
bool m_valid {}
 
Curve::Point m_start
 
Curve::Point m_end
 

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