26 INLINE
explicit EggCurve(
const std::string &name =
"");
37 INLINE
void set_subdiv(
int subdiv);
38 INLINE
int get_subdiv()
const;
40 INLINE
void set_curve_type(CurveType type);
41 INLINE CurveType get_curve_type()
const;
43 static CurveType string_curve_type(
const std::string &
string);
54 static void init_type() {
55 EggPrimitive::init_type();
57 EggPrimitive::get_class_type());
60 return get_class_type();
62 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
68 std::ostream &operator << (std::ostream &out, EggCurve::CurveType t);
A base class for any of a number of kinds of geometry primitives: polygons, point lights,...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A parametric curve of some kind.
TypeHandle is the identifier used to differentiate C++ class types.