Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
SmoothCurve Class Reference

#include <SmoothCurve.h>

List of all members.

Public Member Functions

void clear ()
float curveLength ()
Point2f evaluatePoint (float time)
int knotCount () const
 SmoothCurve ()
 SmoothCurve (const std::vector< Point2f > &ctrl, float starttheta, float startspeed, float endtheta, float endspeed, bool use_pats=true)
 ~SmoothCurve ()

Public Attributes

std::vector< float > knots

Private Member Functions

Point2f bezierPoint (int i)
int controlPointsCount () const
int dataPointsCount () const
Point2f Delta (int i)
float DeltaU (int i)
Point2f getControlPoint (int index) const
Point2f getDataPoint (int index) const
float getKnot (int index) const

Private Attributes

std::vector< Point2fcontrolPoints
std::vector< Point2fdataPoints
int degree

Detailed Description

Definition at line 26 of file SmoothCurve.h.


Constructor & Destructor Documentation

Definition at line 30 of file SmoothCurve.h.

SmoothCurve::SmoothCurve ( const std::vector< Point2f > &  ctrl,
float  starttheta,
float  startspeed,
float  endtheta,
float  endspeed,
bool  use_pats = true 
)

Definition at line 4 of file SmoothCurve.cc.

Definition at line 135 of file SmoothCurve.cc.


Member Function Documentation

Point2f SmoothCurve::bezierPoint ( int  i) [private]

Definition at line 148 of file SmoothCurve.cc.

void SmoothCurve::clear ( void  )

Definition at line 200 of file SmoothCurve.cc.

int SmoothCurve::controlPointsCount ( ) const [private]

Definition at line 175 of file SmoothCurve.cc.

Definition at line 208 of file SmoothCurve.cc.

int SmoothCurve::dataPointsCount ( ) const [private]

Definition at line 180 of file SmoothCurve.cc.

Vec2f SmoothCurve::Delta ( int  i) [private]

Definition at line 164 of file SmoothCurve.cc.

float SmoothCurve::DeltaU ( int  i) [private]

Definition at line 137 of file SmoothCurve.cc.

Definition at line 213 of file SmoothCurve.cc.

Point2f SmoothCurve::getControlPoint ( int  index) const [private]

Definition at line 190 of file SmoothCurve.cc.

Point2f SmoothCurve::getDataPoint ( int  index) const [private]

Definition at line 185 of file SmoothCurve.cc.

float SmoothCurve::getKnot ( int  index) const [private]

Definition at line 195 of file SmoothCurve.cc.

int SmoothCurve::knotCount ( ) const

Definition at line 170 of file SmoothCurve.cc.


Member Data Documentation

std::vector<Point2f> SmoothCurve::controlPoints [private]

Definition at line 54 of file SmoothCurve.h.

std::vector<Point2f> SmoothCurve::dataPoints [private]

Definition at line 53 of file SmoothCurve.h.

int SmoothCurve::degree [private]

Definition at line 56 of file SmoothCurve.h.

std::vector<float> SmoothCurve::knots

Definition at line 45 of file SmoothCurve.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


art_map
Author(s): David Li, Patrick Beeson, Bartley Gillen, Tarun Nimmagadda, Mickey Ristroph, Michael Quinlan, Jack O'Quin
autogenerated on Tue Sep 24 2013 10:41:51