Drake
PiecewisePolynomialBase Class Referenceabstract

#include <drake/systems/trajectories/PiecewisePolynomialBase.h>

Inheritance diagram for PiecewisePolynomialBase:
Collaboration diagram for PiecewisePolynomialBase:

Public Member Functions

 PiecewisePolynomialBase (std::vector< double > const &segment_times)
 
virtual ~PiecewisePolynomialBase ()
 
virtual int getSegmentPolynomialDegree (int segment_number, Eigen::Index row=0, Eigen::Index col=0) const =0
 
int getNumberOfCoefficients (int segment_number, Eigen::Index row=0, Eigen::Index col=0) const
 
int getTotalNumberOfCoefficients (Eigen::Index row=0, Eigen::Index col=0) const
 
- Public Member Functions inherited from PiecewiseFunction
 PiecewiseFunction (std::vector< double > const &segment_times)
 
virtual ~PiecewiseFunction ()
 
virtual Eigen::Index rows () const =0
 
virtual Eigen::Index cols () const =0
 
int getNumberOfSegments () const
 
double getStartTime (int segment_number) const
 
double getEndTime (int segment_number) const
 
double getDuration (int segment_number) const
 
double getStartTime () const
 
double getEndTime () const
 
int getSegmentIndex (double t) const
 
const std::vector< double > & getSegmentTimes () const
 
void segmentNumberRangeCheck (int segment_number) const
 

Protected Member Functions

 PiecewisePolynomialBase ()
 
- Protected Member Functions inherited from PiecewiseFunction
bool segmentTimesEqual (const PiecewiseFunction &b, double tol) const
 
void checkScalarValued () const
 
 PiecewiseFunction ()
 

Additional Inherited Members

- Static Public Member Functions inherited from PiecewiseFunction
static std::vector< doublerandomSegmentTimes (int num_segments, std::default_random_engine &generator)
 
- Protected Attributes inherited from PiecewiseFunction
std::vector< doublesegment_times
 

Constructor & Destructor Documentation

PiecewisePolynomialBase ( std::vector< double > const &  segment_times)
explicit
PiecewisePolynomialBase ( )
protected

Member Function Documentation

int getNumberOfCoefficients ( int  segment_number,
Eigen::Index  row = 0,
Eigen::Index  col = 0 
) const

Here is the call graph for this function:

Here is the caller graph for this function:

virtual int getSegmentPolynomialDegree ( int  segment_number,
Eigen::Index  row = 0,
Eigen::Index  col = 0 
) const
pure virtual

Implemented in PiecewisePolynomial< CoefficientType >, PiecewisePolynomial< double >, and SplineInformation.

Here is the caller graph for this function:

int getTotalNumberOfCoefficients ( Eigen::Index  row = 0,
Eigen::Index  col = 0 
) const

Here is the call graph for this function:

Here is the caller graph for this function:


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