#include <eggNurbsSurface.h>
Inheritance diagram for EggNurbsSurface:
Public Types | |
typedef plist< PT(EggNurbsCurve) | Curves ) |
typedef Curves | Loop |
typedef plist< Loop > | Loops |
typedef Loops | Trim |
typedef plist< Trim > | Trims |
Public Member Functions | |
INLINE | EggNurbsSurface (const string &name="") |
INLINE | EggNurbsSurface (const EggNurbsSurface ©) |
INLINE EggNurbsSurface & | operator= (const EggNurbsSurface ©) |
void | setup (int u_order, int v_order, int num_u_knots, int num_v_knots) |
INLINE void | set_u_order (int u_order) |
INLINE void | set_v_order (int v_order) |
void | set_num_u_knots (int num) |
void | set_num_v_knots (int num) |
INLINE void | set_u_knot (int k, double value) |
INLINE void | set_v_knot (int k, double value) |
INLINE void | set_cv (int ui, int vi, EggVertex *vertex) |
bool | is_valid () const |
INLINE int | get_u_order () const |
INLINE int | get_v_order () const |
INLINE int | get_u_degree () const |
INLINE int | get_v_degree () const |
INLINE int | get_num_u_knots () const |
INLINE int | get_num_v_knots () const |
INLINE int | get_num_u_cvs () const |
INLINE int | get_num_v_cvs () const |
INLINE int | get_num_cvs () const |
INLINE int | get_u_index (int vertex_index) const |
INLINE int | get_v_index (int vertex_index) const |
INLINE int | get_vertex_index (int ui, int vi) const |
bool | is_closed_u () const |
bool | is_closed_v () const |
INLINE double | get_u_knot (int k) const |
INLINE double | get_v_knot (int k) const |
INLINE EggVertex * | get_cv (int ui, int vi) const |
virtual void | write (ostream &out, int indent_level) const |
virtual TypeHandle | get_type () const |
virtual TypeHandle | force_init_type () |
Static Public Member Functions | |
TypeHandle | get_class_type () |
void | init_type () |
Public Attributes | |
Curves | _curves_on_surface |
Trims | _trims |
Protected Member Functions | |
virtual void | r_apply_texmats (EggTextureCollection &textures) |
Private Types | |
typedef vector_double | Knots |
Private Attributes | |
Knots | _u_knots |
Knots | _v_knots |
int | _u_order |
int | _v_order |
Static Private Attributes | |
TypeHandle | _type_handle |
|
Definition at line 37 of file eggNurbsSurface.h. |
|
Definition at line 91 of file eggNurbsSurface.h. |
|
Definition at line 38 of file eggNurbsSurface.h. |
|
Definition at line 39 of file eggNurbsSurface.h. |
|
Definition at line 40 of file eggNurbsSurface.h. |
|
Definition at line 41 of file eggNurbsSurface.h. |
|
|
|
|
|
Reimplemented from EggSurface. Definition at line 110 of file eggNurbsSurface.h. References EggSurface::get_class_type(), and EggSurface::init_type(). |
|
Reimplemented from EggSurface. Definition at line 99 of file eggNurbsSurface.h. |
|
|
|
Referenced by is_valid(). |
|
|
|
Referenced by is_valid(). |
|
|
|
Referenced by is_valid(). |
|
Reimplemented from EggSurface. Definition at line 107 of file eggNurbsSurface.h. References EggSurface::get_class_type(). |
|
|
|
|
|
Referenced by is_closed_u(), and is_valid(). |
|
Referenced by is_closed_u(), and write(). |
|
|
|
|
|
Referenced by is_closed_v(), and is_valid(). |
|
Referenced by is_closed_v(), and write(). |
|
|
|
Reimplemented from EggSurface. Definition at line 102 of file eggNurbsSurface.h. References EggPrimitive::get_class_type(), EggPrimitive::init_type(), and register_type(). Referenced by init_libegg(). |
|
Definition at line 152 of file eggNurbsSurface.cxx. References get_u_knot(), and get_u_order(). |
|
Definition at line 178 of file eggNurbsSurface.cxx. References get_v_knot(), and get_v_order(). |
|
Definition at line 114 of file eggNurbsSurface.cxx. References get_num_cvs(), get_num_u_knots(), get_num_v_knots(), get_u_knot(), get_v_knot(), and EggPrimitive::size(). |
|
|
|
Reimplemented from EggPrimitive. Definition at line 252 of file eggNurbsSurface.cxx. |
|
|
|
Definition at line 67 of file eggNurbsSurface.cxx. References _u_knots. |
|
Definition at line 92 of file eggNurbsSurface.cxx. References _v_knots. |
|
|
|
|
|
|
|
|
|
Definition at line 37 of file eggNurbsSurface.cxx. |
|
Reimplemented from EggAttributes. Definition at line 195 of file eggNurbsSurface.cxx. References _curves_on_surface, _trims, _u_knots, _v_knots, get_u_order(), EggSurface::get_u_subdiv(), get_v_order(), EggSurface::get_v_subdiv(), indent(), EggPrimitive::write_body(), EggNamedObject::write_header(), and write_long_list(). |
|
Definition at line 84 of file eggNurbsSurface.h. Referenced by write(). |
|
Definition at line 85 of file eggNurbsSurface.h. Referenced by write(). |
|
Reimplemented from EggSurface. Definition at line 23 of file eggNurbsSurface.cxx. |
|
Definition at line 92 of file eggNurbsSurface.h. Referenced by set_num_u_knots(), setup(), and write(). |
|
Definition at line 94 of file eggNurbsSurface.h. Referenced by setup(). |
|
Definition at line 93 of file eggNurbsSurface.h. Referenced by set_num_v_knots(), setup(), and write(). |
|
Definition at line 95 of file eggNurbsSurface.h. Referenced by setup(). |