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

CurvatureUISingleton Class Reference

Singleton class that provides a single, global access point for all CurvatureUI's. More...

#include <curvature_ui.H>

List of all members.

Public Member Functions

bool is_vis (CVIEWptr &v)
 Is the CurvatureUI for the given VIEW visible?
bool show (CVIEWptr &v)
 Show the CurvatureUI for the given VIEW if it is not already shown.
bool hide (CVIEWptr &v)
 Hide the CurvatureUI for the given VIEW if it is currently shown.
bool update (CVIEWptr &v)
 Update the CurvatureUI for the given VIEW.
float sc_thresh ()
bool line_drawing_draw_contours ()
bool line_drawing_draw_sugcontours ()
bool line_drawing_draw_color ()
bool curvature_draw_gaussian_curv ()
int curvature_gaussian_filter ()
bool curvature_draw_mean_curv ()
int curvature_mean_filter ()
bool curvature_draw_radial_curv ()
int curvature_radial_filter ()

Static Public Member Functions

static CurvatureUISingletonInstance ()
 Get the instance of the singleton.

Private Types

typedef std::map< VIEWimpl *,
CurvatureUI * > 
view2ui_map_t

Private Member Functions

CurvatureUIfetch (CVIEWptr &v)
 Get the CurvatureUI for the given VIEW.
 CurvatureUISingleton ()
 CurvatureUISingleton (const CurvatureUISingleton &)
 ~CurvatureUISingleton ()
CurvatureUISingletonoperator= (const CurvatureUISingleton &)

Private Attributes

float _sc_thresh
int _line_drawing_draw_contours
int _line_drawing_draw_sugcontours
int _line_drawing_draw_color
int _curvature_draw_gaussian_curv
int _curvature_draw_mean_curv
int _curvature_draw_radial_curv
int _curvature_gaussian_filter
int _curvature_mean_filter
int _curvature_radial_filter
view2ui_map_t view2ui_map

Friends

class CurvatureUI


Detailed Description

Singleton class that provides a single, global access point for all CurvatureUI's.

Definition at line 26 of file curvature_ui.H.


Member Typedef Documentation

typedef std::map<VIEWimpl*, CurvatureUI*> CurvatureUISingleton::view2ui_map_t [private]
 

Definition at line 84 of file curvature_ui.H.


Constructor & Destructor Documentation

CurvatureUISingleton::CurvatureUISingleton  )  [private]
 

Definition at line 122 of file curvature_ui.C.

CurvatureUISingleton::CurvatureUISingleton const CurvatureUISingleton  )  [private]
 

CurvatureUISingleton::~CurvatureUISingleton  )  [private]
 

Definition at line 137 of file curvature_ui.C.

References view2ui_map.


Member Function Documentation

bool CurvatureUISingleton::curvature_draw_gaussian_curv  )  [inline]
 

Definition at line 55 of file curvature_ui.H.

References _curvature_draw_gaussian_curv.

bool CurvatureUISingleton::curvature_draw_mean_curv  )  [inline]
 

Definition at line 59 of file curvature_ui.H.

References _curvature_draw_mean_curv.

bool CurvatureUISingleton::curvature_draw_radial_curv  )  [inline]
 

Definition at line 63 of file curvature_ui.H.

References _curvature_draw_radial_curv.

int CurvatureUISingleton::curvature_gaussian_filter  )  [inline]
 

Definition at line 57 of file curvature_ui.H.

References _curvature_gaussian_filter.

int CurvatureUISingleton::curvature_mean_filter  )  [inline]
 

Definition at line 61 of file curvature_ui.H.

References _curvature_mean_filter.

int CurvatureUISingleton::curvature_radial_filter  )  [inline]
 

Definition at line 65 of file curvature_ui.H.

References _curvature_radial_filter.

CurvatureUI * CurvatureUISingleton::fetch CVIEWptr &  v  )  [private]
 

Get the CurvatureUI for the given VIEW.

Definition at line 249 of file curvature_ui.C.

References CurvatureUI, err_msg(), and view2ui_map.

Referenced by CurvatureUI::checkbox_cb(), hide(), is_vis(), CurvatureUI::radiogroup_cb(), show(), CurvatureUI::slider_cb(), and update().

bool CurvatureUISingleton::hide CVIEWptr &  v  ) 
 

Hide the CurvatureUI for the given VIEW if it is currently shown.

Definition at line 195 of file curvature_ui.C.

References err_msg(), fetch(), and CurvatureUI::hide().

Referenced by toggle_curvature_ui().

CurvatureUISingleton & CurvatureUISingleton::Instance  )  [inline, static]
 

Get the instance of the singleton.

Definition at line 99 of file curvature_ui.H.

Referenced by CurvatureUI::build(), CurvatureUI::checkbox_cb(), CurvatureUI::radiogroup_cb(), CurvatureUI::slider_cb(), and toggle_curvature_ui().

bool CurvatureUISingleton::is_vis CVIEWptr &  v  ) 
 

Is the CurvatureUI for the given VIEW visible?

Definition at line 151 of file curvature_ui.C.

References err_msg(), fetch(), and CurvatureUI::is_vis().

Referenced by toggle_curvature_ui().

bool CurvatureUISingleton::line_drawing_draw_color  )  [inline]
 

Definition at line 52 of file curvature_ui.H.

References _line_drawing_draw_color.

bool CurvatureUISingleton::line_drawing_draw_contours  )  [inline]
 

Definition at line 48 of file curvature_ui.H.

References _line_drawing_draw_contours.

bool CurvatureUISingleton::line_drawing_draw_sugcontours  )  [inline]
 

Definition at line 50 of file curvature_ui.H.

References _line_drawing_draw_sugcontours.

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

float CurvatureUISingleton::sc_thresh  )  [inline]
 

Definition at line 45 of file curvature_ui.H.

References _sc_thresh.

bool CurvatureUISingleton::show CVIEWptr &  v  ) 
 

Show the CurvatureUI for the given VIEW if it is not already shown.

Definition at line 168 of file curvature_ui.C.

References err_msg(), fetch(), and CurvatureUI::show().

Referenced by toggle_curvature_ui().

bool CurvatureUISingleton::update CVIEWptr &  v  ) 
 

Update the CurvatureUI for the given VIEW.

Definition at line 222 of file curvature_ui.C.

References err_msg(), fetch(), and CurvatureUI::update().


Friends And Related Function Documentation

friend class CurvatureUI [friend]
 

Definition at line 94 of file curvature_ui.H.

Referenced by fetch().


Member Data Documentation

int CurvatureUISingleton::_curvature_draw_gaussian_curv [private]
 

Definition at line 74 of file curvature_ui.H.

Referenced by curvature_draw_gaussian_curv().

int CurvatureUISingleton::_curvature_draw_mean_curv [private]
 

Definition at line 75 of file curvature_ui.H.

Referenced by curvature_draw_mean_curv().

int CurvatureUISingleton::_curvature_draw_radial_curv [private]
 

Definition at line 76 of file curvature_ui.H.

Referenced by curvature_draw_radial_curv().

int CurvatureUISingleton::_curvature_gaussian_filter [private]
 

Definition at line 77 of file curvature_ui.H.

Referenced by curvature_gaussian_filter().

int CurvatureUISingleton::_curvature_mean_filter [private]
 

Definition at line 78 of file curvature_ui.H.

Referenced by curvature_mean_filter().

int CurvatureUISingleton::_curvature_radial_filter [private]
 

Definition at line 79 of file curvature_ui.H.

Referenced by curvature_radial_filter().

int CurvatureUISingleton::_line_drawing_draw_color [private]
 

Definition at line 73 of file curvature_ui.H.

Referenced by line_drawing_draw_color().

int CurvatureUISingleton::_line_drawing_draw_contours [private]
 

Definition at line 71 of file curvature_ui.H.

Referenced by line_drawing_draw_contours().

int CurvatureUISingleton::_line_drawing_draw_sugcontours [private]
 

Definition at line 72 of file curvature_ui.H.

Referenced by line_drawing_draw_sugcontours().

float CurvatureUISingleton::_sc_thresh [private]
 

Definition at line 70 of file curvature_ui.H.

Referenced by sc_thresh().

view2ui_map_t CurvatureUISingleton::view2ui_map [private]
 

Definition at line 85 of file curvature_ui.H.

Referenced by fetch(), and ~CurvatureUISingleton().


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