#include "std/fstream.H"
#include "disp/animator.H"
#include "disp/recorder.H"
#include "geom/gl_util.H"
#include "geom/distrib.H"
#include "geom/recorder_ui.H"
#include "geom/texture.H"
#include "geom/world.H"
#include "gtex/ref_image.H"
#include "gtex/buffer_ref_image.H"
#include "gtex/curvature_ui.H"
#include "gtex/fader_texture.H"
#include "gtex/flat_shade.H"
#include "gtex/key_line.H"
#include "gtex/sil_frame.H"
#include "manip/cam_pz.H"
#include "manip/cam_fp.H"
#include "mesh/hybrid.H"
#include "mesh/lmesh.H"
#include "mesh/objreader.H"
#include "mesh/patch.H"
#include "mlib/points.H"
#include "std/run_avg.H"
#include "std/stop_watch.H"
#include "std/support.H"
#include "std/time.H"
#include "widgets/alert_box.H"
#include "widgets/file_select.H"
#include "widgets/fps.H"
#include "widgets/menu.H"
#include "base_jotapp/base_jotapp.H"
Include dependency graph for smview.C:
Go to the source code of this file.
|
|
|
|
|
Definition at line 677 of file smview.C. References ALERT_CLEAR_CB, ALERT_LOAD_JOT_FAILED_CB, ALERT_SAVE_JOT_FAILED_CB, ALERT_SAVE_JOT_OVERWRITE_CB, do_clear(), do_save(), and save_cb(). Referenced by clear_cb(), do_load(), do_save(), and file_cbs(). |
|
Definition at line 979 of file smview.C. References Evd::_c, VIEW::peek(), rec_pause(), rec_play(), rec_rec(), rec_stop(), and toggle_recorder(). Referenced by SMVIEWapp::init_kbd(). |
|
Definition at line 580 of file smview.C. References RunningAvg< T >::add(), BMESH::bf(), nfaces, normalized_pix_area(), VIEW::peek_cam(), and RunningAvg< T >::val(). |
|
Definition at line 340 of file smview.C. References Event::view(). |
|
Definition at line 655 of file smview.C. References AlertBox::add_button(), AlertBox::add_text(), alert_cbs(), ALERT_CLEAR_CB, AlertBox::display(), AlertBox::EXCLAMATION_ICON, VIEW::peek(), AlertBox::set_default(), AlertBox::set_icon(), and AlertBox::set_title(). Referenced by SMVIEWapp::init_kbd(). |
|
Definition at line 1396 of file smview.C. References BMESH::clear_creases(), and find_ctrl_mesh(). Referenced by SMVIEWapp::init_kbd(). |
|
Definition at line 1255 of file smview.C. References MeshGlobal::deselect_all_edges(), and MeshGlobal::deselect_all_faces(). |
|
|
|
Definition at line 1232 of file smview.C. References find_ctrl_mesh(), SubdivCalc< T >::name(), LMESH::set_subdiv_loc_calc(), and LMESH::update(). Referenced by SMVIEWapp::init_kbd(). |
|
Definition at line 637 of file smview.C. References Evd::_c, FlatShadeTexture::debug_uv(), and FlatShadeTexture::toggle_debug_uv(). Referenced by SMVIEWapp::init_kbd(). |
|
Definition at line 617 of file smview.C. References RefImage::alpha(), RefImage::blue(), RefImage::green(), VisRefImage::lookup(), VisRefImage::need_update(), RefImage::red(), and Array2d< T >::val(). |
|
Definition at line 724 of file smview.C. References DRAWN, gel_to_bmesh(), and ARRAY< T >::num(). Referenced by alert_cbs(), and do_load(). |
|
|
Definition at line 850 of file smview.C. References AlertBox::add_button(), AlertBox::add_text(), alert_cbs(), ALERT_SAVE_JOT_FAILED_CB, NetStream::ascii_w, WINSYS::CURSOR_WAIT, AlertBox::display(), SAVEobs::notify_save_obs(), VIEW::peek(), SAVEobs::SAVE_ERROR_CWD, SAVEobs::SAVE_ERROR_NONE, SAVEobs::SAVE_ERROR_STREAM, SAVEobs::SAVE_ERROR_WRITE, AlertBox::set_default(), AlertBox::set_icon(), AlertBox::set_title(), and AlertBox::WARNING_ICON. Referenced by alert_cbs(), and file_cbs(). |
|
Definition at line 794 of file smview.C. References AlertBox::add_button(), AlertBox::add_text(), alert_cbs(), ALERT_SAVE_JOT_OVERWRITE_CB, AlertBox::display(), do_load(), do_save(), AlertBox::EXCLAMATION_ICON, FILE_LOAD_JOT_CB, FILE_SAVE_JOT_CB, int(), str_ptr::len(), FileSelect::OK_ACTION, VIEW::peek(), AlertBox::set_default(), AlertBox::set_icon(), and AlertBox::set_title(). |
|
Definition at line 334 of file smview.C. References find_mesh(), and get_ctrl_mesh(). Referenced by clear_creases(), cycle_subdiv_loc_calc(), recreate_creases(), refine(), toggle_sil_frame(), and unrefine(). |
|
Definition at line 327 of file smview.C. References BMESH::center_of_interest(), and VisRefImage::get_mesh(). Referenced by find_ctrl_mesh(), print_mesh(), write(), and write_xformed(). |
|
Definition at line 483 of file smview.C. References BMESH::_freeze_sils. Referenced by SMVIEWapp::init_kbd(). |
|
Definition at line 347 of file smview.C. References Event::view(). |
|
Definition at line 546 of file smview.C. References Bface::area(), Bface::is_quad(), and Bface::quad_area(). Referenced by normalized_pix_area(). |
|
Definition at line 511 of file smview.C. References Bface::is_secondary(). Referenced by BadEdgeFilter::accept(). |
|
|
|
Definition at line 772 of file smview.C. References FileSelect::display(), file_cbs(), FILE_LOAD_JOT_CB, FileSelect::LOAD_ICON, VIEW::peek(), FileSelect::set_action(), FileSelect::set_file(), FileSelect::set_filter(), FileSelect::set_icon(), FileSelect::set_path(), and FileSelect::set_title(). Referenced by SMVIEWapp::init_kbd(). |
|
Definition at line 292 of file smview.C. References SMVIEWapp::init(), and BaseJOTapp::Run(). |
|
Definition at line 534 of file smview.C. References Bface::centroid(), mlib::Point3< P, V >::dist(), Bface::is_quad(), and Bface::quad_centroid(). Referenced by normalized_pix_area(). |
|
Definition at line 461 of file smview.C. References VIEW::get_jitter_mode_num(), VIEW::get_jitter_num(), and VIEW::peek(). Referenced by SMVIEWapp::init_kbd(). |
|
Definition at line 354 of file smview.C. References DATA_ITEM::class_name(), Patch::cur_tex(), VisRefImage::get_ctrl_patch(), and Patch::next_texture(). Referenced by SMVIEWapp::init_kbd(). |
|
Definition at line 552 of file smview.C. References get_area(), map_centroid(), and Bsimplex::mesh(). Referenced by avg_bface_pix_area(). |
|
Definition at line 599 of file smview.C. References err_msg(), ARRAY< T >::num(), and GtexUtil::show(). |
|
|
|
Definition at line 1338 of file smview.C. References find_mesh(), and BMESH::print(). Referenced by SMVIEWapp::init_kbd(). |
|
Definition at line 1199 of file smview.C. References err_msg(), Config::get_var_bool(), and STR::load_factor(). Referenced by REF_CLASS(). |
|
Definition at line 1150 of file smview.C. References VIEW::peek(), and Recorder::rec_pause(). Referenced by animation_keys(). |
|
Definition at line 1120 of file smview.C. References VIEW::peek(), and Recorder::rec_play(). Referenced by animation_keys(). |
|
Definition at line 1130 of file smview.C. References VIEW::peek(), and Recorder::rec_record(). Referenced by animation_keys(). |
|
Definition at line 1140 of file smview.C. References VIEW::peek(), and Recorder::rec_stop(). Referenced by animation_keys(). |
|
Definition at line 1425 of file smview.C. References BMESH::be(), BMESH::changed(), Bedge::compute_crease(), find_ctrl_mesh(), and BMESH::nedges(). Referenced by SMVIEWapp::init_kbd(). |
|
Definition at line 1210 of file smview.C. References find_ctrl_mesh(), Config::get_var_bool(), LMESH::loc_calc(), SubdivCalc< T >::name(), LMESH::refine(), and LMESH::volume(). Referenced by SMVIEWapp::init_kbd(). |
|
Definition at line 1076 of file smview.C. References Evd::_c, VIEW::NORMAL_MODE, VIEW::OPAQUE_MODE, VIEW::peek(), and VIEW::TRANSPARENT_MODE. Referenced by SMVIEWapp::init_kbd(). |
|
Definition at line 368 of file smview.C. References mlib::Acos(), Sign(), sqr(), and Event::view(). Referenced by SMVIEWapp::init_kbd(). |
|
Definition at line 746 of file smview.C. References IOManager::basename(), FileSelect::display(), file_cbs(), FILE_SAVE_JOT_CB, NULL_STR, VIEW::peek(), FileSelect::SAVE_ICON, FileSelect::set_action(), FileSelect::set_file(), FileSelect::set_filter(), FileSelect::set_icon(), FileSelect::set_path(), and FileSelect::set_title(). Referenced by alert_cbs(), and SMVIEWapp::init_kbd(). |
|
Definition at line 1374 of file smview.C. References Config::JOT_ROOT(), and Config::save_config(). |
|
Definition at line 1160 of file smview.C. References Evd::_c, BaseJOTapp::instance(), BaseJOTapp::next_pen(), VIEW::peek(), and BaseJOTapp::prev_pen(). |
|
|
|
Definition at line 439 of file smview.C. References VIEW::get_jitter_num(), and VIEW::peek(). Referenced by SMVIEWapp::init_kbd(). |
|
Definition at line 418 of file smview.C. References BufferRefImage::is_observing(), BufferRefImage::lookup(), BufferRefImage::observe(), BufferRefImage::unobserve(), and Event::view(). Referenced by SMVIEWapp::init_kbd(). |
|
Definition at line 1440 of file smview.C. References BMESH::changed(), VisRefImage::get_cursor(), IDRefImage::intersect(), Bedge::is_crease(), VisRefImage::lookup(), Bsimplex::mesh(), Bface::opposite_edge(), VIEW::peek(), Bface::project_barycentric(), Bedge::set_crease(), VisRefImage::update(), and Bface::v(). |
|
Definition at line 1465 of file smview.C. References CurvatureUISingleton::hide(), CurvatureUISingleton::Instance(), CurvatureUISingleton::is_vis(), VIEW::peek(), and CurvatureUISingleton::show(). Referenced by SMVIEWapp::init_kbd(). |
|
Definition at line 502 of file smview.C. References KeyLineTexture::toggle_show_hidden_lines(). Referenced by SMVIEWapp::init_kbd(). |
|
Definition at line 1410 of file smview.C. References TEXT2D::toggle_suppress_draw(). Referenced by SMVIEWapp::init_kbd(). |
|
Definition at line 491 of file smview.C. References BMESH::_random_sils, and BMESH::toggle_random_sils(). Referenced by SMVIEWapp::init_kbd(). |
|
Definition at line 1101 of file smview.C. References Recorder::activate(), Recorder::deactivate(), Recorder::get_ui(), Recorder::on(), VIEW::peek(), and Recorder::set_ui(). Referenced by animation_keys(). |
|
|
|
|
|
Definition at line 1284 of file smview.C. References find_ctrl_mesh(), DATA_ITEM::static_name(), and BMESH::toggle_render_style(). |
|
Definition at line 1297 of file smview.C. References RAYhit::appear(), VisRefImage::get_cursor(), APPEAR::has_transp(), APPEAR::set_transp(), RAYhit::success(), APPEAR::unset_transp(), and Event::view(). |
|
Definition at line 1178 of file smview.C. References Evd::_c, and err_msg(). Referenced by SMVIEWapp::init_kbd(). |
|
Definition at line 1264 of file smview.C. References find_ctrl_mesh(). Referenced by SMVIEWapp::init_kbd(). |
|
Definition at line 1315 of file smview.C. References find_mesh(), BMESH::print(), and BMESH::write_file(). Referenced by SMVIEWapp::init_kbd(), and NetStream::NetStream(). |
|
|
|
Definition at line 1347 of file smview.C. References find_mesh(), BMESH::inv_xform(), MOD::tick(), BMESH::transform(), BMESH::write_file(), and BMESH::xform(). Referenced by SMVIEWapp::init_kbd(). |
|
|