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
Add storage for previous halfedge (halfedges). The bit is set by default in the DefaultTraits.
~ProgViewerWidget()
destructor
Add normals to mesh item (vertices/faces)
#define HalfedgeAttributes(_i)
Macro for defining the halfedge attributes. See Specifying your MyMesh.
#define VertexAttributes(_i)
Macro for defining the vertex attributes. See Specifying your MyMesh.
Add status to mesh item (all items)
Kernel::VertexHandle VertexHandle
Handle for referencing the corresponding item.
#define FaceAttributes(_i)
Macro for defining the face attributes. See Specifying your MyMesh.
Kernel::Point Point
Coordinate type.
#define EdgeAttributes(_i)
Macro for defining the edge attributes. See Specifying your MyMesh.
ProgViewerWidget(QWidget *_parent=0)
default constructor