 |
OpenMesh
|
45 #ifndef OPENMESHAPPS_PROGVIEWERWIDGET_HH
46 #define OPENMESHAPPS_PROGVIEWERWIDGET_HH
52 #include <OpenMesh/Apps/QtViewer/MeshViewerWidgetT.hh>
53 #include <OpenMesh/Core/Mesh/TriMesh_ArrayKernelT.hh>
100 timer_ =
new QTimer(
this);
102 connect( timer_, SIGNAL(timeout()), SLOT(animate()) );
112 void open_prog_mesh(
const char* _filename);
116 void animate(
void );
127 typedef std::vector<PMInfo> PMInfoContainer;
128 typedef PMInfoContainer::iterator PMInfoIter;
131 void refine(
unsigned int _n);
134 void coarsen(
unsigned int _n);
136 virtual void keyPressEvent(QKeyEvent* _event);
139 bool animateRefinement_;
140 PMInfoContainer pminfos_;
142 size_t n_base_vertices_, n_base_faces_, n_detail_vertices_;
143 size_t n_max_vertices_;
148 #endif // OPENMESHAPPS_PROGVIEWERWIDGET_HH defined
Definition: PolyMesh_ArrayKernelT.hh:94
Definition: PolyMesh_ArrayKernelT.hh:73
#define EdgeAttributes(_i)
Macro for defining the edge attributes. See Specifying your MyMesh.
Definition: Traits.hh:85
Definition: Traits.hh:121
Kernel::VertexHandle VertexHandle
Handle for referencing the corresponding item.
Definition: PolyMeshT.hh:136
Definition: MeshViewerWidget.hh:75
Kernel::Point Point
Coordinate type.
Definition: PolyMeshT.hh:112
#define HalfedgeAttributes(_i)
Macro for defining the halfedge attributes. See Specifying your MyMesh.
Definition: Traits.hh:82
#define VertexAttributes(_i)
Macro for defining the vertex attributes. See Specifying your MyMesh.
Definition: Traits.hh:79
~ProgViewerWidget()
destructor
Definition: ProgViewerWidget.hh:106
Add storage for previous halfedge (halfedges). The bit is set by default in the DefaultTraits.
Definition: Attributes.hh:84
Add normals to mesh item (vertices/faces)
Definition: Attributes.hh:82
Add status to mesh item (all items)
Definition: Attributes.hh:85
ProgViewerWidget(QWidget *_parent=0)
default constructor
Definition: ProgViewerWidget.hh:97
#define FaceAttributes(_i)
Macro for defining the face attributes. See Specifying your MyMesh.
Definition: Traits.hh:88
This file contains all code required to use Eigen3 vectors as Mesh vectors.
Definition: MeshItems.hh:59
Definition: ProgViewerWidget.hh:85
Project OpenMesh,
© Computer Graphics Group, RWTH Aachen.
Documentation generated using
doxygen
.