50 #ifndef OPENMESHAPPS_PROGVIEWERWIDGET_HH
51 #define OPENMESHAPPS_PROGVIEWERWIDGET_HH
57 #include <OpenMesh/Apps/QtViewer/MeshViewerWidgetT.hh>
58 #include <OpenMesh/Core/Mesh/TriMesh_ArrayKernelT.hh>
105 timer_ =
new QTimer(
this);
107 connect( timer_, SIGNAL(timeout()), SLOT(animate()) );
117 void open_prog_mesh(
const char* _filename);
121 void animate(
void );
132 typedef std::vector<PMInfo> PMInfoContainer;
133 typedef PMInfoContainer::iterator PMInfoIter;
136 void refine(
unsigned int _n);
139 void coarsen(
unsigned int _n);
141 virtual void keyPressEvent(QKeyEvent* _event);
144 bool animateRefinement_;
145 PMInfoContainer pminfos_;
147 size_t n_base_vertices_, n_base_faces_, n_detail_vertices_;
148 size_t n_max_vertices_;
153 #endif // OPENMESHAPPS_PROGVIEWERWIDGET_HH defined
~ProgViewerWidget()
destructor
Kernel::Point Point
Coordinate type.
#define FaceAttributes(_i)
Macro for defining the face attributes. See Specifying your MyMesh.
#define EdgeAttributes(_i)
Macro for defining the edge attributes. See Specifying your MyMesh.
ProgViewerWidget(QWidget *_parent=0)
default constructor
Add storage for previous halfedge (halfedges). The bit is set by default in the DefaultTraits.
Kernel::VertexHandle VertexHandle
Handle for referencing the corresponding item.
Add normals to mesh item (vertices/faces)
Add status to mesh item (all items)
#define VertexAttributes(_i)
Macro for defining the vertex attributes. See Specifying your MyMesh.
#define HalfedgeAttributes(_i)
Macro for defining the halfedge attributes. See Specifying your MyMesh.