Public Member Functions | Private Attributes
bgui_bargraph_clipon_tableau Class Reference

#include <bgui_bargraph_clipon_tableau.h>

Inheritance diagram for bgui_bargraph_clipon_tableau:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 bgui_bargraph_clipon_tableau (vgui_easy2D_tableau_sptr const &easy)
 Constructor.
 ~bgui_bargraph_clipon_tableau ()
 Destructor.
void set_color_vector (vcl_vector< unsigned char > const &colors)
 Set the color vector, 0-7 color code.
void update (vcl_vector< float > const &bars, const bool fixed=false, const float scale=1.0)
 Update the data vector. Defaults determine size of plot from window.
vcl_string type_name () const
 Return the name of this tableau.
void clear ()
 Clear the data.
void ref ()
void unref ()
int get_references () const
bool is_referenced () const

Private Attributes

int left_offset_
int top_offset_
int graph_width_
int graph_height_
int nominal_bar_width_
vcl_vector< vcl_vector< float > > color_values_
vcl_vector< unsigned char > color_index_
vcl_vector< float > bars_
vgui_easy2D_tableau_sptr easy_
vcl_vector
< vgui_soview2D_lineseg * > 
bar_plot_

Detailed Description

Definition at line 21 of file bgui_bargraph_clipon_tableau.h.


Constructor & Destructor Documentation

bgui_bargraph_clipon_tableau::bgui_bargraph_clipon_tableau ( vgui_easy2D_tableau_sptr const &  easy)

Constructor.

Definition at line 13 of file bgui_bargraph_clipon_tableau.cxx.

bgui_bargraph_clipon_tableau::~bgui_bargraph_clipon_tableau ( )

Destructor.

Definition at line 50 of file bgui_bargraph_clipon_tableau.cxx.


Member Function Documentation

void bgui_bargraph_clipon_tableau::clear ( )

Clear the data.

Definition at line 120 of file bgui_bargraph_clipon_tableau.cxx.

void bgui_bargraph_clipon_tableau::set_color_vector ( vcl_vector< unsigned char > const &  colors)

Set the color vector, 0-7 color code.

Definition at line 114 of file bgui_bargraph_clipon_tableau.cxx.

vcl_string bgui_bargraph_clipon_tableau::type_name ( ) const [inline]

Return the name of this tableau.

Definition at line 36 of file bgui_bargraph_clipon_tableau.h.

void bgui_bargraph_clipon_tableau::update ( vcl_vector< float > const &  bars,
const bool  fixed = false,
const float  scale = 1.0 
)

Update the data vector. Defaults determine size of plot from window.

Definition at line 59 of file bgui_bargraph_clipon_tableau.cxx.


Member Data Documentation

Definition at line 50 of file bgui_bargraph_clipon_tableau.h.

vcl_vector<float> bgui_bargraph_clipon_tableau::bars_ [private]

Definition at line 48 of file bgui_bargraph_clipon_tableau.h.

vcl_vector<unsigned char> bgui_bargraph_clipon_tableau::color_index_ [private]

Definition at line 47 of file bgui_bargraph_clipon_tableau.h.

vcl_vector<vcl_vector<float> > bgui_bargraph_clipon_tableau::color_values_ [private]

Definition at line 46 of file bgui_bargraph_clipon_tableau.h.

Definition at line 49 of file bgui_bargraph_clipon_tableau.h.

Definition at line 44 of file bgui_bargraph_clipon_tableau.h.

Definition at line 43 of file bgui_bargraph_clipon_tableau.h.

Definition at line 41 of file bgui_bargraph_clipon_tableau.h.

Definition at line 45 of file bgui_bargraph_clipon_tableau.h.

Definition at line 42 of file bgui_bargraph_clipon_tableau.h.


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