15 #ifndef NURBSBASISVECTOR_H
16 #define NURBSBASISVECTOR_H
18 #include "pandabase.h"
40 INLINE ~NurbsBasisVector();
42 INLINE
int get_order()
const;
44 INLINE
int get_num_segments()
const;
45 INLINE PN_stdfloat get_start_t()
const;
46 INLINE PN_stdfloat get_end_t()
const;
48 INLINE
int get_vertex_index(
int segment)
const;
49 INLINE PN_stdfloat get_from(
int segment)
const;
50 INLINE PN_stdfloat get_to(
int segment)
const;
51 INLINE
const LMatrix4 &get_basis(
int segment)
const;
52 INLINE PN_stdfloat scale_t(
int segment, PN_stdfloat t)
const;
54 void clear(
int order);
55 void append_segment(
int vertex_index,
const PN_stdfloat knots[]);
60 static LVecBase4 nurbs_blending_function(
int order,
int i,
int j,
61 const PN_stdfloat knots[]);
74 typedef epvector<Segment> Segments;
78 #include "nurbsBasisVector.I"
This represents a single control vertex in a NurbsEvaluator.
This encapsulates a series of matrices that are used to represent the sequential segments of a NurbsC...
This is a 4-by-4 transform matrix.
This is the base class for all three-component vectors and points.