Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members Related Pages Search
MeanValueFunction Class Reference#include <meanvaluefunction.h>
Inheritance diagram for MeanValueFunction:
[legend]Collaboration diagram for MeanValueFunction:
[legend]List of all members.
|
Public Methods |
| MeanValueFunction (BasicGraph *graph, int) |
| ~MeanValueFunction () |
Protected Methods |
void | calculate_and_draw (QPainter *) |
| When creating a math function subclass, overwrite this function to calculate and then draw whatever visual you wish using the given QPainter.
|
void | draw_stored (QPainter *) |
| When creating a math function subclass, overwrite this function with a function to more quickly draw the result of the function.
|
Detailed Description
- Author:
-
Fungmeista
Definition at line 27 of file meanvaluefunction.h.
Member Function Documentation
void MeanValueFunction::calculate_and_draw |
( |
QPainter * |
painter |
) |
[protected, virtual] |
|
void MeanValueFunction::draw_stored |
( |
QPainter * |
painter |
) |
[protected, virtual] |
|
|
When creating a math function subclass, overwrite this function with a function to more quickly draw the result of the function.
For example, if calculate_and_draw calculates many points, these can be saved and drawn in draw_stored instead of recalculating them.
Reimplemented from MathFunction.
Definition at line 93 of file meanvaluefunction.cpp.
References MathFunction::drawSelectedPoint().
Referenced by calculate_and_draw(). |
The documentation for this class was generated from the following files:
|