39 void add_xyz(PN_stdfloat t,
const LVecBase3 &xyz);
40 void add_hpr(PN_stdfloat t,
const LVecBase3 &hpr);
41 void add_xyz_hpr(PN_stdfloat t,
const LVecBase3 &xyz,
const LVecBase3 &hpr);
43 int get_num_samples()
const;
44 PN_stdfloat get_sample_t(
int n)
const;
45 LVecBase3 get_sample_xyz(
int n)
const;
46 LVecBase3 get_sample_hpr(
int n)
const;
47 LVecBase3 get_sample_tangent(
int n)
const;
48 void remove_samples(
int begin,
int end);
53 void desample(PN_stdfloat factor);
55 void compute_tangents(PN_stdfloat scale);
59 void output(std::ostream &out)
const;
60 void write(std::ostream &out)
const;
66 INLINE
void output(std::ostream &out)
const;
67 INLINE
bool operator < (
const DataPoint &other)
const;
73 LVecBase3 _hpr_tangent;
86 static void init_type() {
99 INLINE std::ostream &operator << (std::ostream &out,
const CurveFitter &cf) {