Panda3D
Loading...
Searching...
No Matches
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"
22#include "nurbsCurveEvaluator.h"
23
24BEGIN_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 */
32EXPCL_PANDA_EGG2PG PT(NurbsSurfaceEvaluator)
33make_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 */
41EXPCL_PANDA_EGG2PG PT(NurbsCurveEvaluator)
42make_nurbs_curve(EggNurbsCurve *egg_curve, const LMatrix4d &mat);
43
44END_PUBLISH
45
46#endif
A parametric NURBS curve.
A parametric NURBS surface.
This class is an abstraction for evaluating NURBS curves.
This class is an abstraction for evaluating NURBS surfaces.
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.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.