Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

bmvv_f_manager Class Reference

#include <bmvv_f_manager.h>

Inheritance diagram for bmvv_f_manager:

Inheritance graph
[legend]
List of all members.

Detailed Description

Definition at line 40 of file bmvv_f_manager.h.

Public Member Functions

 bmvv_f_manager ()
 ~bmvv_f_manager ()
void quit ()
void load_image ()
void save_image ()
void set_range_params ()
 visualization.
void intensity_profile ()
void intensity_histogram ()
void clear_display ()
 utilities.
void clear_all ()
 Clear spatial objects from all spatial panes.
void init ()
 Set up the tableaux.
void load_image_and_cam ()
 debug and development routines.
void read_corrs ()
void save_corrs ()
void load_world ()
void save_world ()
void display_corrs ()
void read_f_matrix ()
void save_f_matrix ()
void display_left_epi_lines ()
void display_right_epi_lines ()
void display_picked_epi_line ()
void create_correspondence ()
void pick_correspondence ()
void compute_f_matrix ()
void reconstruct_world ()
void project_world ()
vgui_windowget_window ()
 access to the window.
void set_window (vgui_window *win)
bool add_child (vgui_tableau_sptr const &)
bool remove_child (vgui_tableau_sptr const &)
vcl_string file_name () const
vcl_string pretty_name () const
vcl_string type_name () const
bool handle (vgui_event const &)
bool get_bounding_box (float low[3], float high[3]) const
virtual vcl_string name () const
void get_parents (vcl_vector< vgui_tableau_sptr > *out) const
void get_children (vcl_vector< vgui_tableau_sptr > *out) const
vgui_tableau_sptr get_child (unsigned i) const
virtual bool notify_replaced_child (vgui_tableau_sptr const &old_child, vgui_tableau_sptr const &new_child)
virtual void add_popup (vgui_menu &)
virtual void get_popup (vgui_popup_params const &, vgui_menu &)
virtual void post_message (char const *, void const *)
virtual void post_redraw ()
virtual void post_overlay_redraw ()
virtual void post_idle_request ()
virtual bool draw ()
virtual bool mouse_down (int x, int y, vgui_button, vgui_modifier)
virtual bool mouse_up (int x, int y, vgui_button, vgui_modifier)
virtual bool motion (int x, int y)
virtual bool key_press (int x, int y, vgui_key, vgui_modifier)
virtual bool help ()
virtual bool idle ()
void ref () const
void unref () const

Static Public Member Functions

static bmvv_f_managerinstance ()
static void get_all (vcl_vector< vgui_tableau_sptr > *out)
static bool exists (vgui_tableau_sptr const &)

Public Attributes

vgui_parent_child_link child

Protected Member Functions

void draw_edges (vcl_vector< vtol_edge_2d_sptr > &edges, bool verts=false)
 Draw edges onto the tableau.
void draw_lines (vcl_vector< vsol_line_2d_sptr > const &line_segs, const vgui_style_sptr &style=NULL)
 Draw line segments on the tableau.
void draw_conics (vcl_vector< vsol_conic_2d_sptr > const &conic_segs, const vgui_style_sptr &style=NULL)
 Draw conic segments on the tableau.
void draw_polylines (vcl_vector< vsol_polyline_2d_sptr > const &polys, vgui_style_sptr style=(vgui_style *) 0)
 Draw polylines on the tableau.
void draw_regions (vcl_vector< vtol_intensity_face_sptr > &regions, bool verts=false)
void draw_points (vcl_vector< vsol_point_2d_sptr > const &points, const vgui_style_sptr &style)
 Draw points on the tableau.
void set_selected_grid_image (vil_image_resource_sptr const &image, vgui_range_map_params_sptr const &rmps=0)
 set the image at the currently selected grid cell.
void add_image_at (vil_image_resource_sptr const &image, const unsigned col, const unsigned row, vgui_range_map_params_sptr const &rmps=0)
 Add an image at the specified grid cell.
void add_image (vil_image_resource_sptr const &image, vgui_range_map_params_sptr const &rmps=0)
 Add an image to the currently selected grid cell.
vil_image_resource_sptr selected_image ()
vil_image_resource_sptr image_at (const unsigned col, const unsigned row)
bool set_image_at (const unsigned col, const unsigned row, vil_image_resource_sptr const &image)
bgui_image_tableau_sptr selected_image_tab ()
 Get the image tableau for the currently selected grid cell.
bgui_vtol2D_tableau_sptr vtol2D_tab_at (const unsigned col, const unsigned row)
 Get the vtol2D tableau at the specified grid cell.
bgui_vtol2D_tableau_sptr selected_vtol2D_tab ()
 Get the vtol2D tableau for the currently selected grid cell.
bgui_picker_tableau_sptr selected_picker_tab ()
 Get the picker tableau for the currently selected grid cell.
vtol_face_2d_sptr face_at (const int col, const int row)
vgui_range_map_params_sptr range_params (vil_image_resource_sptr const &image)
 Calculate the range parameters for the input image.
brct_corr_sptr get_selected_corr ()
bool point_lists (vcl_vector< vgl_point_2d< double > > &lpts, vcl_vector< vgl_point_2d< double > > &rpts)

Private Attributes

bool first_
vgui_windowwin_
vgui_grid_tableau_sptr grid_
vtol_face_2d_sptr foreground_face_
vtol_face_2d_sptr background_face_
bgui_bargraph_clipon_tableau_sptr bargraph_
vcl_vector< brct_corr_sptrcorrs_
vpgl_fundamental_matrix< double > fm_
vcl_map< int, int > corr_map_
vcl_vector< vgl_point_3d<
double > > 
world_
vcl_vector< bgui_vtol2D_tableau_sptrvtabs_
vcl_map< int, vpgl_proj_camera<
double > * > 
cam_map_

Static Private Attributes

static bmvv_f_managerinstance_ = 0


Constructor & Destructor Documentation

bmvv_f_manager::bmvv_f_manager  ) 
 

Definition at line 101 of file bmvv_f_manager.cxx.

bmvv_f_manager::~bmvv_f_manager  ) 
 

Definition at line 106 of file bmvv_f_manager.cxx.


Member Function Documentation

void bmvv_f_manager::add_image vil_image_resource_sptr const &  image,
vgui_range_map_params_sptr const &  rmps = 0
[protected]
 

Add an image to the currently selected grid cell.

Definition at line 210 of file bmvv_f_manager.cxx.

void bmvv_f_manager::add_image_at vil_image_resource_sptr const &  image,
const unsigned  col,
const unsigned  row,
vgui_range_map_params_sptr const &  rmps = 0
[protected]
 

Add an image at the specified grid cell.

Definition at line 191 of file bmvv_f_manager.cxx.

void bmvv_f_manager::clear_all  ) 
 

Clear spatial objects from all spatial panes.

Definition at line 345 of file bmvv_f_manager.cxx.

void bmvv_f_manager::clear_display  ) 
 

utilities.

Definition at line 335 of file bmvv_f_manager.cxx.

void bmvv_f_manager::compute_f_matrix  ) 
 

Definition at line 948 of file bmvv_f_manager.cxx.

void bmvv_f_manager::create_correspondence  ) 
 

Definition at line 872 of file bmvv_f_manager.cxx.

void bmvv_f_manager::display_corrs  ) 
 

Definition at line 759 of file bmvv_f_manager.cxx.

void bmvv_f_manager::display_left_epi_lines  ) 
 

void bmvv_f_manager::display_picked_epi_line  ) 
 

Definition at line 820 of file bmvv_f_manager.cxx.

void bmvv_f_manager::display_right_epi_lines  ) 
 

Definition at line 795 of file bmvv_f_manager.cxx.

void bmvv_f_manager::draw_conics vcl_vector< vsol_conic_2d_sptr > const &  conic_segs,
const vgui_style_sptr style = NULL
[protected]
 

Draw conic segments on the tableau.

Definition at line 455 of file bmvv_f_manager.cxx.

void bmvv_f_manager::draw_edges vcl_vector< vtol_edge_2d_sptr > &  edges,
bool  verts = false
[protected]
 

Draw edges onto the tableau.

Definition at line 360 of file bmvv_f_manager.cxx.

void bmvv_f_manager::draw_lines vcl_vector< vsol_line_2d_sptr > const &  line_segs,
const vgui_style_sptr style = NULL
[protected]
 

Draw line segments on the tableau.

Definition at line 428 of file bmvv_f_manager.cxx.

void bmvv_f_manager::draw_points vcl_vector< vsol_point_2d_sptr > const &  points,
const vgui_style_sptr style
[protected]
 

Draw points on the tableau.

Definition at line 481 of file bmvv_f_manager.cxx.

void bmvv_f_manager::draw_polylines vcl_vector< vsol_polyline_2d_sptr > const &  polys,
vgui_style_sptr  style = (vgui_style *) 0
[protected]
 

Draw polylines on the tableau.

Definition at line 401 of file bmvv_f_manager.cxx.

void bmvv_f_manager::draw_regions vcl_vector< vtol_intensity_face_sptr > &  regions,
bool  verts = false
[protected]
 

Definition at line 504 of file bmvv_f_manager.cxx.

vtol_face_2d_sptr bmvv_f_manager::face_at const int  col,
const int  row
[protected]
 

brct_corr_sptr bmvv_f_manager::get_selected_corr  )  [protected]
 

Definition at line 852 of file bmvv_f_manager.cxx.

vgui_window* bmvv_f_manager::get_window  )  [inline]
 

access to the window.

Definition at line 81 of file bmvv_f_manager.h.

vil_image_resource_sptr bmvv_f_manager::image_at const unsigned  col,
const unsigned  row
[protected]
 

Definition at line 314 of file bmvv_f_manager.cxx.

void bmvv_f_manager::init  ) 
 

Set up the tableaux.

Definition at line 118 of file bmvv_f_manager.cxx.

bmvv_f_manager * bmvv_f_manager::instance  )  [static]
 

Definition at line 88 of file bmvv_f_manager.cxx.

void bmvv_f_manager::intensity_histogram  ) 
 

Definition at line 1034 of file bmvv_f_manager.cxx.

void bmvv_f_manager::intensity_profile  ) 
 

Definition at line 1008 of file bmvv_f_manager.cxx.

void bmvv_f_manager::load_image  ) 
 

Definition at line 536 of file bmvv_f_manager.cxx.

void bmvv_f_manager::load_image_and_cam  ) 
 

debug and development routines.

Definition at line 1062 of file bmvv_f_manager.cxx.

void bmvv_f_manager::load_world  ) 
 

Definition at line 1123 of file bmvv_f_manager.cxx.

void bmvv_f_manager::pick_correspondence  ) 
 

Definition at line 900 of file bmvv_f_manager.cxx.

bool bmvv_f_manager::point_lists vcl_vector< vgl_point_2d< double > > &  lpts,
vcl_vector< vgl_point_2d< double > > &  rpts
[protected]
 

Definition at line 929 of file bmvv_f_manager.cxx.

void bmvv_f_manager::project_world  ) 
 

Definition at line 1152 of file bmvv_f_manager.cxx.

void bmvv_f_manager::quit  ) 
 

Definition at line 530 of file bmvv_f_manager.cxx.

vgui_range_map_params_sptr bmvv_f_manager::range_params vil_image_resource_sptr const &  image  )  [protected]
 

Calculate the range parameters for the input image.

Definition at line 135 of file bmvv_f_manager.cxx.

void bmvv_f_manager::read_corrs  ) 
 

Definition at line 686 of file bmvv_f_manager.cxx.

void bmvv_f_manager::read_f_matrix  ) 
 

Definition at line 724 of file bmvv_f_manager.cxx.

void bmvv_f_manager::reconstruct_world  ) 
 

Definition at line 1169 of file bmvv_f_manager.cxx.

void bmvv_f_manager::save_corrs  ) 
 

Definition at line 705 of file bmvv_f_manager.cxx.

void bmvv_f_manager::save_f_matrix  ) 
 

Definition at line 742 of file bmvv_f_manager.cxx.

void bmvv_f_manager::save_image  ) 
 

Definition at line 592 of file bmvv_f_manager.cxx.

void bmvv_f_manager::save_world  ) 
 

Definition at line 1140 of file bmvv_f_manager.cxx.

vil_image_resource_sptr bmvv_f_manager::selected_image  )  [protected]
 

Definition at line 306 of file bmvv_f_manager.cxx.

bgui_image_tableau_sptr bmvv_f_manager::selected_image_tab  )  [protected]
 

Get the image tableau for the currently selected grid cell.

Definition at line 241 of file bmvv_f_manager.cxx.

bgui_picker_tableau_sptr bmvv_f_manager::selected_picker_tab  )  [protected]
 

Get the picker tableau for the currently selected grid cell.

Definition at line 287 of file bmvv_f_manager.cxx.

bgui_vtol2D_tableau_sptr bmvv_f_manager::selected_vtol2D_tab  )  [protected]
 

Get the vtol2D tableau for the currently selected grid cell.

Definition at line 279 of file bmvv_f_manager.cxx.

bool bmvv_f_manager::set_image_at const unsigned  col,
const unsigned  row,
vil_image_resource_sptr const &  image
[protected]
 

void bmvv_f_manager::set_range_params  ) 
 

visualization.

Definition at line 637 of file bmvv_f_manager.cxx.

void bmvv_f_manager::set_selected_grid_image vil_image_resource_sptr const &  image,
vgui_range_map_params_sptr const &  rmps = 0
[protected]
 

set the image at the currently selected grid cell.

Definition at line 175 of file bmvv_f_manager.cxx.

void bmvv_f_manager::set_window vgui_window win  )  [inline]
 

Definition at line 82 of file bmvv_f_manager.h.

bgui_vtol2D_tableau_sptr bmvv_f_manager::vtol2D_tab_at const unsigned  col,
const unsigned  row
[protected]
 

Get the vtol2D tableau at the specified grid cell.

Definition at line 261 of file bmvv_f_manager.cxx.


Member Data Documentation

vtol_face_2d_sptr bmvv_f_manager::background_face_ [private]
 

Definition at line 129 of file bmvv_f_manager.h.

bgui_bargraph_clipon_tableau_sptr bmvv_f_manager::bargraph_ [private]
 

Definition at line 130 of file bmvv_f_manager.h.

vcl_map<int, vpgl_proj_camera<double>*> bmvv_f_manager::cam_map_ [private]
 

Definition at line 136 of file bmvv_f_manager.h.

vcl_map<int, int> bmvv_f_manager::corr_map_ [private]
 

Definition at line 133 of file bmvv_f_manager.h.

vcl_vector<brct_corr_sptr> bmvv_f_manager::corrs_ [private]
 

Definition at line 131 of file bmvv_f_manager.h.

bool bmvv_f_manager::first_ [private]
 

Definition at line 125 of file bmvv_f_manager.h.

vpgl_fundamental_matrix<double> bmvv_f_manager::fm_ [private]
 

Definition at line 132 of file bmvv_f_manager.h.

vtol_face_2d_sptr bmvv_f_manager::foreground_face_ [private]
 

Definition at line 128 of file bmvv_f_manager.h.

vgui_grid_tableau_sptr bmvv_f_manager::grid_ [private]
 

Definition at line 127 of file bmvv_f_manager.h.

bmvv_f_manager * bmvv_f_manager::instance_ = 0 [static, private]
 

Definition at line 137 of file bmvv_f_manager.h.

vcl_vector<bgui_vtol2D_tableau_sptr> bmvv_f_manager::vtabs_ [private]
 

Definition at line 135 of file bmvv_f_manager.h.

vgui_window* bmvv_f_manager::win_ [private]
 

Definition at line 126 of file bmvv_f_manager.h.

vcl_vector<vgl_point_3d<double> > bmvv_f_manager::world_ [private]
 

Definition at line 134 of file bmvv_f_manager.h.


The documentation for this class was generated from the following files:
Generated on Thu Jan 10 14:54:22 2008 for contrib/brl/bmvl/bmvv by  doxygen 1.4.4