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) {
A virtual base class for parametric curves.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A parametric curve defined by a sequence of control vertices, each with an in and out tangent.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is a set of zero or more ParametricCurves, which may or may not be related.
A Nonuniform Rational B-Spline.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle is the identifier used to differentiate C++ class types.