#include <nurbsCurveInterface.h>
Inheritance diagram for NurbsCurveInterface:
Static Public Member Functions | |
TypeHandle | get_class_type () |
void | init_type () |
Protected Member Functions | |
virtual int | append_cv_impl (const LVecBase4f &v)=0 |
void | write (ostream &out, int indent_level) const |
bool | format_egg (ostream &out, const string &name, const string &curve_type, int indent_level) const |
bool | convert_to_nurbs (ParametricCurve *nc) const |
Private Member Functions | |
virtual int | get_order () const=0 |
virtual int | get_num_cvs () const=0 |
virtual int | get_num_knots () const=0 |
virtual bool | insert_cv (float t)=0 |
INLINE int | append_cv (float x, float y, float z) |
INLINE int | append_cv (const LVecBase3f &v) |
INLINE int | append_cv (const LVecBase4f &v) |
virtual bool | remove_cv (int n)=0 |
virtual void | remove_all_cvs ()=0 |
INLINE bool | set_cv_point (int n, float x, float y, float z) |
INLINE bool | set_cv_point (int n, const LVecBase3f &v) |
INLINE LVecBase3f | get_cv_point (int n) const |
bool | set_cv_weight (int n, float w) |
INLINE float | get_cv_weight (int n) const |
virtual bool | set_cv (int n, const LVecBase4f &v)=0 |
virtual LVecBase4f | get_cv (int n) const=0 |
virtual bool | set_knot (int n, float t)=0 |
virtual float | get_knot (int n) const=0 |
void | write_cv (ostream &out, int n) const |
Private Attributes | |
PUBLISHED | __pad0__: virtual void set_order(int order)=0 |
Static Private Attributes | |
TypeHandle | _type_handle |
|
|
|
|
|
Referenced by ClassicNurbsCurve::ClassicNurbsCurve(), ParametricCurve::convert_to_nurbs(), convert_to_nurbs(), ClassicNurbsCurve::insert_cv(), and EggLoader::make_node(). |
|
Implemented in ClassicNurbsCurve, and NurbsPPCurve. |
|
Reimplemented in ClassicNurbsCurve, and NurbsPPCurve. Definition at line 166 of file nurbsCurveInterface.cxx. References append_cv(), get_cv(), get_knot(), get_num_cvs(), get_num_knots(), ParametricCurve::get_nurbs_interface(), get_order(), NULL, ParametricCurve::recompute(), remove_all_cvs(), and set_knot(). Referenced by NurbsPPCurve::convert_to_nurbs(), and ClassicNurbsCurve::convert_to_nurbs(). |
|
Reimplemented in ClassicNurbsCurve, and NurbsPPCurve. Definition at line 102 of file nurbsCurveInterface.cxx. References get_cv(), get_knot(), get_num_cvs(), get_num_knots(), get_order(), and indent(). Referenced by NurbsPPCurve::format_egg(), and ClassicNurbsCurve::format_egg(). |
|
Reimplemented in ClassicNurbsCurve, and NurbsPPCurve. Definition at line 81 of file nurbsCurveInterface.h. Referenced by NurbsPPCurve::force_init_type(), ClassicNurbsCurve::force_init_type(), NurbsPPCurve::get_type(), ClassicNurbsCurve::get_type(), NurbsPPCurve::init_type(), and ClassicNurbsCurve::init_type(). |
|
Implemented in ClassicNurbsCurve, and NurbsPPCurve. Referenced by convert_to_nurbs(), format_egg(), and set_cv_weight(). |
|
Referenced by NurbsCurveDrawer::draw(), write(), and write_cv(). |
|
Referenced by write(), and write_cv(). |
|
Implemented in ClassicNurbsCurve, and NurbsPPCurve. Referenced by convert_to_nurbs(), NurbsCurveDrawer::draw(), format_egg(), and write(). |
|
Implemented in ClassicNurbsCurve, and NurbsPPCurve. Referenced by convert_to_nurbs(), NurbsCurveDrawer::draw(), format_egg(), set_cv_weight(), write(), and write_cv(). |
|
Implemented in ClassicNurbsCurve, and NurbsPPCurve. Referenced by convert_to_nurbs(), format_egg(), EggLoader::make_node(), and write(). |
|
Implemented in ClassicNurbsCurve, and NurbsPPCurve. Referenced by convert_to_nurbs(), format_egg(), and write(). |
|
Reimplemented in ClassicNurbsCurve, and NurbsPPCurve. Definition at line 84 of file nurbsCurveInterface.h. References register_type(). Referenced by ConfigureFn(), NurbsPPCurve::force_init_type(), ClassicNurbsCurve::force_init_type(), NurbsPPCurve::init_type(), and ClassicNurbsCurve::init_type(). |
|
Implemented in ClassicNurbsCurve, and NurbsPPCurve. |
|
Implemented in ClassicNurbsCurve, and NurbsPPCurve. Referenced by ParametricCurve::convert_to_nurbs(), and convert_to_nurbs(). |
|
Implemented in ClassicNurbsCurve, and NurbsPPCurve. |
|
Implemented in ClassicNurbsCurve, and NurbsPPCurve. Referenced by set_cv_weight(). |
|
|
|
|
|
Definition at line 32 of file nurbsCurveInterface.cxx. References get_cv(), get_num_cvs(), n, set_cv(), and w. |
|
Implemented in ClassicNurbsCurve, and NurbsPPCurve. Referenced by ParametricCurve::convert_to_nurbs(), convert_to_nurbs(), and EggLoader::make_node(). |
|
Reimplemented in ClassicNurbsCurve, and NurbsPPCurve. Definition at line 62 of file nurbsCurveInterface.cxx. References get_cv_point(), get_cv_weight(), get_knot(), get_num_cvs(), get_num_knots(), get_order(), and indent(). Referenced by NurbsPPCurve::write(), and ClassicNurbsCurve::write(). |
|
Definition at line 49 of file nurbsCurveInterface.cxx. References get_cv_point(), get_cv_weight(), get_num_cvs(), and n. |
|
Reimplemented in ClassicNurbsCurve, and NurbsPPCurve. Definition at line 40 of file nurbsCurveInterface.h. |
|
Reimplemented in ClassicNurbsCurve, and NurbsPPCurve. Definition at line 23 of file nurbsCurveInterface.cxx. |