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

Plot2DSurface Class Reference

surface 2D Plot (density, contour) More...

#include <Plot2DSurface.h>

Inheritance diagram for Plot2DSurface:

Plot2D Plot List of all members.

Public Member Functions

 Plot2DSurface (Worksheet *p)
void saveSurfaceXML (QDomDocument doc, QDomElement plottag)
void openSurfaceXML (QDomElement e)
QStringList Info ()
void drawFill (QPainter *, int, int)
void drawLegend (QPainter *p, int x, int y)
void drawCurves (QPainter *p, int w, int h)
bool contourEnabled ()
void enableContour (bool e=true)
QColor ContourColor ()
void setContourColor (QColor c)
void setContourColor (QString c)
bool ColoredContour ()
void setColoredContour (bool c)
int ContourWidth ()
void setContourWidth (int w=0)
bool Mesh ()
void setMesh (bool m)
bool Relative ()
void setRelative (bool r)
int Brush ()
void setBrush (int b)
bool densityEnabled ()
void enableDensity (bool e=true)
int Number ()
void setNumber (int n)
double Threshold ()
void setThreshold (double t)
QColor Color (int value)

Private Member Functions

int graph_segment (QPainter *p, double x1, double y1, double z1, double x2, double y2, double z2, double x3, double y3, double z3, double level)

Private Attributes

bool densityenabled
bool contourenabled
QColor contour_color
bool colored_contour
int contour_width
bool mesh
bool relative
int brush
int number
double threshold

Detailed Description

surface 2D Plot (density, contour)


Constructor & Destructor Documentation

Plot2DSurface::Plot2DSurface Worksheet p  ) 
 


Member Function Documentation

int Plot2DSurface::Brush  )  [inline]
 

QColor Plot2DSurface::Color int  value  ) 
 

bool Plot2DSurface::ColoredContour  )  [inline]
 

QColor Plot2DSurface::ContourColor  )  [inline]
 

bool Plot2DSurface::contourEnabled  )  [inline]
 

int Plot2DSurface::ContourWidth  )  [inline]
 

bool Plot2DSurface::densityEnabled  )  [inline]
 

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

Implements Plot2D.

void Plot2DSurface::drawFill QPainter *  ,
int  ,
int 
[inline, virtual]
 

Implements Plot2D.

void Plot2DSurface::drawLegend QPainter *  p,
int  x,
int  y
 

void Plot2DSurface::enableContour bool  e = true  )  [inline]
 

void Plot2DSurface::enableDensity bool  e = true  )  [inline]
 

int Plot2DSurface::graph_segment QPainter *  p,
double  x1,
double  y1,
double  z1,
double  x2,
double  y2,
double  z2,
double  x3,
double  y3,
double  z3,
double  level
[private]
 

QStringList Plot2DSurface::Info  ) 
 

bool Plot2DSurface::Mesh  )  [inline]
 

int Plot2DSurface::Number  )  [inline]
 

void Plot2DSurface::openSurfaceXML QDomElement  e  ) 
 

bool Plot2DSurface::Relative  )  [inline]
 

void Plot2DSurface::saveSurfaceXML QDomDocument  doc,
QDomElement  plottag
 

void Plot2DSurface::setBrush int  b  )  [inline]
 

void Plot2DSurface::setColoredContour bool  c  )  [inline]
 

void Plot2DSurface::setContourColor QString  c  )  [inline]
 

void Plot2DSurface::setContourColor QColor  c  )  [inline]
 

void Plot2DSurface::setContourWidth int  w = 0  )  [inline]
 

void Plot2DSurface::setMesh bool  m  )  [inline]
 

void Plot2DSurface::setNumber int  n  )  [inline]
 

void Plot2DSurface::setRelative bool  r  )  [inline]
 

void Plot2DSurface::setThreshold double  t  )  [inline]
 

double Plot2DSurface::Threshold  )  [inline]
 


Member Data Documentation

int Plot2DSurface::brush [private]
 

bool Plot2DSurface::colored_contour [private]
 

QColor Plot2DSurface::contour_color [private]
 

int Plot2DSurface::contour_width [private]
 

bool Plot2DSurface::contourenabled [private]
 

bool Plot2DSurface::densityenabled [private]
 

bool Plot2DSurface::mesh [private]
 

int Plot2DSurface::number [private]
 

bool Plot2DSurface::relative [private]
 

double Plot2DSurface::threshold [private]
 


The documentation for this class was generated from the following files:
Generated on Sat Oct 13 21:55:02 2007 for LabPlot by  doxygen 1.4.4