Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes
bgui_vsol2D_tableau Class Reference

#include <bgui_vsol2D_tableau.h>

Inheritance diagram for bgui_vsol2D_tableau:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 bgui_vsol2D_tableau (const char *n="unnamed")
 bgui_vsol2D_tableau (vgui_image_tableau_sptr const &it, const char *n="unnamed")
 bgui_vsol2D_tableau (vgui_tableau_sptr const &t, const char *n="unnamed")
 ~bgui_vsol2D_tableau ()
vcl_string type_name () const
 Returns the type of this tableau ('bgui_vsol2D_tableau').
bgui_vsol_soview2D_pointadd_vsol_point_2d (vsol_point_2d_sptr const &p, const vgui_style_sptr &style=NULL)
 display for vsol_point_2d.
bgui_vsol_soview2D_line_segadd_vsol_line_2d (vsol_line_2d_sptr const &line, const vgui_style_sptr &style=NULL)
 display for vsol_line_2d.
bgui_vsol_soview2D_conic_segadd_vsol_conic_2d (vsol_conic_2d_sptr const &conic, const vgui_style_sptr &style=NULL)
 display for vsol_conic_2d.
bgui_vsol_soview2D_polylineadd_vsol_polyline_2d (vsol_polyline_2d_sptr const &pline, const vgui_style_sptr &style=NULL)
 display for vsol_polyline_2d.
bgui_vsol_soview2D_polygonadd_vsol_polygon_2d (vsol_polygon_2d_sptr const &pline, const vgui_style_sptr &style=NULL)
 display for vsol_polygon_2d.
bgui_vsol_soview2D_polygon_setadd_vsol_polygon_2d_set (vsol_poly_set_2d_sptr const &set, const vgui_style_sptr &style=NULL)
 display for vsol_polygon_2d.
bgui_vsol_soview2D_digital_curveadd_digital_curve (vsol_digital_curve_2d_sptr const &dc, const vgui_style_sptr &style=NULL)
 display for vsol_digital_curve_2d.
bgui_vsol_soview2D_digital_curveadd_dotted_digital_curve (vsol_digital_curve_2d_sptr const &dc, const vgui_style_sptr &style=NULL)
 display for vsol_digital_curve_2d (dotted).
bgui_vsol_soview2D_edgel_curveadd_edgel_curve (vdgl_digital_curve_sptr const &dc, const vgui_style_sptr &style=NULL)
 display for vdgl_digital_curve.
bgui_vsol_soview2D_edgel_curveadd_dotted_edgel_curve (vdgl_digital_curve_sptr const &dc, const vgui_style_sptr &style=NULL)
 display for vdgl_digital_curve (dotted).
void add_spatial_object (vsol_spatial_object_2d_sptr const &sos, const vgui_style_sptr &style=NULL)
void add_spatial_objects (vcl_vector< vsol_spatial_object_2d_sptr > const &sos, const vgui_style_sptr &style=NULL)
 display methods for vectors of vsol classes (not grouped).
void set_vsol_spatial_object_2d_style (vsol_spatial_object_2d_sptr sos, const vgui_style_sptr &style)
 Methods for changing the default style of displayable objects.
void set_vsol_point_2d_style (const vgui_style_sptr &style)
void set_vsol_line_2d_style (const vgui_style_sptr &style)
void set_vsol_conic_2d_style (const vgui_style_sptr &style)
void set_vsol_polyline_2d_style (const vgui_style_sptr &style)
void set_digital_curve_style (const vgui_style_sptr &style)
void set_dotted_digital_curve_style (const vgui_style_sptr &style)
void set_edgel_curve_style (const vgui_style_sptr &style)
void set_dotted_edgel_curve_style (const vgui_style_sptr &style)
bool handle (const vgui_event &e)
vcl_string name () const
vcl_string file_name () const
vcl_string pretty_name () const
void set_image (vcl_string const &image)
void set_child (vgui_tableau_sptr const &)
void set_foreground (float r, float g, float b, float a=1.0f)
void set_line_width (float w)
void set_point_radius (float r)
void add (vgui_soview2D *)
virtual void add (vgui_soview *)
vgui_soview2D_pointadd_point (float x, float y)
vgui_soview2D_linesegadd_line (float x0, float y0, float x1, float y1)
vgui_soview2D_infinite_lineadd_infinite_line (float a, float b, float c)
vgui_soview2D_circleadd_circle (float x, float y, float r)
vgui_soview2D_ellipseadd_ellipse (float x, float y, float w, float h, float phi)
vgui_soview2D_pointadd_point_3dv (double const p[3])
vgui_soview2D_linesegadd_line_3dv_3dv (double const p1[3], double const p2[3])
vgui_soview2D_infinite_lineadd_infinite_line_3dv (double const l[3])
vgui_soview2D_circleadd_circle_3dv (double const point[3], float r)
vgui_soview2D_linestripadd_linestrip (unsigned n, float const *x, float const *y)
vgui_soview2D_polygonadd_polygon (unsigned n, float const *x, float const *y)
void remove (vgui_soview *vso)
virtual void remove (vgui_soview *&)
void clear ()
vcl_vector< vgui_soview * > const & get_all () const
vgui_image_tableau_sptr get_image_tableau () const
void print_psfile (vcl_string filename, int reduction_factor, bool print_geom_objs, int wd=-1, int ht=-1)
vgui_soview2D_imageadd_image (float x, float y, vil_image_view_base const &img)
vgui_soview2D_imageadd_image (float x, float y, vil1_image const &img)
bool motion (int x, int y)
bool mouse_down (int x, int y, vgui_button button, vgui_modifier modifier)
void draw_soviews_render ()
void draw_soviews_select ()
bool is_selected (unsigned iden)
vcl_vector< unsigned > const & get_selected () const
vcl_vector< vgui_soview * > get_selected_soviews () const
bool select (unsigned iden)
bool deselect (unsigned iden)
bool deselect_all ()
bool is_highlighted (unsigned iden) const
unsigned get_highlighted () const
vgui_soviewget_highlighted_soview ()
bool highlight (unsigned iden)
void set_current_grouping (vcl_string t_name)
vcl_string get_current_grouping () const
vgui_displaybase_tableau_groupingget_grouping_ptr (vcl_string t_name)
vcl_vector< vcl_string > get_grouping_names ()
void set_selection_callback (vgui_displaybase_tableau_selection_callback *cb)
vcl_vector< unsigned > get_all_ids () const
vgui_soviewcontains_hit (vcl_vector< unsigned > hit)
unsigned get_id () 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 add_child (vgui_tableau_sptr const &)
virtual bool remove_child (vgui_tableau_sptr 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 get_bounding_box (float low[3], float high[3]) const
virtual bool draw ()
virtual bool mouse_up (int x, int y, vgui_button, vgui_modifier)
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 void get_all (vcl_vector< vgui_tableau_sptr > *out)
static bool exists (vgui_tableau_sptr const &)

Public Attributes

GLenum gl_mode

Protected Member Functions

void init ()

Protected Attributes

vgui_style_sptr point_style_
 Default styles.
vgui_style_sptr line_style_
vgui_style_sptr conic_style_
vgui_style_sptr polyline_style_
vgui_style_sptr digital_curve_style_
vgui_style_sptr dotted_digital_curve_style_
vgui_style_sptr edgel_curve_style_
vgui_style_sptr dotted_edgel_curve_style_
vgui_parent_child_link image_slot
vgui_image_tableau_sptr image_image
vcl_string name_
vgui_style_sptr style_
vcl_vector< vgui_soview * > objects
vcl_map< vcl_string,
vgui_displaybase_tableau_grouping
groupings
vcl_string current_grouping
vcl_vector< unsigned > selections
unsigned highlighted
int gl_display_list
vgui_displaybase_tableau_selection_callbackcb_

Detailed Description

Definition at line 54 of file bgui_vsol2D_tableau.h.


Constructor & Destructor Documentation

bgui_vsol2D_tableau::bgui_vsol2D_tableau ( const char *  n = "unnamed")

Definition at line 16 of file bgui_vsol2D_tableau.cxx.

bgui_vsol2D_tableau::bgui_vsol2D_tableau ( vgui_image_tableau_sptr const &  it,
const char *  n = "unnamed" 
)

Definition at line 19 of file bgui_vsol2D_tableau.cxx.

bgui_vsol2D_tableau::bgui_vsol2D_tableau ( vgui_tableau_sptr const &  t,
const char *  n = "unnamed" 
)

Definition at line 23 of file bgui_vsol2D_tableau.cxx.

bgui_vsol2D_tableau::~bgui_vsol2D_tableau ( )

Definition at line 27 of file bgui_vsol2D_tableau.cxx.


Member Function Documentation

bgui_vsol_soview2D_digital_curve * bgui_vsol2D_tableau::add_digital_curve ( vsol_digital_curve_2d_sptr const &  dc,
const vgui_style_sptr style = NULL 
)

display for vsol_digital_curve_2d.

Definition at line 136 of file bgui_vsol2D_tableau.cxx.

bgui_vsol_soview2D_digital_curve * bgui_vsol2D_tableau::add_dotted_digital_curve ( vsol_digital_curve_2d_sptr const &  dc,
const vgui_style_sptr style = NULL 
)

display for vsol_digital_curve_2d (dotted).

Definition at line 151 of file bgui_vsol2D_tableau.cxx.

bgui_vsol_soview2D_edgel_curve * bgui_vsol2D_tableau::add_dotted_edgel_curve ( vdgl_digital_curve_sptr const &  dc,
const vgui_style_sptr style = NULL 
)

display for vdgl_digital_curve (dotted).

Definition at line 181 of file bgui_vsol2D_tableau.cxx.

bgui_vsol_soview2D_edgel_curve * bgui_vsol2D_tableau::add_edgel_curve ( vdgl_digital_curve_sptr const &  dc,
const vgui_style_sptr style = NULL 
)

display for vdgl_digital_curve.

Definition at line 166 of file bgui_vsol2D_tableau.cxx.

void bgui_vsol2D_tableau::add_spatial_object ( vsol_spatial_object_2d_sptr const &  sos,
const vgui_style_sptr style = NULL 
)

Definition at line 208 of file bgui_vsol2D_tableau.cxx.

void bgui_vsol2D_tableau::add_spatial_objects ( vcl_vector< vsol_spatial_object_2d_sptr > const &  sos,
const vgui_style_sptr style = NULL 
)

display methods for vectors of vsol classes (not grouped).

Definition at line 196 of file bgui_vsol2D_tableau.cxx.

bgui_vsol_soview2D_conic_seg * bgui_vsol2D_tableau::add_vsol_conic_2d ( vsol_conic_2d_sptr const &  conic,
const vgui_style_sptr style = NULL 
)

display for vsol_conic_2d.

Definition at line 78 of file bgui_vsol2D_tableau.cxx.

bgui_vsol_soview2D_line_seg * bgui_vsol2D_tableau::add_vsol_line_2d ( vsol_line_2d_sptr const &  line,
const vgui_style_sptr style = NULL 
)

display for vsol_line_2d.

Definition at line 63 of file bgui_vsol2D_tableau.cxx.

bgui_vsol_soview2D_point * bgui_vsol2D_tableau::add_vsol_point_2d ( vsol_point_2d_sptr const &  p,
const vgui_style_sptr style = NULL 
)

display for vsol_point_2d.

Definition at line 48 of file bgui_vsol2D_tableau.cxx.

bgui_vsol_soview2D_polygon * bgui_vsol2D_tableau::add_vsol_polygon_2d ( vsol_polygon_2d_sptr const &  pline,
const vgui_style_sptr style = NULL 
)

display for vsol_polygon_2d.

Definition at line 108 of file bgui_vsol2D_tableau.cxx.

bgui_vsol_soview2D_polygon_set * bgui_vsol2D_tableau::add_vsol_polygon_2d_set ( vsol_poly_set_2d_sptr const &  set,
const vgui_style_sptr style = NULL 
)

display for vsol_polygon_2d.

Definition at line 122 of file bgui_vsol2D_tableau.cxx.

bgui_vsol_soview2D_polyline * bgui_vsol2D_tableau::add_vsol_polyline_2d ( vsol_polyline_2d_sptr const &  pline,
const vgui_style_sptr style = NULL 
)

display for vsol_polyline_2d.

Definition at line 93 of file bgui_vsol2D_tableau.cxx.

void bgui_vsol2D_tableau::init ( ) [protected]

Reimplemented in bgui_vtol2D_tableau.

Definition at line 31 of file bgui_vsol2D_tableau.cxx.

void bgui_vsol2D_tableau::set_digital_curve_style ( const vgui_style_sptr style)

Definition at line 311 of file bgui_vsol2D_tableau.cxx.

void bgui_vsol2D_tableau::set_dotted_digital_curve_style ( const vgui_style_sptr style)

Definition at line 321 of file bgui_vsol2D_tableau.cxx.

void bgui_vsol2D_tableau::set_dotted_edgel_curve_style ( const vgui_style_sptr style)

Definition at line 341 of file bgui_vsol2D_tableau.cxx.

void bgui_vsol2D_tableau::set_edgel_curve_style ( const vgui_style_sptr style)

Definition at line 331 of file bgui_vsol2D_tableau.cxx.

void bgui_vsol2D_tableau::set_vsol_conic_2d_style ( const vgui_style_sptr style)
void bgui_vsol2D_tableau::set_vsol_line_2d_style ( const vgui_style_sptr style)

Definition at line 291 of file bgui_vsol2D_tableau.cxx.

void bgui_vsol2D_tableau::set_vsol_point_2d_style ( const vgui_style_sptr style)

Definition at line 281 of file bgui_vsol2D_tableau.cxx.

void bgui_vsol2D_tableau::set_vsol_polyline_2d_style ( const vgui_style_sptr style)

Definition at line 301 of file bgui_vsol2D_tableau.cxx.

void bgui_vsol2D_tableau::set_vsol_spatial_object_2d_style ( vsol_spatial_object_2d_sptr  sos,
const vgui_style_sptr style 
)

Methods for changing the default style of displayable objects.

Definition at line 269 of file bgui_vsol2D_tableau.cxx.

vcl_string bgui_vsol2D_tableau::type_name ( ) const [inline, virtual]

Returns the type of this tableau ('bgui_vsol2D_tableau').

Reimplemented from vgui_easy2D_tableau.

Reimplemented in bgui_vtol2D_tableau.

Definition at line 68 of file bgui_vsol2D_tableau.h.


Member Data Documentation

Definition at line 145 of file bgui_vsol2D_tableau.h.

Definition at line 147 of file bgui_vsol2D_tableau.h.

Definition at line 148 of file bgui_vsol2D_tableau.h.

Definition at line 150 of file bgui_vsol2D_tableau.h.

Definition at line 149 of file bgui_vsol2D_tableau.h.

Definition at line 144 of file bgui_vsol2D_tableau.h.

Default styles.

Definition at line 143 of file bgui_vsol2D_tableau.h.

Definition at line 146 of file bgui_vsol2D_tableau.h.


The documentation for this class was generated from the following files: