#include <SECurve.h>

Inherits SEProperty.

Public Member Functions

 SECurve ()
 
virtual ~SECurve ()
 
virtual void Invalidate ()
 
virtual bool IsValid () const override
 
virtual void Copy (const SECurve &src)
 
virtual bool HasSegment () const
 
SESegmentConstantAddConstantSegment ()
 
SESegmentLinearAddLinearSegment ()
 
SESegmentParabolicAddParabolicSegment ()
 
SESegmentSigmoidalAddSigmoidalSegment ()
 
virtual const std::vector< SESegment * > & GetSegments ()
 
virtual const std::vector< const SESegment * > & GetSegments () const
 
virtual std::string ToString () const
 
virtual void ToString (std::ostream &str) const
 
- Public Member Functions inherited from SEProperty
 SEProperty ()
 
virtual ~SEProperty ()
 

Protected Attributes

std::vector< SESegment * > m_Segments
 

Constructor & Destructor Documentation

◆ SECurve()

SECurve::SECurve ( )

◆ ~SECurve()

SECurve::~SECurve ( )
virtual

Member Function Documentation

◆ AddConstantSegment()

SESegmentConstant & SECurve::AddConstantSegment ( )

◆ AddLinearSegment()

SESegmentLinear & SECurve::AddLinearSegment ( )

◆ AddParabolicSegment()

SESegmentParabolic & SECurve::AddParabolicSegment ( )

◆ AddSigmoidalSegment()

SESegmentSigmoidal & SECurve::AddSigmoidalSegment ( )

◆ Copy()

void SECurve::Copy ( const SECurve src)
virtual

◆ GetSegments() [1/2]

const std::vector< SESegment * > & SECurve::GetSegments ( )
virtual

◆ GetSegments() [2/2]

const std::vector< const SESegment * > & SECurve::GetSegments ( ) const
virtual

◆ HasSegment()

bool SECurve::HasSegment ( ) const
virtual

◆ Invalidate()

void SECurve::Invalidate ( )
virtual

Implements SEProperty.

◆ IsValid()

bool SECurve::IsValid ( ) const
overridevirtual

Implements SEProperty.

◆ ToString() [1/2]

std::string SECurve::ToString ( ) const
virtual

◆ ToString() [2/2]

void SECurve::ToString ( std::ostream &  str) const
virtual

Member Data Documentation

◆ m_Segments

std::vector<SESegment*> SECurve::m_Segments
protected

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.