QWT API (English) 7.0.1
Qt Widget Library for Technical Applications - English API Documentation
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Qwt3D::Function Class Referenceabstract

Abstract base class for mathematical functions. More...

#include <qwt3d_function.h>

Inheritance diagram for Qwt3D::Function:
Qwt3D::GridMapping Qwt3D::Mapping

Public Member Functions

 Function ()
 Default constructor .
 
 Function (Qwt3D::SurfacePlot &plotWidget)
 Constructs a Function object and assigns a SurfacePlot.
 
 Function (Qwt3D::SurfacePlot *plotWidget)
 Constructs a Function object and assigns a SurfacePlot.
 
virtual double operator() (double x, double y)=0
 
void setMinZ (double val)
 Sets minimum z value for the function.
 
void setMaxZ (double val)
 Sets maximum z value for the function.
 
virtual bool create (Qwt3D::SurfacePlot &plotWidget)
 Assigns a new SurfacePlot and creates a data representation for it.
 
virtual bool create ()
 Creates data representation for the actual assigned SurfacePlot.
 
void assign (Qwt3D::SurfacePlot &plotWidget)
 Assigns the object to another widget - call before create()
 
void assign (Qwt3D::SurfacePlot *plotWidget)
 Assigns the object to another widget - call before create()
 
- Public Member Functions inherited from Qwt3D::GridMapping
 GridMapping ()
 Default constructor.
 
void setMesh (unsigned int columns, unsigned int rows)
 Sets the number of mesh columns and rows.
 
void setDomain (double minu, double maxu, double minv, double maxv)
 Sets the domain (parameter range) for the u and v directions.
 
void restrictRange (Qwt3D::ParallelEpiped const &)
 Restricts the data range to a parallelepiped.
 
- Public Member Functions inherited from Qwt3D::Mapping
virtual QString name () const
 

Additional Inherited Members

- Protected Attributes inherited from Qwt3D::GridMapping
Qwt3D::ParallelEpiped range_p
 
Qwt3D::SurfacePlotplotwidget_p
 
unsigned int umesh_p
 
unsigned int vmesh_p
 
double minu_p
 
double maxu_p
 
double minv_p
 
double maxv_p
 

Detailed Description

Abstract base class for mathematical functions.

Constructor & Destructor Documentation

◆ Function() [1/3]

Function::Function ( )

Default constructor .

◆ Function() [2/3]

Function::Function ( Qwt3D::SurfacePlot plotWidget)
explicit

Constructs a Function object and assigns a SurfacePlot.

◆ Function() [3/3]

Function::Function ( Qwt3D::SurfacePlot plotWidget)
explicit

Constructs a Function object and assigns a SurfacePlot.

Member Function Documentation

◆ assign() [1/2]

void Function::assign ( Qwt3D::SurfacePlot plotWidget)

Assigns the object to another widget - call before create()

◆ assign() [2/2]

void Function::assign ( Qwt3D::SurfacePlot plotWidget)

Assigns the object to another widget - call before create()

◆ create() [1/2]

bool Function::create ( )
virtual

Creates data representation for the actual assigned SurfacePlot.

◆ create() [2/2]

bool Function::create ( Qwt3D::SurfacePlot plotWidget)
virtual

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

◆ setMaxZ()

void Function::setMaxZ ( double  val)

Sets maximum z value for the function.

◆ setMinZ()

void Function::setMinZ ( double  val)

Sets minimum z value for the function.


The documentation for this class was generated from the following files: