Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

Plot2D Class Reference

#include <Plot2D.h>

Inheritance diagram for Plot2D:

Plot Plot2DSimple Plot2DSurface List of all members.

Public Member Functions

 Plot2D (Worksheet *p)
 ~Plot2D ()
void saveAxes (QTextStream *t)
void openAxes (QTextStream *t, int version)
AxisgetAxis (int i)
void setRanges (LRange *r)
void setActRanges (LRange *r)
void setRange (LRange *r, int i)
void setActRange (LRange *r, int i)
void enableGrid (int index, bool b=true)
bool gridEnabled (int index)
void enableBorder (int index, bool b=true)
bool borderEnabled (int index)
void draw (QPainter *p, int w, int h)
void drawAxes (QPainter *p, int w, int h)
void drawBorder (QPainter *p, int w, int h)
virtual void drawCurves (QPainter *p, int w, int h)=0
void setBorder (int item, bool on)

Protected Attributes

Axis axis [4]

Private Attributes

bool borderenabled [4]
bool gridenabled [8]

Constructor & Destructor Documentation

Plot2D::Plot2D Worksheet p  ) 
 

Plot2D::~Plot2D  )  [inline]
 


Member Function Documentation

bool Plot2D::borderEnabled int  index  )  [inline, virtual]
 

Implements Plot.

void Plot2D::draw QPainter *  p,
int  w,
int  h
[virtual]
 

Implements Plot.

void Plot2D::drawAxes QPainter *  p,
int  w,
int  h
 

void Plot2D::drawBorder QPainter *  p,
int  w,
int  h
 

virtual void Plot2D::drawCurves QPainter *  p,
int  w,
int  h
[pure virtual]
 

Implemented in Plot2DSimple, and Plot2DSurface.

void Plot2D::enableBorder int  index,
bool  b = true
[inline, virtual]
 

Implements Plot.

void Plot2D::enableGrid int  index,
bool  b = true
[inline, virtual]
 

Implements Plot.

Axis* Plot2D::getAxis int  i  )  [inline, virtual]
 

Implements Plot.

bool Plot2D::gridEnabled int  index  )  [inline, virtual]
 

Implements Plot.

void Plot2D::openAxes QTextStream *  t,
int  version
[virtual]
 

Implements Plot.

void Plot2D::saveAxes QTextStream *  t  )  [virtual]
 

Implements Plot.

void Plot2D::setActRange LRange r,
int  i
[virtual]
 

Implements Plot.

void Plot2D::setActRanges LRange r  )  [virtual]
 

Implements Plot.

void Plot2D::setBorder int  item,
bool  on
[virtual]
 

Implements Plot.

void Plot2D::setRange LRange r,
int  i
[inline, virtual]
 

Implements Plot.

void Plot2D::setRanges LRange r  )  [inline, virtual]
 

Implements Plot.


Member Data Documentation

Axis Plot2D::axis[4] [protected]
 

bool Plot2D::borderenabled[4] [private]
 

bool Plot2D::gridenabled[8] [private]
 


The documentation for this class was generated from the following files:
Generated on Fri Aug 19 21:34:46 2005 for LabPlot by doxygen 1.3.6