Panda3D
egg_parametrics.h
Go to the documentation of this file.
1 /**
2  * PANDA 3D SOFTWARE
3  * Copyright (c) Carnegie Mellon University. All rights reserved.
4  *
5  * All use of this software is subject to the terms of the revised BSD
6  * license. You should have received a copy of this license along
7  * with this source code in a file named "LICENSE."
8  *
9  * @file egg_parametrics.h
10  * @author drose
11  * @date 2003-10-13
12  */
13 
14 #ifndef EGG_PARAMETRICS_H
15 #define EGG_PARAMETRICS_H
16 
17 #include "pandabase.h"
18 
19 #include "eggNurbsSurface.h"
20 #include "eggNurbsCurve.h"
21 #include "nurbsSurfaceEvaluator.h"
22 #include "nurbsCurveEvaluator.h"
23 
24 BEGIN_PUBLISH
25 
26 /**
27  * Returns a new NurbsSurfaceEvaluator that's filled in with the values from
28  * the given EggSurface (and transformed by the indicated matrix), or NULL if
29  * the object is invalid. If there is vertex color, it will be applied to
30  * values 0 - 3 of the extended vertex values.
31  */
32 EXPCL_PANDA_EGG2PG PT(NurbsSurfaceEvaluator)
33 make_nurbs_surface(EggNurbsSurface *egg_surface, const LMatrix4d &mat);
34 
35 /**
36  * Returns a new NurbsCurveEvaluator that's filled in with the values from the
37  * given EggCurve (and transformed by the indicated matrix), or NULL if the
38  * object is invalid. If there is vertex color, it will be applied to values
39  * 0 - 3 of the extended vertex values.
40  */
41 EXPCL_PANDA_EGG2PG PT(NurbsCurveEvaluator)
42 make_nurbs_curve(EggNurbsCurve *egg_curve, const LMatrix4d &mat);
43 
44 END_PUBLISH
45 
46 #endif
This class is an abstraction for evaluating NURBS curves.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This class is an abstraction for evaluating NURBS surfaces.
BEGIN_PUBLISH EXPCL_PANDA_EGG2PG PT(NurbsSurfaceEvaluator) make_nurbs_surface(EggNurbsSurface *egg_surface
Returns a new NurbsSurfaceEvaluator that's filled in with the values from the given EggSurface (and t...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A parametric NURBS curve.
Definition: eggNurbsCurve.h:26
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A parametric NURBS surface.