15 #ifndef NURBSSURFACERESULT_H 16 #define NURBSSURFACERESULT_H 18 #include "pandabase.h" 19 #include "referenceCount.h" 20 #include "nurbsBasisVector.h" 37 int num_u_vertices,
int num_v_vertices);
42 INLINE PN_stdfloat get_start_u()
const;
43 INLINE PN_stdfloat get_end_u()
const;
45 INLINE PN_stdfloat get_start_v()
const;
46 INLINE PN_stdfloat get_end_v()
const;
48 INLINE
bool eval_point(PN_stdfloat u, PN_stdfloat v,
LVecBase3 &point);
49 INLINE
bool eval_normal(PN_stdfloat u, PN_stdfloat v,
LVecBase3 &normal);
50 INLINE PN_stdfloat eval_extended_point(PN_stdfloat u, PN_stdfloat v,
int d);
51 INLINE
bool eval_extended_points(PN_stdfloat u, PN_stdfloat v,
int d,
52 PN_stdfloat result[],
int num_values);
54 INLINE
int get_num_u_segments()
const;
55 INLINE
int get_num_v_segments()
const;
56 void eval_segment_point(
int ui,
int vi, PN_stdfloat u, PN_stdfloat v,
LVecBase3 &point)
const;
57 void eval_segment_normal(
int ui,
int vi, PN_stdfloat u, PN_stdfloat v,
LVecBase3 &normal)
const;
58 PN_stdfloat eval_segment_extended_point(
int ui,
int vi, PN_stdfloat u, PN_stdfloat v,
int d)
const;
59 void eval_segment_extended_points(
int ui,
int vi, PN_stdfloat u, PN_stdfloat v,
int d,
60 PN_stdfloat result[],
int num_values)
const;
61 INLINE PN_stdfloat get_segment_u(
int ui, PN_stdfloat u)
const;
62 INLINE PN_stdfloat get_segment_v(
int vi, PN_stdfloat v)
const;
65 INLINE
int verti(
int ui,
int vi)
const;
66 INLINE
int segi(
int ui,
int vi)
const;
68 int find_u_segment(PN_stdfloat u);
69 int r_find_u_segment(PN_stdfloat u,
int top,
int bot)
const;
70 int find_v_segment(PN_stdfloat v);
71 int r_find_v_segment(PN_stdfloat v,
int top,
int bot)
const;
87 typedef epvector<ComposedMats> ComposedGeom;
88 ComposedGeom _composed;
92 PN_stdfloat _last_u_from;
93 PN_stdfloat _last_u_to;
95 PN_stdfloat _last_v_from;
96 PN_stdfloat _last_v_to;
99 #include "nurbsSurfaceResult.I" This is the base class for all three-component vectors and points.
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.
The result of a NurbsSurfaceEvaluator.
This is the base class for all three-component vectors and points.
A base class for all things that want to be reference-counted.