Cortex
10.0.0-a4
|
#include <CubicBasis.h>
Public Types | |
typedef T | BaseType |
typedef Imath::Matrix44< T > | MatrixType |
Public Member Functions | |
CubicBasis (const MatrixType &m, unsigned s) | |
template<class S > | |
void | coefficients (S t, S &c0, S &c1, S &c2, S &c3) const |
template<class S > | |
void | coefficients (S t, S c[4]) const |
int | numCoefficients () const |
template<class S > | |
S | operator() (S t, S p0, S p1, S p2, S p3) const |
template<class S > | |
S | operator() (S t, const S p[4]) const |
template<class S > | |
S | operator() (typename S::BaseType t, const S &p0, const S &p1, const S &p2, const S &p3) const |
template<class S > | |
S | operator() (typename S::BaseType t, const S p[4]) const |
bool | operator== (const CubicBasis &rhs) const |
bool | operator!= (const CubicBasis &rhs) const |
Derivatives | |
Methods for computing the first derivatives with respect to 't', which for a curve is also its tangent at 't'. | |
template<class S > | |
void | derivativeCoefficients (S t, S &c0, S &c1, S &c2, S &c3) const |
template<class S > | |
void | derivativeCoefficients (S t, S c[4]) const |
template<class S > | |
S | derivative (S t, S p0, S p1, S p2, S p3) const |
template<class S > | |
S | derivative (S t, const S p[4]) const |
template<class S > | |
S | derivative (typename S::BaseType t, const S &p0, const S &p1, const S &p2, const S &p3) const |
template<class S > | |
S | derivative (typename S::BaseType t, const S p[4]) const |
Integrals | |
Methods for computing integrals | |
template<class S > | |
void | integralCoefficients (S t0, S t1, S &c0, S &c1, S &c2, S &c3) const |
template<class S > | |
void | integralCoefficients (S t0, S t1, S c[4]) const |
template<class S > | |
S | integral (S t0, S t1, S p0, S p1, S p2, S p3) const |
template<class S > | |
S | integral (S t0, S t1, const S p[4]) const |
template<class S > | |
S | integral (typename S::BaseType t0, typename S::BaseType t1, const S &p0, const S &p1, const S &p2, const S &p3) const |
template<class S > | |
S | integral (typename S::BaseType t0, typename S::BaseType t1, const S p[4]) const |
Critical points | |
Methods for computing the critical points with respect to 't', which for a curve are points where it may change direction | |
template<class S > | |
bool | criticalPoints (const S p[4], S &p0, S &p1) const |
Static Public Member Functions | |
static const CubicBasis & | linear () |
static const CubicBasis & | bezier () |
static const CubicBasis & | bSpline () |
static const CubicBasis & | catmullRom () |
Public Attributes | |
MatrixType | matrix |
unsigned | step |
Provides a basis matrix class for use in constructing cubic curves.