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

TestSPSapp Class Reference

#include <test_app.H>

Inheritance diagram for TestSPSapp:

Inheritance graph
[legend]
Collaboration diagram for TestSPSapp:

Collaboration graph
[legend]
List of all members.

Render Mode Menu Related Functions

bool menu_is_shown ()
void show_menu ()
void hide_menu ()
void toggle_menu ()
static void activate_button (Cstr_ptr &file)
static void update_button (Cstr_ptr &file)
static void toggle_button (Cstr_ptr &file)
static void deactivate_button ()

Public Member Functions

 TestSPSapp (int argc, char **argv)
 ~TestSPSapp ()
virtual void init ()
virtual void Run ()
EaselManager Related Functions
EaselManagereasels ()
PenManager Related Functions
Pencur_pen ()
void next_pen ()
void prev_pen ()
EaselManager Related Functions
EaselManagereasels ()
PenManager Related Functions
Pencur_pen ()
void next_pen ()
void prev_pen ()
EaselManager Related Functions
EaselManagereasels ()
PenManager Related Functions
Pencur_pen ()
void next_pen ()
void prev_pen ()

Static Public Member Functions

static int toggle_sample_cb (const Event &, State *&)
static int toggle_grid_cb (const Event &, State *&)
static BaseJOTappinstance ()
static WINDOW * window (int i=0)
static void Clean_On_Exit ()
KeyMenu Callback Functions
static int cam_switch (const Event &, State *&)
 Callback to switch cam mode.
static int button_toggle (const Event &, State *&)
 Callback to toggle camera buttons.
static int keymenu_help_cb (const Event &, State *&)
 Callback to display KeyMenu help menu.
static int keymenu_quit_cb (const Event &, State *&)
 Callback to quit application.
static int show_menu_cb (const Event &, State *&)
 Callback to toggle showing render style menu.
static int viewall (const Event &, State *&)
 Callback to reset camera to fit whole scene in view:.
KeyMenu Callback Functions
static int cam_switch (const Event &, State *&)
 Callback to switch cam mode.
static int button_toggle (const Event &, State *&)
 Callback to toggle camera buttons.
static int keymenu_help_cb (const Event &, State *&)
 Callback to display KeyMenu help menu.
static int keymenu_quit_cb (const Event &, State *&)
 Callback to quit application.
static int show_menu_cb (const Event &, State *&)
 Callback to toggle showing render style menu.
static int viewall (const Event &, State *&)
 Callback to reset camera to fit whole scene in view:.
KeyMenu Callback Functions
static int cam_switch (const Event &, State *&)
 Callback to switch cam mode.
static int button_toggle (const Event &, State *&)
 Callback to toggle camera buttons.
static int keymenu_help_cb (const Event &, State *&)
 Callback to display KeyMenu help menu.
static int keymenu_quit_cb (const Event &, State *&)
 Callback to quit application.
static int show_menu_cb (const Event &, State *&)
 Callback to toggle showing render style menu.
static int viewall (const Event &, State *&)
 Callback to reset camera to fit whole scene in view:.

Protected Member Functions

virtual void load_scene ()
virtual void init_kbd (WINDOW &base_window)
void create_grid (Wtransf ff)
void visit (OctreeNode *node)
Utility Functions for Subclasses
void pop_arg ()
Creation functions to be overriden by subclasses
virtual WINDOW * new_window (WINSYS *win)
virtual VIEWptr new_view (WINSYS *win)
FD_TIMEOUT Methods
virtual void timeout ()
MAPPED_CB Methods
virtual void mapped ()
virtual void icon ()
Utility Functions for Subclasses
void pop_arg ()
Creation functions to be overriden by subclasses
virtual VIEWptr new_view (WINSYS *win)
FD_TIMEOUT Methods
virtual void timeout ()
MAPPED_CB Methods
virtual void mapped ()
virtual void icon ()
Utility Functions for Subclasses
void pop_arg ()
Creation functions to be overriden by subclasses
virtual WINDOW * new_window (WINSYS *win)
virtual VIEWptr new_view (WINSYS *win)
Hooks to be overriden/extended by subclasses
virtual void clean_on_exit ()
virtual void print_usage () const
virtual void init_top ()
virtual void init_world ()
virtual void init_view (WINDOW &window)
virtual void init_camera (CVIEWptr &v)
virtual void init_buttons (CVIEWptr &v)
virtual void init_scene ()
virtual bool load_jot_file (Cstr_ptr &file)
virtual bool load_sm_file (Cstr_ptr &file)
virtual bool load_obj_file (Cstr_ptr &file)
virtual BMESHnew_mesh () const
virtual GEOMnew_geom (BMESH *mesh, Cstr_ptr &name) const
bool create_mesh (BMESH *mesh, Cstr_ptr &file) const
virtual void init_win_cb (WINDOW &win)
virtual void init_dev_cb (WINDOW &win)
virtual void init_interact_cb (WINDOW &win)
virtual void init_menu (WINDOW &win)
virtual void init_kbd (WINDOW &win)
virtual void init_kbd_nav (WINDOW &win)
virtual void init_pens (WINDOW &win)
virtual void init_cam_manip (WINDOW &win)
virtual void init_obj_manip (WINDOW &)
virtual void init_fsa ()
FD_TIMEOUT Methods
virtual void timeout ()
MAPPED_CB Methods
virtual void mapped ()
virtual void icon ()

Protected Attributes

ARRAY< Bvert_list_pts
LIST< GEOMptr > _balls
LIST< GEOMptr > _boxes
ARRAY< OctreeNode * > _nodes
bool _show_sample
bool _show_grid
str_ptr _prog_name
char ** _argv
int _argc
int _wins_to_map
EaselManager _easel_manager
PenManager_pen_manager
KeyMenu_key_menu
WORLDptr _world
ARRAY< FD_EVENT * > _events
ARRAY< ICON2D * > _buttons

Static Protected Attributes

static TestSPSapp_instance = 0
static ARRAY< WINDOW * > _windows = 0

Detailed Description

Definition at line 5 of file test_app.H.


Constructor & Destructor Documentation

TestSPSapp::TestSPSapp int  argc,
char **  argv
[inline]
 

Definition at line 9 of file test_app.H.

References _instance, _show_grid, and _show_sample.

TestSPSapp::~TestSPSapp  )  [inline]
 

Definition at line 17 of file test_app.H.

References _balls, _boxes, _nodes, _pts, and ARRAY< T >::clear().


Member Function Documentation

void BaseJOTapp::activate_button Cstr_ptr &  file  )  [static, inherited]
 

Definition at line 536 of file base_jotapp.C.

References BaseJOTapp::_buttons, BaseJOTapp::instance(), and ARRAY< T >::num().

Referenced by Cam_int_fp::down2(), and Cam_int_edit::down2().

int BaseJOTapp::button_toggle const Event ,
State *& 
[static, inherited]
 

Callback to toggle camera buttons.

Definition at line 968 of file base_jotapp.C.

References BaseJOTapp::_buttons, BaseJOTapp::instance(), and ARRAY< T >::num().

Referenced by BaseJOTapp::init_kbd(), Cam_int_fp::toggle_buttons(), and Cam_int_edit::toggle_buttons().

int BaseJOTapp::cam_switch const Event ,
State *& 
[static, inherited]
 

Callback to switch cam mode.

Definition at line 914 of file base_jotapp.C.

References BaseJOTapp::_buttons, BaseJOTapp::WINDOW::_cam1, BaseJOTapp::WINDOW::_cam2, BaseJOTapp::WINDOW::_cam3, BaseJOTapp::WINDOW::_start, BaseJOTapp::cam_num, Interactor< T, EVENT, STATE >::entry(), BaseJOTapp::instance(), ARRAY< T >::num(), and BaseJOTapp::window().

Referenced by Cam_int::down2(), Cam_int_fp::down2(), and Cam_int_edit::down2().

void BaseJOTapp::clean_on_exit  )  [protected, virtual, inherited]
 

Definition at line 78 of file base_jotapp.C.

References BaseJOTapp::_events, ARRAY< T >::empty(), Config::get_var_bool(), and ARRAY< T >::pop().

Referenced by BaseJOTapp::Clean_On_Exit().

static void BaseJOTapp::Clean_On_Exit  )  [inline, static, inherited]
 

Definition at line 84 of file base_jotapp.H.

References BaseJOTapp::_instance, and BaseJOTapp::clean_on_exit().

Referenced by BaseJOTapp::BaseJOTapp().

void TestSPSapp::create_grid Wtransf  ff  )  [protected]
 

Definition at line 93 of file test_app.C.

References _boxes, CONSTRAINT, ARRAY< T >::last(), NETWORK, GEOM::SCREEN_WIDGET, hashenum< T >::set(), and hashvar< T >::set().

Referenced by visit().

bool BaseJOTapp::create_mesh BMESH mesh,
Cstr_ptr &  file
const [protected, inherited]
 

Definition at line 449 of file base_jotapp.C.

References BMESH::empty(), Config::get_var_bool(), BaseJOTapp::new_geom(), BMESH::recenter(), and BMESH::set_center_of_interest().

Referenced by BaseJOTapp::load_obj_file(), and BaseJOTapp::load_sm_file().

Pen* BaseJOTapp::cur_pen  )  [inline, inherited]
 

Definition at line 110 of file base_jotapp.H.

References BaseJOTapp::_pen_manager, and PenManager::cur_pen().

void BaseJOTapp::deactivate_button  )  [static, inherited]
 

Definition at line 562 of file base_jotapp.C.

References BaseJOTapp::_buttons, BaseJOTapp::instance(), and ARRAY< T >::num().

Referenced by Cam_int_fp::down2(), and Cam_int_edit::down2().

EaselManager& BaseJOTapp::easels  )  [inline, inherited]
 

Definition at line 103 of file base_jotapp.H.

References BaseJOTapp::_easel_manager.

void BaseJOTapp::hide_menu  )  [inherited]
 

Note:
To support multiple windows, this code may need to be modified to determine which window's menu to work with.

Definition at line 889 of file base_jotapp.C.

References BaseJOTapp::WINDOW::_menu, MoveMenu::hide(), and BaseJOTapp::window().

Referenced by BaseJOTapp::toggle_menu().

void BaseJOTapp::icon  )  [protected, virtual, inherited]
 

Implements MAPPED_CB.

Definition at line 844 of file base_jotapp.C.

References FD_MANAGER::mgr(), and FD_MANAGER::rem_timeout().

void BaseJOTapp::init  )  [virtual, inherited]
 

Reimplemented in SMVIEWapp.

Definition at line 92 of file base_jotapp.C.

References BaseJOTapp::_windows, Config::get_var_bool(), BaseJOTapp::init_buttons(), BaseJOTapp::init_camera(), BaseJOTapp::init_dev_cb(), BaseJOTapp::init_fsa(), BaseJOTapp::init_interact_cb(), BaseJOTapp::init_scene(), BaseJOTapp::init_top(), BaseJOTapp::init_view(), BaseJOTapp::init_win_cb(), BaseJOTapp::init_world(), j, BaseJOTapp::load_scene(), ARRAY< T >::num(), VIEW::push(), IDRefImage::setup_bits(), the_time(), and VIEWS.

Referenced by SMVIEWapp::init(), and main().

void BaseJOTapp::init_buttons CVIEWptr &  v  )  [protected, virtual, inherited]
 

Definition at line 235 of file base_jotapp.C.

References BaseJOTapp::_buttons, NETWORK, ARRAY< T >::push(), and hashvar< T >::set().

Referenced by BaseJOTapp::init().

void BaseJOTapp::init_cam_manip WINDOW win  )  [protected, virtual, inherited]
 

Definition at line 677 of file base_jotapp.C.

References BaseJOTapp::WINDOW::_cam1, BaseJOTapp::WINDOW::_cam2, BaseJOTapp::WINDOW::_cam3, BaseJOTapp::WINDOW::_mouse_map, BaseJOTapp::WINDOW::_start, BaseJOTapp::WINDOW::_view, Evd::ANY, ButtonMapper::b1d(), ButtonMapper::b1dC(), ButtonMapper::b1u(), ButtonMapper::b2dC(), ButtonMapper::b2u(), ButtonMapper::b3d(), ButtonMapper::b3dC(), ButtonMapper::b3u(), Interactor< T, EVENT, STATE >::entry(), and ButtonMapper::mov().

Referenced by BaseJOTapp::init_interact_cb().

void BaseJOTapp::init_camera CVIEWptr &  v  )  [protected, virtual, inherited]
 

Definition at line 203 of file base_jotapp.C.

References Config::get_var_bool(), and mlib::Wpt::Origin().

Referenced by BaseJOTapp::init().

void BaseJOTapp::init_dev_cb WINDOW win  )  [protected, virtual, inherited]
 

Definition at line 598 of file base_jotapp.C.

References BaseJOTapp::WINDOW::_mouse_map, BaseJOTapp::WINDOW::_win, Mouse::buttons(), WINSYS::mouse(), Mouse::pointer(), and ButtonMapper::set_devs().

Referenced by BaseJOTapp::init().

void BaseJOTapp::init_fsa  )  [protected, virtual, inherited]
 

Reimplemented in SMVIEWapp.

Definition at line 769 of file base_jotapp.C.

References BaseJOTapp::_windows, VIEWint_list::add(), and ARRAY< T >::num().

Referenced by BaseJOTapp::init(), and SMVIEWapp::init_fsa().

void BaseJOTapp::init_interact_cb WINDOW win  )  [protected, virtual, inherited]
 

Definition at line 612 of file base_jotapp.C.

References BaseJOTapp::WINDOW::_menu, BaseJOTapp::WINDOW::_view, BaseJOTapp::init_cam_manip(), BaseJOTapp::init_kbd(), BaseJOTapp::init_kbd_nav(), BaseJOTapp::init_menu(), BaseJOTapp::init_obj_manip(), and BaseJOTapp::init_pens().

Referenced by BaseJOTapp::init(), and SMVIEWapp::init_interact_cb().

void BaseJOTapp::init_kbd WINDOW win  )  [protected, virtual, inherited]
 

Definition at line 718 of file base_jotapp.C.

References BaseJOTapp::_key_menu, BaseJOTapp::WINDOW::_start, KeyMenu::add_menu_item(), BaseJOTapp::button_toggle(), BaseJOTapp::keymenu_help_cb(), BaseJOTapp::keymenu_quit_cb(), BaseJOTapp::show_menu_cb(), and BaseJOTapp::viewall().

Referenced by BaseJOTapp::init_interact_cb(), init_kbd(), and SMVIEWapp::init_kbd().

void TestSPSapp::init_kbd WINDOW &  base_window  )  [protected, virtual]
 

Definition at line 157 of file test_app.C.

References BaseJOTapp::_key_menu, KeyMenu::add_menu_item(), BaseJOTapp::init_kbd(), toggle_grid_cb(), and toggle_sample_cb().

void BaseJOTapp::init_kbd_nav WINDOW win  )  [protected, virtual, inherited]
 

Definition at line 760 of file base_jotapp.C.

References BaseJOTapp::WINDOW::_view.

Referenced by BaseJOTapp::init_interact_cb().

void BaseJOTapp::init_menu WINDOW win  )  [protected, virtual, inherited]
 

Definition at line 654 of file base_jotapp.C.

References BaseJOTapp::WINDOW::_menu, BaseJOTapp::WINDOW::_view, BaseJOTapp::WINDOW::_win, add_render_styles(), Config::get_var_bool(), MoveMenu::hide(), MoveMenu::menu(), WINSYS::menu(), MoveMenu::move_local(), and MoveMenu::show().

Referenced by BaseJOTapp::init_interact_cb().

virtual void BaseJOTapp::init_obj_manip WINDOW  )  [inline, protected, virtual, inherited]
 

Definition at line 224 of file base_jotapp.H.

Referenced by BaseJOTapp::init_interact_cb().

void BaseJOTapp::init_pens WINDOW win  )  [protected, virtual, inherited]
 

Definition at line 742 of file base_jotapp.C.

References BaseJOTapp::_pen_manager, and BaseJOTapp::WINDOW::_start.

Referenced by BaseJOTapp::init_interact_cb().

void BaseJOTapp::init_scene  )  [protected, virtual, inherited]
 

Reimplemented in SMVIEWapp.

Definition at line 380 of file base_jotapp.C.

References IOManager::init().

Referenced by BaseJOTapp::init(), and SMVIEWapp::init_scene().

void BaseJOTapp::init_top  )  [protected, virtual, inherited]
 

Definition at line 136 of file base_jotapp.C.

References BaseJOTapp::_argc, BaseJOTapp::_argv, BaseJOTapp::_windows, BaseJOTapp::_wins_to_map, WINSYS::create(), Config::get_var_int(), and BaseJOTapp::new_window().

Referenced by BaseJOTapp::init().

void BaseJOTapp::init_view WINDOW window  )  [protected, virtual, inherited]
 

Definition at line 170 of file base_jotapp.C.

References BaseJOTapp::WINDOW::_view, BaseJOTapp::WINDOW::_win, BaseJOTapp::_world, Config::get_var_bool(), Color::get_var_color(), BaseJOTapp::new_view(), and Color::tan().

Referenced by BaseJOTapp::init().

void BaseJOTapp::init_win_cb WINDOW win  )  [protected, virtual, inherited]
 

Definition at line 586 of file base_jotapp.C.

References BaseJOTapp::WINDOW::_view, BaseJOTapp::WINDOW::_win, WINSYS::map_cb(), and WINSYS::setup().

Referenced by BaseJOTapp::init().

void BaseJOTapp::init_world  )  [protected, virtual, inherited]
 

Definition at line 158 of file base_jotapp.C.

References BaseJOTapp::_world.

Referenced by BaseJOTapp::init().

static BaseJOTapp* BaseJOTapp::instance  )  [inline, static, inherited]
 

Definition at line 82 of file base_jotapp.H.

References BaseJOTapp::_instance.

Referenced by BaseJOTapp::activate_button(), BaseJOTapp::button_toggle(), BaseJOTapp::cam_switch(), BaseJOTapp::deactivate_button(), BaseJOTapp::keymenu_help_cb(), set_pen(), BaseJOTapp::show_menu_cb(), BaseJOTapp::toggle_button(), and BaseJOTapp::update_button().

int BaseJOTapp::keymenu_help_cb const Event ,
State *& 
[static, inherited]
 

Callback to display KeyMenu help menu.

Definition at line 978 of file base_jotapp.C.

References BaseJOTapp::_key_menu, KeyMenu::display_menu(), and BaseJOTapp::instance().

Referenced by BaseJOTapp::init_kbd().

int BaseJOTapp::keymenu_quit_cb const Event ,
State *& 
[static, inherited]
 

Callback to quit application.

Definition at line 1005 of file base_jotapp.C.

References err_msg(), Config::get_var_bool(), and STR::load_factor().

Referenced by BaseJOTapp::init_kbd().

bool BaseJOTapp::load_jot_file Cstr_ptr &  file  )  [protected, virtual, inherited]
 

Definition at line 521 of file base_jotapp.C.

References NetStream::ascii_r, LOADobs::LOAD_ERROR_NONE, and LOADobs::notify_load_obs().

Referenced by BaseJOTapp::load_scene().

bool BaseJOTapp::load_obj_file Cstr_ptr &  file  )  [protected, virtual, inherited]
 

Definition at line 493 of file base_jotapp.C.

References BaseJOTapp::create_mesh(), OBJReader::get_mesh(), BaseJOTapp::new_mesh(), and OBJReader::read().

Referenced by BaseJOTapp::load_scene().

void TestSPSapp::load_scene  )  [protected, virtual]
 

Reimplemented from BaseJOTapp.

Definition at line 119 of file test_app.C.

References _balls, _nodes, _pts, CONSTRAINT, EXIST, HEIGHT, j, ARRAY< T >::last(), BaseJOTapp::load_scene(), MIN_DIST, NETWORK, ARRAY< T >::num(), REGULARITY, GEOM::SCREEN_WIDGET, hashenum< T >::set(), hashvar< T >::set(), sps(), and visit().

bool BaseJOTapp::load_sm_file Cstr_ptr &  file  )  [protected, virtual, inherited]
 

Definition at line 480 of file base_jotapp.C.

References BaseJOTapp::create_mesh(), and BaseJOTapp::new_mesh().

Referenced by BaseJOTapp::load_scene().

void BaseJOTapp::mapped  )  [protected, virtual, inherited]
 

Implements MAPPED_CB.

Definition at line 830 of file base_jotapp.C.

References BaseJOTapp::_wins_to_map, FD_MANAGER::add_timeout(), and FD_MANAGER::mgr().

bool BaseJOTapp::menu_is_shown  )  [inherited]
 

Note:
To support multiple windows, this code may need to be modified to determine which window's menu to work with.

Definition at line 855 of file base_jotapp.C.

References BaseJOTapp::WINDOW::_menu, MoveMenu::is_shown(), and BaseJOTapp::window().

Referenced by BaseJOTapp::toggle_menu().

GEOM * BaseJOTapp::new_geom BMESH mesh,
Cstr_ptr &  name
const [protected, virtual, inherited]
 

Definition at line 472 of file base_jotapp.C.

Referenced by BaseJOTapp::create_mesh().

BMESH * BaseJOTapp::new_mesh  )  const [protected, virtual, inherited]
 

Definition at line 466 of file base_jotapp.C.

Referenced by BaseJOTapp::load_obj_file(), and BaseJOTapp::load_sm_file().

VIEWptr BaseJOTapp::new_view WINSYS win  )  [protected, virtual, inherited]
 

Definition at line 189 of file base_jotapp.C.

Referenced by BaseJOTapp::init_view().

virtual WINDOW* BaseJOTapp::new_window WINSYS win  )  [inline, protected, virtual, inherited]
 

Reimplemented in SMVIEWapp.

Definition at line 170 of file base_jotapp.H.

Referenced by BaseJOTapp::init_top().

void BaseJOTapp::next_pen  )  [inline, inherited]
 

Definition at line 111 of file base_jotapp.H.

References BaseJOTapp::_pen_manager, and PenManager::next_pen().

Referenced by set_pen().

void BaseJOTapp::pop_arg  )  [protected, inherited]
 

Definition at line 803 of file base_jotapp.C.

References BaseJOTapp::_argc, and BaseJOTapp::_argv.

Referenced by BaseJOTapp::load_scene().

void BaseJOTapp::prev_pen  )  [inline, inherited]
 

Definition at line 113 of file base_jotapp.H.

References BaseJOTapp::_pen_manager, and PenManager::prev_pen().

Referenced by set_pen().

void BaseJOTapp::print_usage  )  const [protected, virtual, inherited]
 

Definition at line 387 of file base_jotapp.C.

References BaseJOTapp::_prog_name.

Referenced by BaseJOTapp::load_scene().

void BaseJOTapp::Run  )  [virtual, inherited]
 

Definition at line 781 of file base_jotapp.C.

References BaseJOTapp::_windows, VIEWint_list::get(), FD_MANAGER::loop(), FD_MANAGER::mgr(), and ARRAY< T >::num().

Referenced by main().

void BaseJOTapp::show_menu  )  [inherited]
 

Note:
To support multiple windows, this code may need to be modified to determine which window's menu to work with.

Definition at line 867 of file base_jotapp.C.

References BaseJOTapp::WINDOW::_menu, MoveMenu::menu(), MoveMenu::move_local(), VIEW::peek(), MoveMenu::show(), and BaseJOTapp::window().

Referenced by BaseJOTapp::toggle_menu().

int BaseJOTapp::show_menu_cb const Event ,
State *& 
[static, inherited]
 

Callback to toggle showing render style menu.

Definition at line 989 of file base_jotapp.C.

References BaseJOTapp::instance(), and BaseJOTapp::toggle_menu().

Referenced by BaseJOTapp::init_kbd().

void BaseJOTapp::timeout  )  [protected, virtual, inherited]
 

Implements FD_TIMEOUT.

Definition at line 816 of file base_jotapp.C.

References BaseJOTapp::_world.

void BaseJOTapp::toggle_button Cstr_ptr &  file  )  [static, inherited]
 

Definition at line 572 of file base_jotapp.C.

References BaseJOTapp::_buttons, BaseJOTapp::instance(), and ARRAY< T >::num().

Referenced by Cam_int_fp::down2(), and Cam_int_fp::orbit().

int TestSPSapp::toggle_grid_cb const Event ,
State *& 
[static]
 

Definition at line 196 of file test_app.C.

References _boxes, _instance, _show_grid, err_msg(), and ARRAY< T >::num().

Referenced by init_kbd().

void BaseJOTapp::toggle_menu  )  [inherited]
 

Definition at line 902 of file base_jotapp.C.

References BaseJOTapp::hide_menu(), BaseJOTapp::menu_is_shown(), and BaseJOTapp::show_menu().

Referenced by BaseJOTapp::show_menu_cb().

int TestSPSapp::toggle_sample_cb const Event ,
State *& 
[static]
 

Definition at line 169 of file test_app.C.

References _balls, _instance, _pts, _show_sample, err_msg(), j, mlib::Vec3< V >::length(), and ARRAY< T >::num().

Referenced by init_kbd().

void BaseJOTapp::update_button Cstr_ptr &  file  )  [static, inherited]
 

Definition at line 549 of file base_jotapp.C.

References BaseJOTapp::_buttons, BaseJOTapp::instance(), and ARRAY< T >::num().

Referenced by Cam_int_fp::down2().

int BaseJOTapp::viewall const Event ,
State *& 
[static, inherited]
 

Callback to reset camera to fit whole scene in view:.

Definition at line 997 of file base_jotapp.C.

References VIEW::peek().

Referenced by BaseJOTapp::init_kbd().

void TestSPSapp::visit OctreeNode node  )  [protected]
 

Definition at line 105 of file test_app.C.

References create_grid(), BBOX::dim(), OctreeNode::get_children(), OctreeNode::get_disp(), OctreeNode::get_leaf(), and BBOX::min().

Referenced by load_scene().

static WINDOW* BaseJOTapp::window int  i = 0  )  [inline, static, inherited]
 

Definition at line 83 of file base_jotapp.H.

References BaseJOTapp::_windows.

Referenced by BaseJOTapp::cam_switch(), BaseJOTapp::hide_menu(), BaseJOTapp::menu_is_shown(), and BaseJOTapp::show_menu().


Member Data Documentation

int BaseJOTapp::_argc [protected, inherited]
 

Definition at line 249 of file base_jotapp.H.

Referenced by BaseJOTapp::init_top(), BaseJOTapp::load_scene(), and BaseJOTapp::pop_arg().

char** BaseJOTapp::_argv [protected, inherited]
 

Definition at line 248 of file base_jotapp.H.

Referenced by BaseJOTapp::init_top(), BaseJOTapp::load_scene(), and BaseJOTapp::pop_arg().

LIST<GEOMptr> TestSPSapp::_balls [protected]
 

Definition at line 40 of file test_app.H.

Referenced by load_scene(), toggle_sample_cb(), and ~TestSPSapp().

LIST<GEOMptr> TestSPSapp::_boxes [protected]
 

Definition at line 41 of file test_app.H.

Referenced by create_grid(), toggle_grid_cb(), and ~TestSPSapp().

ARRAY<ICON2D *> BaseJOTapp::_buttons [protected, inherited]
 

Definition at line 259 of file base_jotapp.H.

Referenced by BaseJOTapp::activate_button(), BaseJOTapp::button_toggle(), BaseJOTapp::cam_switch(), BaseJOTapp::deactivate_button(), BaseJOTapp::init_buttons(), BaseJOTapp::toggle_button(), and BaseJOTapp::update_button().

EaselManager BaseJOTapp::_easel_manager [protected, inherited]
 

Definition at line 254 of file base_jotapp.H.

Referenced by BaseJOTapp::easels().

ARRAY<FD_EVENT *> BaseJOTapp::_events [protected, inherited]
 

Definition at line 258 of file base_jotapp.H.

Referenced by BaseJOTapp::clean_on_exit().

TestSPSapp * TestSPSapp::_instance = 0 [static, protected]
 

Reimplemented from BaseJOTapp.

Definition at line 38 of file test_app.H.

Referenced by TestSPSapp(), toggle_grid_cb(), and toggle_sample_cb().

KeyMenu* BaseJOTapp::_key_menu [protected, inherited]
 

Definition at line 256 of file base_jotapp.H.

Referenced by init_kbd(), SMVIEWapp::init_kbd(), BaseJOTapp::init_kbd(), and BaseJOTapp::keymenu_help_cb().

ARRAY<OctreeNode*> TestSPSapp::_nodes [protected]
 

Definition at line 42 of file test_app.H.

Referenced by load_scene(), and ~TestSPSapp().

PenManager* BaseJOTapp::_pen_manager [protected, inherited]
 

Definition at line 255 of file base_jotapp.H.

Referenced by BaseJOTapp::cur_pen(), BaseJOTapp::init_pens(), BaseJOTapp::next_pen(), and BaseJOTapp::prev_pen().

str_ptr BaseJOTapp::_prog_name [protected, inherited]
 

Definition at line 247 of file base_jotapp.H.

Referenced by BaseJOTapp::print_usage().

ARRAY<Bvert_list> TestSPSapp::_pts [protected]
 

Definition at line 39 of file test_app.H.

Referenced by load_scene(), toggle_sample_cb(), and ~TestSPSapp().

bool TestSPSapp::_show_grid [protected]
 

Definition at line 44 of file test_app.H.

Referenced by TestSPSapp(), and toggle_grid_cb().

bool TestSPSapp::_show_sample [protected]
 

Definition at line 43 of file test_app.H.

Referenced by TestSPSapp(), and toggle_sample_cb().

ARRAY< BaseJOTapp::WINDOW * > BaseJOTapp::_windows = 0 [static, protected, inherited]
 

Definition at line 245 of file base_jotapp.H.

Referenced by BaseJOTapp::init(), SMVIEWapp::init_fsa(), BaseJOTapp::init_fsa(), SMVIEWapp::init_scene(), BaseJOTapp::init_top(), BaseJOTapp::load_scene(), BaseJOTapp::Run(), and BaseJOTapp::window().

int BaseJOTapp::_wins_to_map [protected, inherited]
 

Definition at line 250 of file base_jotapp.H.

Referenced by BaseJOTapp::init_top(), and BaseJOTapp::mapped().

WORLDptr BaseJOTapp::_world [protected, inherited]
 

Definition at line 257 of file base_jotapp.H.

Referenced by BaseJOTapp::init_view(), BaseJOTapp::init_world(), and BaseJOTapp::timeout().


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