15 #ifndef QTESSINPUTENTRY_H
16 #define QTESSINPUTENTRY_H
18 #include "pandatoolbase.h"
19 #include "globPattern.h"
33 T_undefined, T_omit, T_num_tris, T_uv, T_per_isoparam, T_per_score,
34 T_importance, T_match_uu, T_match_vv, T_match_uv, T_match_vu,
40 void operator = (
const QtessInputEntry ©);
42 INLINE
void add_node_name(
const string &name);
43 INLINE
void set_importance(
double i);
44 INLINE
void set_match_uu();
45 INLINE
void set_match_vv();
46 INLINE
void set_match_uv();
47 INLINE
void set_match_vu();
48 INLINE
void set_min_u(
int min_u);
49 INLINE
void set_min_v(
int min_v);
50 INLINE
void set_undefined();
51 INLINE
void set_omit();
52 INLINE
void set_num_tris(
int nt);
53 INLINE
void set_uv(
int u,
int v);
54 void set_uv(
int u,
int v,
const string params[],
int num_params);
55 INLINE
void set_per_isoparam(
double pi);
56 INLINE
void set_per_score(
double pi);
61 INLINE
int get_num_surfaces()
const;
62 int count_tris(
double tri_factor = 1.0,
int attempts = 0);
65 void output(ostream &out)
const;
66 void write(ostream &out,
int indent_level)
const;
68 bool _auto_place, _auto_distribute;
69 double _curvature_ratio;
89 INLINE ostream &operator << (ostream &out,
const QtessInputEntry &entry);
91 #include "qtessInputEntry.I"
A reference to an EggNurbsSurface in the egg file, and its parameters as set by the user input file a...
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...
Type match(QtessSurface *surface)
Tests the surface to see if it matches any of the regular expressions that define this node entry...
static void output_extra(ostream &out, const pvector< double > &iso, char axis)
This function is used to identify the extra isoparams in the list added by user control.
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...