14 #ifndef QTESSINPUTENTRY_H 15 #define QTESSINPUTENTRY_H 30 T_undefined, T_omit, T_num_tris, T_uv, T_per_isoparam, T_per_score,
31 T_importance, T_match_uu, T_match_vv, T_match_uv, T_match_vu,
39 INLINE
void add_node_name(
const std::string &name);
40 INLINE
void set_importance(
double i);
41 INLINE
void set_match_uu();
42 INLINE
void set_match_vv();
43 INLINE
void set_match_uv();
44 INLINE
void set_match_vu();
45 INLINE
void set_min_u(
int min_u);
46 INLINE
void set_min_v(
int min_v);
47 INLINE
void set_undefined();
48 INLINE
void set_omit();
49 INLINE
void set_num_tris(
int nt);
50 INLINE
void set_uv(
int u,
int v);
51 void set_uv(
int u,
int v,
const std::string params[],
int num_params);
52 INLINE
void set_per_isoparam(
double pi);
53 INLINE
void set_per_score(
double pi);
58 INLINE
int get_num_surfaces()
const;
59 int count_tris(
double tri_factor = 1.0,
int attempts = 0);
62 void output(std::ostream &out)
const;
63 void write(std::ostream &out,
int indent_level)
const;
65 bool _auto_place, _auto_distribute;
66 double _curvature_ratio;
86 INLINE std::ostream &operator << (std::ostream &out,
const QtessInputEntry &entry);
A reference to an EggNurbsSurface in the egg file, and its parameters as set by the user input file a...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
int count_tris(double tri_factor=1.0, int attempts=0)
Determines the tesselation u,v amounts of each attached surface, and stores this information in the s...
Stores one entry in the qtess input file.
void add_extra_u_isoparam(double u)
May be called a number of times before set_uv() to add specific additional isoparams to the tesselati...
static void output_extra(std::ostream &out, const pvector< double > &iso, char axis)
This function is used to identify the extra isoparams in the list added by user control.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Type match(QtessSurface *surface)
Tests the surface to see if it matches any of the regular expressions that define this node entry.
void add_extra_v_isoparam(double u)
May be called a number of times before set_uv() to add specific additional isoparams to the tesselati...