Panda3D
|
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...
Go to the source code of this file.
Functions | |
for (int ui=0;ui< num_u_vertices;ui++) | |
for (pi=egg_curve->begin();pi !=egg_curve->end();++pi) | |
if (num_knots !=nurbs->get_num_knots()) | |
if (num_u_knots !=nurbs->get_num_u_knots()) | |
if (num_v_knots !=nurbs->get_num_v_knots()) | |
PT (NurbsCurveEvaluator) make_nurbs_curve(EggNurbsCurve *egg_curve | |
Returns a new NurbsCurveEvaluator that's filled in with the values from the given EggCurve (and transformed by the indicated matrix), or NULL if the object is invalid. | |
PT (NurbsSurfaceEvaluator) make_nurbs_surface(EggNurbsSurface *egg_surface | |
Returns a new NurbsSurfaceEvaluator that's filled in with the values from the given EggSurface (and transformed by the indicated matrix), or NULL if the object is invalid. | |
nurbs | reset (egg_curve->size()) |
nurbs | reset (num_u_vertices, num_v_vertices) |
nurbs | set_order (egg_curve->get_order()) |
nurbs | set_u_order (egg_surface->get_u_order()) |
nurbs | set_v_order (egg_surface->get_v_order()) |
Variables | |
int | i |
const LMatrix4d & | mat |
int | num_knots = egg_curve->get_num_knots() |
int | num_u_knots = egg_surface->get_num_u_knots() |
int | num_u_vertices = egg_surface->get_num_u_cvs() |
int | num_v_knots = egg_surface->get_num_v_knots() |
int | num_v_vertices = egg_surface->get_num_v_cvs() |
return | nurbs |
EggPrimitive::const_iterator | pi |
int | vi = 0 |
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
All rights reserved.
All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE."
Definition in file egg_parametrics.cxx.
for | ( | ) |
Definition at line 47 of file egg_parametrics.cxx.
for | ( | pi | = egg_curve->begin(); pi != egg_curve->end(); ++pi | ) |
Definition at line 108 of file egg_parametrics.cxx.
if | ( | num_knots ! | = nurbs->get_num_knots() | ) |
Definition at line 117 of file egg_parametrics.cxx.
if | ( | num_u_knots ! | = nurbs->get_num_u_knots() | ) |
Definition at line 59 of file egg_parametrics.cxx.
if | ( | num_v_knots ! | = nurbs->get_num_v_knots() | ) |
Definition at line 68 of file egg_parametrics.cxx.
PT | ( | NurbsCurveEvaluator | ) |
Returns a new NurbsCurveEvaluator that's filled in with the values from the given EggCurve (and transformed by the indicated matrix), or NULL if the object is invalid.
If there is vertex color, it will be applied to values 0 - 3 of the extended vertex values.
References EggAttributes::get_color(), EggNurbsCurve::get_knot, EggNurbsCurve::get_num_knots, EggNurbsCurve::get_order, and EggVertex::get_pos4().
PT | ( | NurbsSurfaceEvaluator | ) |
Returns a new NurbsSurfaceEvaluator that's filled in with the values from the given EggSurface (and transformed by the indicated matrix), or NULL if the object is invalid.
If there is vertex color, it will be applied to values 0 - 3 of the extended vertex values.
References EggAttributes::get_color(), EggNurbsSurface::get_num_u_cvs(), EggNurbsSurface::get_num_u_knots, EggNurbsSurface::get_num_v_cvs(), EggNurbsSurface::get_num_v_knots, EggVertex::get_pos4(), EggNurbsSurface::get_u_knot, EggNurbsSurface::get_u_order(), EggNurbsSurface::get_v_knot, EggNurbsSurface::get_v_order(), EggPrimitive::get_vertex, and EggNurbsSurface::get_vertex_index().
int i |
Definition at line 76 of file egg_parametrics.cxx.
EXPCL_PANDA_EGG2PG const LMatrix4d & mat |
Definition at line 24 of file egg_parametrics.cxx.
int num_knots = egg_curve->get_num_knots() |
Definition at line 116 of file egg_parametrics.cxx.
int num_u_knots = egg_surface->get_num_u_knots() |
Definition at line 58 of file egg_parametrics.cxx.
int num_u_vertices = egg_surface->get_num_u_cvs() |
Definition at line 44 of file egg_parametrics.cxx.
int num_v_knots = egg_surface->get_num_v_knots() |
Definition at line 67 of file egg_parametrics.cxx.
int num_v_vertices = egg_surface->get_num_v_cvs() |
Definition at line 45 of file egg_parametrics.cxx.
return nurbs |
Definition at line 84 of file egg_parametrics.cxx.
EggPrimitive::const_iterator pi |
Definition at line 106 of file egg_parametrics.cxx.
int vi = 0 |
Definition at line 107 of file egg_parametrics.cxx.