14 #ifndef EGGMESHERSTRIP_H 15 #define EGGMESHERSTRIP_H 60 int &num_prims,
int &num_rows,
61 int first_row_id,
int this_row_id,
62 int this_row_distance);
63 void cut_sheet(
int first_row_id,
int do_mate,
74 bool will_reverse_back, PrimType type);
78 int count_neighbors()
const;
79 void output_neighbors(std::ostream &out)
const;
81 INLINE
bool is_coplanar_with(
const EggMesherStrip &other, PN_stdfloat threshold)
const;
83 INLINE
int type_category()
const;
90 INLINE
void rotate_forward();
91 INLINE
void rotate_back();
94 bool can_invert()
const;
101 bool would_reverse_tail(PrimType want_type)
const;
102 void convert_to_type(PrimType want_type);
105 void remove_all_edges();
118 void output(std::ostream &out)
const;
137 MesherStatus _status;
140 LNormald _plane_normal;
141 PN_stdfloat _plane_offset;
142 int _row_id, _row_distance;
143 MesherOrigin _origin;
147 INLINE std::ostream &
A base class for any of a number of kinds of geometry primitives: polygons, point lights...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void output(std::ostream &out) const
Formats the vertex for output in some sensible way.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Represents one edge of a triangle, as used by the EggMesher to discover connected triangles...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Represents a triangle strip or quad strip in progress, as assembled by the mesher.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A collection of vertices.