18 #include "pandabase.h" 22 #include "parametricCurveCollection.h" 41 void add_xyz(PN_stdfloat t,
const LVecBase3 &xyz);
42 void add_hpr(PN_stdfloat t,
const LVecBase3 &hpr);
45 int get_num_samples()
const;
46 PN_stdfloat get_sample_t(
int n)
const;
49 LVecBase3 get_sample_tangent(
int n)
const;
50 void remove_samples(
int begin,
int end);
55 void desample(PN_stdfloat factor);
57 void compute_tangents(PN_stdfloat scale);
61 void output(ostream &out)
const;
62 void write(ostream &out)
const;
68 INLINE
void output(ostream &out)
const;
69 INLINE
bool operator < (
const DataPoint &other)
const;
88 static void init_type() {
89 register_type(_type_handle,
"CurveFitter");
101 INLINE ostream &operator << (ostream &out,
const CurveFitter &cf) {
106 #include "curveFitter.I" This is the base class for all three-component vectors and points.
A virtual base class for parametric curves.
A parametric curve defined by a sequence of control vertices, each with an in and out tangent...
This is a set of zero or more ParametricCurves, which may or may not be related.
A Nonuniform Rational B-Spline.
TypeHandle is the identifier used to differentiate C++ class types.