All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Types | Public Member Functions | Public Attributes | Static Public Attributes
pangolin::Plotter Struct Reference

#include <plotter.h>

Inheritance diagram for pangolin::Plotter:
Inheritance graph
[legend]

List of all members.

Public Types

enum  PLOT_MODES { TIME_SERIES, XY, STACKED_HISTOGRAM }

Public Member Functions

void DrawSequence (const DataSequence &seq)
void DrawSequence (const DataSequence &x, const DataSequence &y)
void DrawSequenceHistogram (const std::vector< DataSequence > &seq)
void DrawTicks ()
void Keyboard (View &, unsigned char key, int x, int y, bool pressed)
void Mouse (View &, MouseButton button, int x, int y, bool pressed, int mouse_state)
void MouseMotion (View &, int x, int y, int mouse_state)
 Plotter (DataLog *log, float left=0, float right=600, float bottom=-1, float top=1, float tickx=30, float ticky=0.5)
void Render ()
void ResetView ()
void ScreenToPlot (int x, int y)

Public Attributes

int draw_mode
float int_x [2]
float int_x_dflt [2]
float int_y [2]
float int_y_dflt [2]
int last_mouse_pos [2]
DataLoglog
int mouse_state
float mouse_xy [2]
unsigned plot_mode
bool show [show_n]
float ticks [2]
bool track_front

Static Public Attributes

static const unsigned modes_n = 3
static const unsigned int show_n = 9

Detailed Description

Definition at line 129 of file plotter.h.


Member Enumeration Documentation

Enumerator:
TIME_SERIES 
XY 
STACKED_HISTOGRAM 

Definition at line 159 of file plotter.h.


Constructor & Destructor Documentation

pangolin::Plotter::Plotter ( DataLog log,
float  left = 0,
float  right = 600,
float  bottom = -1,
float  top = 1,
float  tickx = 30,
float  ticky = 0.5 
)

Definition at line 178 of file plotter.cpp.


Member Function Documentation

Definition at line 240 of file plotter.cpp.

void pangolin::Plotter::DrawSequence ( const DataSequence x,
const DataSequence y 
)

Definition at line 296 of file plotter.cpp.

void pangolin::Plotter::DrawSequenceHistogram ( const std::vector< DataSequence > &  seq)

Definition at line 254 of file plotter.cpp.

Definition at line 193 of file plotter.cpp.

void pangolin::Plotter::Keyboard ( View ,
unsigned char  key,
int  x,
int  y,
bool  pressed 
) [virtual]

Reimplemented from pangolin::Handler.

Definition at line 437 of file plotter.cpp.

void pangolin::Plotter::Mouse ( View ,
MouseButton  button,
int  x,
int  y,
bool  pressed,
int  mouse_state 
) [virtual]

Reimplemented from pangolin::Handler.

Definition at line 517 of file plotter.cpp.

void pangolin::Plotter::MouseMotion ( View ,
int  x,
int  y,
int  mouse_state 
) [virtual]

Reimplemented from pangolin::Handler.

Definition at line 536 of file plotter.cpp.

void pangolin::Plotter::Render ( void  ) [virtual]

Perform any automatic rendering for this View. Default implementation simply instructs children to render themselves.

Reimplemented from pangolin::View.

Definition at line 307 of file plotter.cpp.

Definition at line 426 of file plotter.cpp.

void pangolin::Plotter::ScreenToPlot ( int  x,
int  y 
)

Definition at line 511 of file plotter.cpp.


Member Data Documentation

Definition at line 157 of file plotter.h.

Definition at line 150 of file plotter.h.

Definition at line 148 of file plotter.h.

Definition at line 151 of file plotter.h.

Definition at line 149 of file plotter.h.

Definition at line 153 of file plotter.h.

Definition at line 146 of file plotter.h.

const unsigned pangolin::Plotter::modes_n = 3 [static]

Definition at line 160 of file plotter.h.

Definition at line 154 of file plotter.h.

Definition at line 155 of file plotter.h.

Definition at line 161 of file plotter.h.

Reimplemented from pangolin::View.

Definition at line 163 of file plotter.h.

const unsigned int pangolin::Plotter::show_n = 9 [static]

Definition at line 162 of file plotter.h.

Definition at line 152 of file plotter.h.

Definition at line 147 of file plotter.h.


The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


pangolin_wrapper
Author(s): Todor Stoyanov
autogenerated on Wed Feb 13 2013 14:03:25