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 This file provides some macros containing attribute usage.
ProgViewerWidget(QWidget *_parent=0)
default constructor
Definition: ProgViewerWidget.hh:102
This namespace holds per item attributes like normal/color.
Add storage for previous halfedge (halfedges). The bit is set by default in the DefaultTraits.
Definition: Attributes.hh:89
Kernel::VertexHandle VertexHandle
Handle for referencing the corresponding item.
Definition: PolyMeshT.hh:139
Definition: MeshViewerWidget.hh:80
#define HalfedgeAttributes(_i)
Macro for defining the halfedge attributes. See Specifying your MyMesh.
Definition: Traits.hh:87
Base class for all traits.
Definition: Traits.hh:126
Add status to mesh item (all items)
Definition: Attributes.hh:90
Polygonal mesh based on the ArrayKernel.
Definition: PolyMesh_ArrayKernelT.hh:98
#define VertexAttributes(_i)
Macro for defining the vertex attributes. See Specifying your MyMesh.
Definition: Traits.hh:84
Triangle mesh based on the ArrayKernel.
Definition: TriMesh_ArrayKernelT.hh:98
#define FaceAttributes(_i)
Macro for defining the face attributes. See Specifying your MyMesh.
Definition: Traits.hh:93
~ProgViewerWidget()
destructor
Definition: ProgViewerWidget.hh:111
Kernel::Point Point
Coordinate type.
Definition: PolyMeshT.hh:115
Add normals to mesh item (vertices/faces)
Definition: Attributes.hh:87
#define EdgeAttributes(_i)
Macro for defining the edge attributes. See Specifying your MyMesh.
Definition: Traits.hh:90
Contains all the mesh ingredients like the polygonal mesh, the triangle mesh, different mesh kernels ...
Definition: MeshItems.hh:64
Definition: ProgViewerWidget.hh:90