#include <nurbsCurveEvaluator.h>
Inheritance diagram for NurbsCurveEvaluator:
Public Member Functions | |
void | get_vertices (pvector< LVecBase4f > &verts, const NodePath &rel_to) const |
void | get_vertices (pvector< LPoint3f > &verts, const NodePath &rel_to) const |
Private Types | |
typedef pvector< NurbsVertex > | Vertices |
typedef vector_float | Knots |
Private Member Functions | |
~NurbsCurveEvaluator () | |
INLINE void | set_order (int order) |
INLINE int | get_order () const |
void | reset (int num_vertices) |
INLINE int | get_num_vertices () const |
INLINE void | set_vertex (int i, const LVecBase4f &vertex) |
INLINE void | set_vertex (int i, const LVecBase3f &vertex, float weight=1.0) |
INLINE const LVecBase4f & | get_vertex (int i) const |
INLINE void | set_vertex_space (int i, const NodePath &space) |
INLINE void | set_vertex_space (int i, const string &space) |
NodePath | get_vertex_space (int i, const NodePath &rel_to) const |
INLINE int | get_num_knots () const |
void | set_knot (int i, float knot) |
float | get_knot (int i) const |
PT (NurbsCurveResult) evaluate(const NodePath &rel_to=NodePath()) const | |
void | recompute_knots () |
void | recompute_basis () |
Private Attributes | |
PUBLISHED | __pad0__: NurbsCurveEvaluator() |
int | _order |
Vertices | _vertices |
bool | _knots_dirty |
Knots | _knots |
bool | _basis_dirty |
NurbsMatrixVector | _basis |
|
Definition at line 87 of file nurbsCurveEvaluator.h. |
|
Definition at line 83 of file nurbsCurveEvaluator.h. |
|
Definition at line 39 of file nurbsCurveEvaluator.cxx. |
|
Definition at line 101 of file nurbsCurveEvaluator.cxx. References _knots. |
|
Referenced by recompute_knots(). |
|
|
|
|
|
|
|
Definition at line 70 of file nurbsCurveEvaluator.cxx. References _vertices. |
|
Definition at line 166 of file nurbsCurveEvaluator.cxx. References _vertices, NodePath::get_mat(), and NodePath::is_empty(). |
|
Definition at line 141 of file nurbsCurveEvaluator.cxx. References _vertices, NodePath::get_mat(), and NodePath::is_empty(). Referenced by RopeNode::do_recompute_bound(). |
|
|
|
Definition at line 221 of file nurbsCurveEvaluator.cxx. References _basis, _basis_dirty, _knots, _order, _vertices, NurbsMatrixVector::append_segment(), and NurbsMatrixVector::clear(). |
|
Definition at line 188 of file nurbsCurveEvaluator.cxx. References _knots, _knots_dirty, _order, and get_num_knots(). Referenced by set_knot(). |
|
Definition at line 52 of file nurbsCurveEvaluator.cxx. References _basis_dirty, _knots_dirty, and _vertices. |
|
Definition at line 87 of file nurbsCurveEvaluator.cxx. References _knots, and recompute_knots(). |
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from ReferenceCount. Definition at line 50 of file nurbsCurveEvaluator.h. |
|
Definition at line 91 of file nurbsCurveEvaluator.h. Referenced by recompute_basis(). |
|
Definition at line 90 of file nurbsCurveEvaluator.h. Referenced by recompute_basis(), and reset(). |
|
Definition at line 88 of file nurbsCurveEvaluator.h. Referenced by get_knot(), recompute_basis(), recompute_knots(), and set_knot(). |
|
Definition at line 86 of file nurbsCurveEvaluator.h. Referenced by recompute_knots(), and reset(). |
|
Definition at line 81 of file nurbsCurveEvaluator.h. Referenced by recompute_basis(), and recompute_knots(). |
|
Definition at line 84 of file nurbsCurveEvaluator.h. Referenced by get_vertex_space(), get_vertices(), recompute_basis(), and reset(). |