17 INLINE
const std::string &QtessSurface::
19 return _egg_surface->get_name();
27 return (_nurbs !=
nullptr);
36 _importance = sqrt(importance2);
37 _importance2 = importance2;
52 _match_u_to_u = match_u_to_u;
67 _match_v_to_v = match_v_to_v;
96 return _num_u * _num_v * _importance2;
105 return _tess_u * _tess_v * 2;
112 INLINE
int QtessSurface::
113 get_joint_membership_index(
EggGroup *joint) {
114 JointTable::iterator jti = _joint_table.find(joint);
115 if (jti != _joint_table.end()) {
116 return (*jti).second;
120 _joint_table[joint] = d;
128 INLINE
int QtessSurface::
129 get_dxyz_index(
const std::string &morph_name) {
130 MorphTable::iterator mti = _dxyz_table.find(morph_name);
131 if (mti != _dxyz_table.end()) {
132 return (*mti).second;
136 _dxyz_table[morph_name] = d;
144 INLINE
int QtessSurface::
145 get_drgba_index(
const std::string &morph_name) {
146 MorphTable::iterator mti = _drgba_table.find(morph_name);
147 if (mti != _drgba_table.end()) {
148 return (*mti).second;
152 _drgba_table[morph_name] = d;