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,
83 typedef std::map< SOPType, Subdivider* > SubdividerPool;
97 void keyPressEvent( QKeyEvent *k );
106 void animate_slot(
void);
107 void slot_select_sop(
int i);
121 int max_animate_steps_;
125 SOPType sel_topo_type;
126 SOPType cur_topo_type;
129 SubdividerPool subdivider_;
135 #endif // SUBDIVIDEWIDGET_HH defined