14 #ifndef NURBSSURFACERESULT_H 15 #define NURBSSURFACERESULT_H 34 int num_u_vertices,
int num_v_vertices);
39 INLINE PN_stdfloat get_start_u()
const;
40 INLINE PN_stdfloat get_end_u()
const;
42 INLINE PN_stdfloat get_start_v()
const;
43 INLINE PN_stdfloat get_end_v()
const;
45 INLINE
bool eval_point(PN_stdfloat u, PN_stdfloat v, LVecBase3 &point);
46 INLINE
bool eval_normal(PN_stdfloat u, PN_stdfloat v, LVecBase3 &normal);
47 INLINE PN_stdfloat eval_extended_point(PN_stdfloat u, PN_stdfloat v,
int d);
48 INLINE
bool eval_extended_points(PN_stdfloat u, PN_stdfloat v,
int d,
49 PN_stdfloat result[],
int num_values);
51 INLINE
int get_num_u_segments()
const;
52 INLINE
int get_num_v_segments()
const;
53 void eval_segment_point(
int ui,
int vi, PN_stdfloat u, PN_stdfloat v, LVecBase3 &point)
const;
54 void eval_segment_normal(
int ui,
int vi, PN_stdfloat u, PN_stdfloat v, LVecBase3 &normal)
const;
55 PN_stdfloat eval_segment_extended_point(
int ui,
int vi, PN_stdfloat u, PN_stdfloat v,
int d)
const;
56 void eval_segment_extended_points(
int ui,
int vi, PN_stdfloat u, PN_stdfloat v,
int d,
57 PN_stdfloat result[],
int num_values)
const;
58 INLINE PN_stdfloat get_segment_u(
int ui, PN_stdfloat u)
const;
59 INLINE PN_stdfloat get_segment_v(
int vi, PN_stdfloat v)
const;
62 INLINE
int verti(
int ui,
int vi)
const;
63 INLINE
int segi(
int ui,
int vi)
const;
65 int find_u_segment(PN_stdfloat u);
66 int r_find_u_segment(PN_stdfloat u,
int top,
int bot)
const;
67 int find_v_segment(PN_stdfloat v);
68 int r_find_v_segment(PN_stdfloat v,
int top,
int bot)
const;
81 LMatrix4 _x, _y, _z, _w;
83 typedef epvector<ComposedMats> ComposedGeom;
84 ComposedGeom _composed;
88 PN_stdfloat _last_u_from;
89 PN_stdfloat _last_u_to;
91 PN_stdfloat _last_v_from;
92 PN_stdfloat _last_v_to;
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.
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...
The result of a NurbsSurfaceEvaluator.
A base class for all things that want to be reference-counted.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.