18 #include "pandabase.h" 20 #include "eggPrimitive.h" 29 INLINE
EggCurve(
const string &name =
"");
30 INLINE EggCurve(
const EggCurve ©);
31 INLINE EggCurve &operator = (
const EggCurve ©);
40 INLINE
void set_subdiv(
int subdiv);
41 INLINE
int get_subdiv()
const;
43 INLINE
void set_curve_type(CurveType type);
44 INLINE CurveType get_curve_type()
const;
46 static CurveType string_curve_type(
const string &
string);
57 static void init_type() {
58 EggPrimitive::init_type();
59 register_type(_type_handle,
"EggCurve",
60 EggPrimitive::get_class_type());
63 return get_class_type();
65 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
71 ostream &operator << (ostream &out, EggCurve::CurveType t);
A base class for any of a number of kinds of geometry primitives: polygons, point lights...
A parametric curve of some kind.
TypeHandle is the identifier used to differentiate C++ class types.