Developer Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
SubdivideWidget Class Reference
Inheritance diagram for SubdivideWidget:

Public Types

enum  SOPType {
  SOP_UniformCompositeLoop, SOP_UniformCompositeSqrt3, SOP_UniformLoop, SOP_UniformSqrt3,
  SOP_UniformInterpolatingSqrt3, SOP_ModifiedButterfly, SOP_CatmullClark, SOP_Undefined
}
 
typedef
OpenMesh::Subdivider::Uniform::SubdividerT
< Mesh
Subdivider
 
typedef std::map< SOPType,
Subdivider * > 
SubdividerPool
 

Public Member Functions

 SubdivideWidget (QWidget *_parent=0, const char *_name=0)
 constructor
 
 ~SubdivideWidget ()
 destructor
 
bool open_mesh (const char *_filename)
 open mesh from _filename
 
void keyPressEvent (QKeyEvent *k)
 
void update ()
 

Public Attributes

QStatusBar * status_bar
 Updates Status Bar Information.
 

Private Slots

void animate_slot (void)
 
void slot_select_sop (int i)
 
void subdiv_slot ()
 
void reset_slot ()
 
void save_slot ()
 
void load_slot ()
 

Private Attributes

MeshViewerWidgetviewer_widget_
 
QTimer * timer_
 
int animate_step_
 
int max_animate_steps_
 
int msecs_
 
SOPType sel_topo_type
 
SOPType cur_topo_type
 
SubdividerPool subdivider_
 

Detailed Description

Definition at line 72 of file SubdivideWidget.hh.


The documentation for this class was generated from the following files: