Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

CurvatureUI Class Reference

Controls the UI for curvature related GTextures. More...

List of all members.

Public Member Functions

 CurvatureUI (VIEWptr v)
 ~CurvatureUI ()
bool is_vis ()
bool show ()
bool hide ()
bool update ()

Static Public Member Functions

static void checkbox_cb (int id)
static void slider_cb (int id)
static void radiogroup_cb (int id)

Private Types

typedef map< rollout_ids_t,
GLUI_Rollout * > 
rollout_map_t
typedef map< checkbox_ids_t,
GLUI_Checkbox * > 
checkbox_map_t
typedef map< slider_ids_t,
GLUI_Slider * > 
slider_map_t
typedef map< radiogroup_ids_t,
GLUI_RadioGroup * > 
radiogroup_map_t
typedef map< radiobutton_ids_t,
GLUI_RadioButton * > 
radiobutton_map_t
enum  rollout_ids_t {
  ROLLOUT_LINE_DRAWING, ROLLOUT_CURVATURE_VIS, ROLLOUT_CURVATURE_GAUSSIAN_FILTER, ROLLOUT_CURVATURE_MEAN_FILTER,
  ROLLOUT_CURVATURE_RADIAL_FILTER
}
enum  checkbox_ids_t {
  CHECKBOX_DRAW_CONTOURS, CHECKBOX_DRAW_SUGCONTOURS, CHECKBOX_DRAW_COLOR, CHECKBOX_DRAW_GAUSSIAN_CURVATURE,
  CHECKBOX_DRAW_MEAN_CURVATURE, CHECKBOX_DRAW_RADIAL_CURVATURE
}
enum  slider_ids_t { SLIDER_SC_THRESH }
enum  radiogroup_ids_t { RADIOGROUP_GAUSSIAN_FILTER, RADIOGROUP_MEAN_FILTER, RADIOGROUP_RADIAL_FILTER }
enum  radiobutton_ids_t {
  RADIOBUTTON_GAUSSIAN_FILTER_NONE, RADIOBUTTON_GAUSSIAN_FILTER_GAUSSIAN, RADIOBUTTON_GAUSSIAN_FILTER_MEAN, RADIOBUTTON_GAUSSIAN_FILTER_RADIAL,
  RADIOBUTTON_MEAN_FILTER_NONE, RADIOBUTTON_MEAN_FILTER_GAUSSIAN, RADIOBUTTON_MEAN_FILTER_MEAN, RADIOBUTTON_MEAN_FILTER_RADIAL,
  RADIOBUTTON_RADIAL_FILTER_NONE, RADIOBUTTON_RADIAL_FILTER_GAUSSIAN, RADIOBUTTON_RADIAL_FILTER_MEAN, RADIOBUTTON_RADIAL_FILTER_RADIAL
}

Private Member Functions

void build ()
void destroy ()
 CurvatureUI (const CurvatureUI &)
CurvatureUIoperator= (const CurvatureUI &)

Private Attributes

VIEWptr view
GLUI * glui
rollout_map_t rollouts
checkbox_map_t checkboxes
slider_map_t sliders
radiogroup_map_t radiogroups
radiobutton_map_t radiobuttons


Detailed Description

Controls the UI for curvature related GTextures.

Definition at line 30 of file curvature_ui.C.


Member Typedef Documentation

typedef map<checkbox_ids_t, GLUI_Checkbox*> CurvatureUI::checkbox_map_t [private]
 

Definition at line 78 of file curvature_ui.C.

typedef map<radiobutton_ids_t, GLUI_RadioButton*> CurvatureUI::radiobutton_map_t [private]
 

Definition at line 112 of file curvature_ui.C.

typedef map<radiogroup_ids_t, GLUI_RadioGroup*> CurvatureUI::radiogroup_map_t [private]
 

Definition at line 94 of file curvature_ui.C.

typedef map<rollout_ids_t, GLUI_Rollout*> CurvatureUI::rollout_map_t [private]
 

Definition at line 66 of file curvature_ui.C.

typedef map<slider_ids_t, GLUI_Slider*> CurvatureUI::slider_map_t [private]
 

Definition at line 85 of file curvature_ui.C.


Member Enumeration Documentation

enum CurvatureUI::checkbox_ids_t [private]
 

Enumerator:
CHECKBOX_DRAW_CONTOURS 
CHECKBOX_DRAW_SUGCONTOURS 
CHECKBOX_DRAW_COLOR 
CHECKBOX_DRAW_GAUSSIAN_CURVATURE 
CHECKBOX_DRAW_MEAN_CURVATURE 
CHECKBOX_DRAW_RADIAL_CURVATURE 

Definition at line 69 of file curvature_ui.C.

enum CurvatureUI::radiobutton_ids_t [private]
 

Enumerator:
RADIOBUTTON_GAUSSIAN_FILTER_NONE 
RADIOBUTTON_GAUSSIAN_FILTER_GAUSSIAN 
RADIOBUTTON_GAUSSIAN_FILTER_MEAN 
RADIOBUTTON_GAUSSIAN_FILTER_RADIAL 
RADIOBUTTON_MEAN_FILTER_NONE 
RADIOBUTTON_MEAN_FILTER_GAUSSIAN 
RADIOBUTTON_MEAN_FILTER_MEAN 
RADIOBUTTON_MEAN_FILTER_RADIAL 
RADIOBUTTON_RADIAL_FILTER_NONE 
RADIOBUTTON_RADIAL_FILTER_GAUSSIAN 
RADIOBUTTON_RADIAL_FILTER_MEAN 
RADIOBUTTON_RADIAL_FILTER_RADIAL 

Definition at line 97 of file curvature_ui.C.

enum CurvatureUI::radiogroup_ids_t [private]
 

Enumerator:
RADIOGROUP_GAUSSIAN_FILTER 
RADIOGROUP_MEAN_FILTER 
RADIOGROUP_RADIAL_FILTER 

Definition at line 88 of file curvature_ui.C.

enum CurvatureUI::rollout_ids_t [private]
 

Enumerator:
ROLLOUT_LINE_DRAWING 
ROLLOUT_CURVATURE_VIS 
ROLLOUT_CURVATURE_GAUSSIAN_FILTER 
ROLLOUT_CURVATURE_MEAN_FILTER 
ROLLOUT_CURVATURE_RADIAL_FILTER 

Definition at line 58 of file curvature_ui.C.

enum CurvatureUI::slider_ids_t [private]
 

Enumerator:
SLIDER_SC_THRESH 

Definition at line 81 of file curvature_ui.C.


Constructor & Destructor Documentation

CurvatureUI::CurvatureUI VIEWptr  v  ) 
 

Definition at line 281 of file curvature_ui.C.

CurvatureUI::~CurvatureUI  ) 
 

Definition at line 287 of file curvature_ui.C.

References destroy(), and glui.

CurvatureUI::CurvatureUI const CurvatureUI  )  [private]
 


Member Function Documentation

void CurvatureUI::build  )  [private]
 

Definition at line 562 of file curvature_ui.C.

References checkbox_cb(), CHECKBOX_DRAW_COLOR, CHECKBOX_DRAW_CONTOURS, CHECKBOX_DRAW_GAUSSIAN_CURVATURE, CHECKBOX_DRAW_MEAN_CURVATURE, CHECKBOX_DRAW_RADIAL_CURVATURE, CHECKBOX_DRAW_SUGCONTOURS, checkboxes, glui, CurvatureUISingleton::Instance(), RADIOBUTTON_GAUSSIAN_FILTER_GAUSSIAN, RADIOBUTTON_GAUSSIAN_FILTER_MEAN, RADIOBUTTON_GAUSSIAN_FILTER_NONE, RADIOBUTTON_GAUSSIAN_FILTER_RADIAL, RADIOBUTTON_MEAN_FILTER_GAUSSIAN, RADIOBUTTON_MEAN_FILTER_MEAN, RADIOBUTTON_MEAN_FILTER_NONE, RADIOBUTTON_MEAN_FILTER_RADIAL, RADIOBUTTON_RADIAL_FILTER_GAUSSIAN, RADIOBUTTON_RADIAL_FILTER_MEAN, RADIOBUTTON_RADIAL_FILTER_NONE, RADIOBUTTON_RADIAL_FILTER_RADIAL, radiobuttons, radiogroup_cb(), RADIOGROUP_GAUSSIAN_FILTER, RADIOGROUP_MEAN_FILTER, RADIOGROUP_RADIAL_FILTER, radiogroups, ROLLOUT_CURVATURE_GAUSSIAN_FILTER, ROLLOUT_CURVATURE_MEAN_FILTER, ROLLOUT_CURVATURE_RADIAL_FILTER, ROLLOUT_CURVATURE_VIS, ROLLOUT_LINE_DRAWING, rollouts, slider_cb(), SLIDER_SC_THRESH, sliders, and view.

Referenced by show().

void CurvatureUI::checkbox_cb int  id  )  [static]
 

Definition at line 386 of file curvature_ui.C.

References CHECKBOX_DRAW_COLOR, CHECKBOX_DRAW_CONTOURS, CHECKBOX_DRAW_GAUSSIAN_CURVATURE, CHECKBOX_DRAW_MEAN_CURVATURE, CHECKBOX_DRAW_RADIAL_CURVATURE, CHECKBOX_DRAW_SUGCONTOURS, checkboxes, CurvatureUISingleton::fetch(), CurvatureUISingleton::Instance(), VIEW::peek(), LineDrawingTexture::set_draw_contours(), CurvatureTexture::set_draw_gaussian_curv(), LineDrawingTexture::set_draw_in_color(), CurvatureTexture::set_draw_mean_curv(), CurvatureTexture::set_draw_radial_curv(), and LineDrawingTexture::set_draw_sugcontours().

Referenced by build().

void CurvatureUI::destroy  )  [private]
 

Definition at line 687 of file curvature_ui.C.

References checkboxes, glui, rollouts, and sliders.

Referenced by hide(), and ~CurvatureUI().

bool CurvatureUI::hide  ) 
 

Definition at line 340 of file curvature_ui.C.

References destroy(), and glui.

Referenced by CurvatureUISingleton::hide().

bool CurvatureUI::is_vis  ) 
 

Definition at line 295 of file curvature_ui.C.

References glui.

Referenced by CurvatureUISingleton::is_vis().

CurvatureUI& CurvatureUI::operator= const CurvatureUI  )  [private]
 

void CurvatureUI::radiogroup_cb int  id  )  [static]
 

Definition at line 479 of file curvature_ui.C.

References CurvatureUISingleton::fetch(), CurvatureTexture::FILTER_GAUSSIAN, CurvatureTexture::FILTER_MEAN, CurvatureTexture::FILTER_NONE, CurvatureTexture::FILTER_RADIAL, CurvatureUISingleton::Instance(), VIEW::peek(), RADIOGROUP_GAUSSIAN_FILTER, RADIOGROUP_MEAN_FILTER, RADIOGROUP_RADIAL_FILTER, radiogroups, CurvatureTexture::set_gaussian_filter(), CurvatureTexture::set_mean_filter(), and CurvatureTexture::set_radial_filter().

Referenced by build().

bool CurvatureUI::show  ) 
 

Definition at line 303 of file curvature_ui.C.

References build(), and glui.

Referenced by CurvatureUISingleton::show().

void CurvatureUI::slider_cb int  id  )  [static]
 

Definition at line 447 of file curvature_ui.C.

References CurvatureUISingleton::fetch(), CurvatureUISingleton::Instance(), VIEW::peek(), CurvatureTexture::set_sugcontour_thresh(), LineDrawingTexture::set_sugcontour_thresh(), SLIDER_SC_THRESH, and sliders.

Referenced by build().

bool CurvatureUI::update  ) 
 

Definition at line 363 of file curvature_ui.C.

References glui.

Referenced by CurvatureUISingleton::update().


Member Data Documentation

checkbox_map_t CurvatureUI::checkboxes [private]
 

Definition at line 79 of file curvature_ui.C.

Referenced by build(), checkbox_cb(), and destroy().

GLUI* CurvatureUI::glui [private]
 

Definition at line 56 of file curvature_ui.C.

Referenced by build(), destroy(), hide(), is_vis(), show(), update(), and ~CurvatureUI().

radiobutton_map_t CurvatureUI::radiobuttons [private]
 

Definition at line 113 of file curvature_ui.C.

Referenced by build().

radiogroup_map_t CurvatureUI::radiogroups [private]
 

Definition at line 95 of file curvature_ui.C.

Referenced by build(), and radiogroup_cb().

rollout_map_t CurvatureUI::rollouts [private]
 

Definition at line 67 of file curvature_ui.C.

Referenced by build(), and destroy().

slider_map_t CurvatureUI::sliders [private]
 

Definition at line 86 of file curvature_ui.C.

Referenced by build(), destroy(), and slider_cb().

VIEWptr CurvatureUI::view [private]
 

Definition at line 54 of file curvature_ui.C.

Referenced by build().


The documentation for this class was generated from the following file:
Generated on Mon Sep 18 11:45:01 2006 for jot by  doxygen 1.4.4