Drake
SplineInformation Class Reference

#include <drake/solvers/qpSpline/SplineInformation.h>

Inheritance diagram for SplineInformation:
Collaboration diagram for SplineInformation:

Public Member Functions

virtual ~SplineInformation ()
 
 SplineInformation (std::vector< int > const &segment_polynomial_orders, std::vector< double > const &segment_times)
 
virtual int getSegmentPolynomialDegree (int segment_number, Eigen::Index row, Eigen::Index cols) const
 
virtual Eigen::Index rows () const
 
virtual Eigen::Index cols () const
 
std::vector< ValueConstraint > const & getValueConstraints (int segment_number) const
 
std::vector< ContinuityConstraint > const & getContinuityConstraints () const
 
void addValueConstraint (int segment_index, ValueConstraint const &constraint)
 
int getNumberOfConstraints () const
 
void addContinuityConstraint (ContinuityConstraint const &constraint)
 
std::vector< double > const & getSegmentTimes () const
 
- Public Member Functions inherited from PiecewisePolynomialBase
 PiecewisePolynomialBase (std::vector< double > const &segment_times)
 
virtual ~PiecewisePolynomialBase ()
 
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 ()
 
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
 

Additional Inherited Members

- Static Public Member Functions inherited from PiecewiseFunction
static std::vector< doublerandomSegmentTimes (int num_segments, std::default_random_engine &generator)
 
- Protected Member Functions inherited from PiecewisePolynomialBase
 PiecewisePolynomialBase ()
 
- Protected Member Functions inherited from PiecewiseFunction
bool segmentTimesEqual (const PiecewiseFunction &b, double tol) const
 
void checkScalarValued () const
 
 PiecewiseFunction ()
 
- Protected Attributes inherited from PiecewiseFunction
std::vector< doublesegment_times
 

Constructor & Destructor Documentation

virtual ~SplineInformation ( )
inlinevirtual

Here is the call graph for this function:

SplineInformation ( std::vector< int > const &  segment_polynomial_orders,
std::vector< double > const &  segment_times 
)

Here is the call graph for this function:

Member Function Documentation

void addContinuityConstraint ( ContinuityConstraint const &  constraint)

Here is the caller graph for this function:

void addValueConstraint ( int  segment_index,
ValueConstraint const &  constraint 
)

Here is the caller graph for this function:

Eigen::Index cols ( ) const
virtual

Implements PiecewiseFunction.

std::vector< ContinuityConstraint > const & getContinuityConstraints ( ) const

Here is the caller graph for this function:

int getNumberOfConstraints ( ) const

Here is the caller graph for this function:

int getSegmentPolynomialDegree ( int  segment_number,
Eigen::Index  row,
Eigen::Index  cols 
) const
virtual

Implements PiecewisePolynomialBase.

Here is the call graph for this function:

std::vector< double > const & getSegmentTimes ( ) const

Here is the caller graph for this function:

std::vector< ValueConstraint > const & getValueConstraints ( int  segment_number) const

Here is the caller graph for this function:

Eigen::Index rows ( ) const
virtual

Implements PiecewiseFunction.


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