Function Class Reference

Abstract base class for mathematical functions. More...

#include <qwt3d_function.h>

Inheritance diagram for Function:

GridMapping Mapping List of all members.

Public Member Functions

 Function ()
 Function (Qwt3D::SurfacePlot &plotWidget)
 Function (Qwt3D::SurfacePlot *plotWidget)
virtual double operator() (double x, double y)=0
void setMinZ (double val)
void setMaxZ (double val)
virtual bool create (Qwt3D::SurfacePlot &plotWidget)
virtual bool create ()
void assign (Qwt3D::SurfacePlot &plotWidget)
void assign (Qwt3D::SurfacePlot *plotWidget)

Detailed Description

A Function encapsulates a mathematical function with rectangular domain. The user has to adapt the pure virtual operator() to get a working object. Also, the client code should call setDomain, setMesh and create for reasonable operating conditions.


Constructor & Destructor Documentation

Function (  ) 

Constructs Function object w/o assigned SurfacePlot.

Function ( Qwt3D::SurfacePlot plotWidget  )  [explicit]

Constructs Function object and assigns a SurfacePlot.

Function ( Qwt3D::SurfacePlot plotWidget  )  [explicit]

Constructs Function object and assigns a SurfacePlot.


Member Function Documentation

virtual double operator() ( double  x,
double  y 
) [pure virtual]

Overwrite this.

void setMinZ ( double  val  ) 

Sets minimal z value.

void setMaxZ ( double  val  ) 

Sets maximal z value.

bool create ( Qwt3D::SurfacePlot plotWidget  )  [virtual]

Assigns a new SurfacePlot and creates a data representation for it.

bool create (  )  [virtual]

Creates data representation for the actual assigned SurfacePlot.

void assign ( Qwt3D::SurfacePlot plotWidget  ) 

Assigns the object to another widget. To see the changes, you have to call this function before create().

void assign ( Qwt3D::SurfacePlot plotWidget  ) 

Assigns the object to another widget. To see the changes, you have to call this function before create().


The documentation for this class was generated from the following files:
Generated on Mon Jun 25 18:47:29 2007 for QwtPlot3D API by  doxygen 1.5.1