Developer Documentation
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< MeshSubdivider
 
typedef std::map< SOPType, Subdivider * > SubdividerPool
 

Public Member Functions

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

Public Attributes

QStatusBar * status_bar
 Updates Status Bar Information. More...
 

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

MeshViewerWidgetSubdividerviewer_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 67 of file SubdivideWidget.hh.

Member Typedef Documentation

◆ Subdivider

typedef OpenMesh::Subdivider::Uniform::SubdividerT< Mesh > SubdivideWidget::Subdivider

Definition at line 73 of file SubdivideWidget.hh.

◆ SubdividerPool

typedef std::map< SOPType, Subdivider* > SubdivideWidget::SubdividerPool

Definition at line 86 of file SubdivideWidget.hh.

Member Enumeration Documentation

◆ SOPType

enum SubdivideWidget::SOPType

Definition at line 75 of file SubdivideWidget.hh.

Constructor & Destructor Documentation

◆ SubdivideWidget()

SubdivideWidget::SubdivideWidget ( QWidget *  _parent = 0,
const char *  _name = 0 
)
explicit

constructor

Definition at line 87 of file SubdivideWidget.cc.

◆ ~SubdivideWidget()

SubdivideWidget::~SubdivideWidget ( )
inline

destructor

Definition at line 94 of file SubdivideWidget.hh.

Member Function Documentation

◆ animate_slot

void SubdivideWidget::animate_slot ( void  )
privateslot

Definition at line 414 of file SubdivideWidget.cc.

◆ keyPressEvent()

void SubdivideWidget::keyPressEvent ( QKeyEvent *  k)

Definition at line 223 of file SubdivideWidget.cc.

◆ load_slot

void SubdivideWidget::load_slot ( )
privateslot

Definition at line 382 of file SubdivideWidget.cc.

◆ open_mesh()

bool SubdivideWidget::open_mesh ( const char *  _filename)

open mesh from _filename

Definition at line 345 of file SubdivideWidget.cc.

◆ reset_slot

void SubdivideWidget::reset_slot ( )
privateslot

Definition at line 295 of file SubdivideWidget.cc.

◆ save_slot

void SubdivideWidget::save_slot ( )
privateslot

Definition at line 362 of file SubdivideWidget.cc.

◆ slot_select_sop

void SubdivideWidget::slot_select_sop ( int  i)
privateslot

Definition at line 205 of file SubdivideWidget.cc.

◆ subdiv_slot

void SubdivideWidget::subdiv_slot ( )
privateslot

Definition at line 313 of file SubdivideWidget.cc.

◆ update()

void SubdivideWidget::update ( )

Definition at line 271 of file SubdivideWidget.cc.

Member Data Documentation

◆ animate_step_

int SubdivideWidget::animate_step_
private

Definition at line 123 of file SubdivideWidget.hh.

◆ cur_topo_type

SOPType SubdivideWidget::cur_topo_type
private

Definition at line 129 of file SubdivideWidget.hh.

◆ max_animate_steps_

int SubdivideWidget::max_animate_steps_
private

Definition at line 124 of file SubdivideWidget.hh.

◆ msecs_

int SubdivideWidget::msecs_
private

Definition at line 125 of file SubdivideWidget.hh.

◆ sel_topo_type

SOPType SubdivideWidget::sel_topo_type
private

Definition at line 128 of file SubdivideWidget.hh.

◆ status_bar

QStatusBar* SubdivideWidget::status_bar

Updates Status Bar Information.

Definition at line 103 of file SubdivideWidget.hh.

◆ subdivider_

SubdividerPool SubdivideWidget::subdivider_
private

Definition at line 132 of file SubdivideWidget.hh.

◆ timer_

QTimer* SubdivideWidget::timer_
private

Definition at line 121 of file SubdivideWidget.hh.

◆ viewer_widget_

MeshViewerWidgetSubdivider* SubdivideWidget::viewer_widget_
private

Definition at line 119 of file SubdivideWidget.hh.


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