#include <curveFitter.h>
Public Types | |
typedef pvector< DataPoint > | Data |
Static Public Member Functions | |
TypeHandle | get_class_type () |
void | init_type () |
Public Attributes | |
Data | _data |
bool | _got_xyz |
bool | _got_hpr |
Private Member Functions | |
~CurveFitter () | |
void | reset () |
void | add_xyz (float t, const LVecBase3f &xyz) |
void | add_hpr (float t, const LVecBase3f &hpr) |
void | add_xyz_hpr (float t, const LVecBase3f &xyz, const LVecBase3f &hpr) |
int | get_num_samples () const |
float | get_sample_t (int n) const |
LVecBase3f | get_sample_xyz (int n) const |
LVecBase3f | get_sample_hpr (int n) const |
LVecBase3f | get_sample_tangent (int n) const |
void | remove_samples (int begin, int end) |
void | sample (ParametricCurveCollection *curves, int count) |
void | wrap_hpr () |
void | sort_points () |
void | desample (float factor) |
void | compute_tangents (float scale) |
PT (ParametricCurveCollection) make_hermite() const | |
PT (ParametricCurveCollection) make_nurbs() const | |
void | output (ostream &out) const |
void | write (ostream &out) const |
Private Attributes | |
PUBLISHED | __pad0__: CurveFitter() |
Static Private Attributes | |
TypeHandle | _type_handle |
|
Definition at line 82 of file curveFitter.h. |
|
Definition at line 48 of file curveFitter.cxx. |
|
Definition at line 82 of file curveFitter.cxx. References _data, _got_hpr, CurveFitter::DataPoint::_hpr, CurveFitter::DataPoint::_t, and t. Referenced by ParametricCurveCollection::face_forward(). |
|
Definition at line 68 of file curveFitter.cxx. References _data, _got_xyz, CurveFitter::DataPoint::_t, CurveFitter::DataPoint::_xyz, and t. Referenced by ParametricCurveCollection::make_even(). |
|
Definition at line 96 of file curveFitter.cxx. References _data, _got_hpr, _got_xyz, CurveFitter::DataPoint::_hpr, CurveFitter::DataPoint::_t, CurveFitter::DataPoint::_xyz, and t. |
|
Definition at line 298 of file curveFitter.cxx. References _data, len, and scale. Referenced by ParametricCurveCollection::face_forward(), and ParametricCurveCollection::make_even(). |
|
Definition at line 268 of file curveFitter.cxx. |
|
Definition at line 89 of file curveFitter.h. References _type_handle. |
|
Definition at line 113 of file curveFitter.cxx. References _data. |
|
Definition at line 145 of file curveFitter.cxx. |
|
Definition at line 123 of file curveFitter.cxx. |
|
Definition at line 158 of file curveFitter.cxx. |
|
Definition at line 134 of file curveFitter.cxx. |
|
Definition at line 92 of file curveFitter.h. References _type_handle, and register_type(). Referenced by ConfigureFn(). |
|
Definition at line 470 of file curveFitter.cxx. References _data. Referenced by operator<<(). |
|
|
|
|
|
Definition at line 170 of file curveFitter.cxx. |
|
Definition at line 58 of file curveFitter.cxx. References _data. |
|
|
Definition at line 255 of file curveFitter.cxx. References _data. |
|
Definition at line 223 of file curveFitter.cxx. References _data. Referenced by ParametricCurveCollection::face_forward(). |
|
Definition at line 480 of file curveFitter.cxx. References _data. |
|
Definition at line 41 of file curveFitter.h. |
|
Definition at line 83 of file curveFitter.h. Referenced by add_hpr(), add_xyz(), add_xyz_hpr(), compute_tangents(), desample(), get_num_samples(), get_sample_hpr(), get_sample_t(), get_sample_tangent(), get_sample_xyz(), output(), remove_samples(), reset(), sample(), sort_points(), wrap_hpr(), and write(). |
|
Definition at line 86 of file curveFitter.h. Referenced by add_hpr(), add_xyz_hpr(), and sample(). |
|
Definition at line 85 of file curveFitter.h. Referenced by add_xyz(), add_xyz_hpr(), and sample(). |
|
Definition at line 29 of file curveFitter.cxx. Referenced by get_class_type(), and init_type(). |