48 #ifndef SUBDIVIDEWIDGET_HH
49 #define SUBDIVIDEWIDGET_HH
55 #include <QMainWindow>
57 #include <OpenMesh/Apps/Subdivider/MeshViewerWidget.hh>
71 typedef OpenMesh::Subdivider::Uniform::SubdividerT< Mesh > Subdivider;
74 SOP_UniformCompositeLoop,
75 SOP_UniformCompositeSqrt3,
78 SOP_UniformInterpolatingSqrt3,
79 SOP_ModifiedButterfly,
84 typedef std::map< SOPType, Subdivider* > SubdividerPool;
98 void keyPressEvent( QKeyEvent *k );
107 void animate_slot(
void);
108 void slot_select_sop(
int i);
122 int max_animate_steps_;
126 SOPType sel_topo_type;
127 SOPType cur_topo_type;
130 SubdividerPool subdivider_;
136 #endif // SUBDIVIDEWIDGET_HH defined