14 #ifndef NURBSBASISVECTOR_H
15 #define NURBSBASISVECTOR_H
38 INLINE
int get_order()
const;
40 INLINE
int get_num_segments()
const;
41 INLINE PN_stdfloat get_start_t()
const;
42 INLINE PN_stdfloat get_end_t()
const;
44 INLINE
int get_vertex_index(
int segment)
const;
45 INLINE PN_stdfloat get_from(
int segment)
const;
46 INLINE PN_stdfloat get_to(
int segment)
const;
47 INLINE
const LMatrix4 &get_basis(
int segment)
const;
48 INLINE PN_stdfloat scale_t(
int segment, PN_stdfloat t)
const;
50 void clear(
int order);
51 void append_segment(
int vertex_index,
const PN_stdfloat knots[]);
56 static LVecBase4 nurbs_blending_function(
int order,
int i,
int j,
57 const PN_stdfloat knots[]);
70 typedef epvector<Segment> Segments;
This encapsulates a series of matrices that are used to represent the sequential segments of a NurbsC...
This represents a single control vertex in a NurbsEvaluator.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.