Public Member Functions | Static Public Member Functions | Private Attributes
bgui_histogram_tableau Class Reference

#include <bgui_histogram_tableau.h>

Inheritance diagram for bgui_histogram_tableau:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 bgui_histogram_tableau ()
 Constructor takes all the labels used on the graph.
 ~bgui_histogram_tableau ()
 Destructor.
void update (vil1_memory_image_of< vil1_rgb< unsigned char > > &img)
 Update the histogram.
void update (vil_image_view< vxl_byte > &img)
vcl_string type_name () const
 Return the name of this tableau.
bool handle (const vgui_event &)
 Handles all events for this tableau.
void clear ()
 Clear the data.
virtual vcl_string name () const
virtual vcl_string file_name () const
virtual vcl_string pretty_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 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_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 void get_all (vcl_vector< vgui_tableau_sptr > *out)
static bool exists (vgui_tableau_sptr const &)

Private Attributes

int left_offset_
int top_offset_
int graph_width_
int graph_height_
vcl_vector< float > xpoints_
 List of points.
vcl_vector< float > ypoints_
vgui_easy2D_tableau_sptr easy_
vgui_soview2D_linestripplot_
vcl_vector< double > data_

Detailed Description

Definition at line 26 of file bgui_histogram_tableau.h.


Constructor & Destructor Documentation

bgui_histogram_tableau::bgui_histogram_tableau ( )

Constructor takes all the labels used on the graph.

Constructor.

Definition at line 17 of file bgui_histogram_tableau.cxx.

bgui_histogram_tableau::~bgui_histogram_tableau ( )

Destructor.

Definition at line 38 of file bgui_histogram_tableau.cxx.


Member Function Documentation

void bgui_histogram_tableau::clear ( )

Clear the data.

Definition at line 119 of file bgui_histogram_tableau.cxx.

bool bgui_histogram_tableau::handle ( const vgui_event event) [virtual]

Handles all events for this tableau.

Reimplemented from vgui_tableau.

Definition at line 112 of file bgui_histogram_tableau.cxx.

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

Return the name of this tableau.

Reimplemented from vgui_tableau.

Definition at line 37 of file bgui_histogram_tableau.h.

void bgui_histogram_tableau::update ( vil1_memory_image_of< vil1_rgb< unsigned char > > &  img)

Update the histogram.

Definition at line 43 of file bgui_histogram_tableau.cxx.

void bgui_histogram_tableau::update ( vil_image_view< vxl_byte > &  img)

Definition at line 78 of file bgui_histogram_tableau.cxx.


Member Data Documentation

vcl_vector<double> bgui_histogram_tableau::data_ [private]

Definition at line 51 of file bgui_histogram_tableau.h.

Definition at line 49 of file bgui_histogram_tableau.h.

Definition at line 46 of file bgui_histogram_tableau.h.

Definition at line 45 of file bgui_histogram_tableau.h.

Definition at line 43 of file bgui_histogram_tableau.h.

Definition at line 50 of file bgui_histogram_tableau.h.

Definition at line 44 of file bgui_histogram_tableau.h.

vcl_vector<float> bgui_histogram_tableau::xpoints_ [private]

List of points.

Definition at line 48 of file bgui_histogram_tableau.h.

vcl_vector<float> bgui_histogram_tableau::ypoints_ [private]

Definition at line 48 of file bgui_histogram_tableau.h.


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