pPlotterWindow.h File Reference

#include <wx/wxprec.h>
#include <wx/wx.h>
#include "pPlotterLayer.h"
#include "pGraphicalFunction.h"
#include "mathplot.h"
#include "marTypes.h"
Include dependency graph for pPlotterWindow.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  pPlotterWindow

Defines

#define MAX_FUNCTIONS   7
#define DEFAULT_SCALE   1
#define MAX_SCALE   2
#define USER_SCALE   3
#define DEFAULT_PLOTTER   1
#define HISTOGRAM_PLOTTER   2

Enumerations

enum  {
  pwID_ADDPOINT = 2010, pwID_DELPOINT, pwID_SHOWPOINTS, pwID_STARTDRAWING,
  pwID_DELFUNCTION, pwID_STOPDRAWING, pwID_ADDNEWPOINT, pwID_NOSHOWPOINTS,
  pwID_MYZOOMIN, pwID_MYZOOMOUT, pwID_SPLINE, pwID_LINE,
  pwID_SAVE, pwID_LOAD, pwID_CHANGECOLOR, pwID_TRASLATEACTUALFUNCTION,
  pwID_LEFTUP
}

Define Documentation

#define DEFAULT_PLOTTER   1

Definition at line 75 of file pPlotterWindow.h.

Referenced by pPlotterWindow::pPlotterWindow().

#define DEFAULT_SCALE   1

this scale, scales each function with its maximum x, and maximum y in its points

Definition at line 58 of file pPlotterWindow.h.

Referenced by pPlotterWindow::pPlotterWindow().

#define HISTOGRAM_PLOTTER   2

Definition at line 80 of file pPlotterWindow.h.

#define MAX_FUNCTIONS   7

Definition at line 53 of file pPlotterWindow.h.

#define MAX_SCALE   2

this scale with the maximun x and y of all the functions defined

Definition at line 62 of file pPlotterWindow.h.

#define USER_SCALE   3

this scales with the scale giving by the user of the widget

Definition at line 66 of file pPlotterWindow.h.


Enumeration Type Documentation

anonymous enum

Command IDs used by pPlotterWindow

Enumerator:
pwID_ADDPOINT 

add a point to the function

pwID_DELPOINT 

delete a point of the function

pwID_SHOWPOINTS 

shows the points that the function has

pwID_STARTDRAWING 

let to the user to start drawing the curve

pwID_DELFUNCTION 

delete a function that is in the plotter

pwID_STOPDRAWING 

Stops the drawing of the function.

pwID_ADDNEWPOINT 

add a new point to the function.

pwID_NOSHOWPOINTS 

No show the points of the function.

pwID_MYZOOMIN 

Zoom in the function.

pwID_MYZOOMOUT 

Zoom out the points of the function.

pwID_SPLINE 

Spline the actual curve.

pwID_LINE 

Piecewise the actual curve.

pwID_SAVE 

Save the function in a .txt file.

pwID_LOAD 

Load the function from a .txt file.

pwID_CHANGECOLOR 

Change the color of the function.

pwID_TRASLATEACTUALFUNCTION 

move the actual function

pwID_LEFTUP 

listening a click up

Definition at line 31 of file pPlotterWindow.h.

00032 {
00033         pwID_ADDPOINT = 2010,    
00034         pwID_DELPOINT,       
00035         pwID_SHOWPOINTS,  
00036         pwID_STARTDRAWING, 
00037         pwID_DELFUNCTION, 
00038         pwID_STOPDRAWING,
00039         pwID_ADDNEWPOINT,
00040         pwID_NOSHOWPOINTS, 
00041         pwID_MYZOOMIN,
00042         pwID_MYZOOMOUT,
00043         pwID_SPLINE,
00044         pwID_LINE,
00045         pwID_SAVE,
00046         pwID_LOAD, 
00047         pwID_CHANGECOLOR, 
00048         pwID_TRASLATEACTUALFUNCTION, 
00049         pwID_LEFTUP
00050 
00051 };


Generated on 18 Mar 2010 for creaMaracasVisu_lib by  doxygen 1.6.1