#include <rdFunctionSet.h>
Inheritance diagram for rdFunctionSet:

Public Member Functions | |
| rdFunctionSet () | |
| Default constructor. | |
| rdFunctionSet (const char *aFileName) | |
| Construct a function set from file. | |
| virtual | ~rdFunctionSet () |
| Destructor. | |
| void | setMinX (double aMinX) |
| Set the minimum x independent variable. | |
| double | getMinX () |
| Get the minimum x independent variable. | |
| void | setMaxX (double aMaxX) |
| Set the maximum x independent variable. | |
| double | getMaxX () |
| Get the maximum x independent variable. | |
| void | setMinY (double aMinY) |
| Set the minimum y independent variable. | |
| double | getMinY () |
| Get the minimum y independent variable. | |
| void | setMaxY (double aMaxY) |
| Set the maximum y independent variable. | |
| double | getMaxY () |
| Get the maximum y independent variable. | |
| void | setMinZ (double aMinZ) |
| Set the minimum z independent variable. | |
| double | getMinZ () |
| Get the minimum z independent variable. | |
| void | setMaxZ (double aMaxZ) |
| Set the maximum z independent variable. | |
| double | getMaxZ () |
| Get the maximum z independent variable. | |
| rdFunction * | getFunction (int aIndex) const |
| Get the function at a specified index. | |
| virtual void | updateSetBoundingBox () |
| Update the bounding box for this function set. | |
| virtual void | updateBoundingBox () |
| Update the bounding boxes of all functions in the set. | |
| virtual void | updateBoundingBox (int aIndex) |
| Update the bounding box of a specified function. | |
| virtual double | evaluate (int aIndex, int aDerivOrder, double aX=0.0, double aY=0.0, double aZ=0.0) |
| Evaluate a function or one of its derivatives. | |
| void | updateObject (bool aDeep=true) |
| Update this object based on its XML node. | |
| void | updateNode (bool aDeep=true) |
| Update the XML node representing this object. | |
| void | generateNode (IDOM_Element *aParent) |
| Generate an XML node representing this object. | |
Static Public Attributes | |
| const int | NUM_TYPES = rdFunctionSet_NUM_TYPES |
| const char | PROP_MIN_X [] = "min_x" |
| const char | PROP_MIN_Y [] = "min_y" |
| const char | PROP_MIN_Z [] = "min_z" |
| const char | PROP_MAX_X [] = "max_x" |
| const char | PROP_MAX_Y [] = "max_y" |
| const char | PROP_MAX_Z [] = "max_z" |
Protected Attributes | |
| rdFunction * | _defaultFunctions [rdFunctionSet_NUM_TYPES] |
| Default functions. | |
| double | _minX |
| Minimum value of the x independent variable. | |
| double | _maxX |
| Maximum value of the x independent variable. | |
| double | _minY |
| Minimum value of the y independent variable. | |
| double | _maxY |
| Maximum value of the y independent variable. | |
| double | _minZ |
| Minimum value of the z independent variable. | |
| double | _maxZ |
| Maximum value of the z independent variable. | |
Private Member Functions | |
| void | setNull () |
| Set all member variables to NULL values. | |
| void | constructDefaultFunctions () |
| Construct the default functions. | |
|
|
Default constructor.
|
|
|
Construct a function set from file.
|
|
||||||||||||||||||||||||
|
Evaluate a function or one of its derivatives.
|
|
|
Generate an XML node representing this object.
Reimplemented from rdObject. |
|
|
Get the function at a specified index.
|
|
|
Get the maximum x independent variable.
|
|
|
Get the maximum y independent variable.
|
|
|
Get the maximum z independent variable.
|
|
|
Get the minimum x independent variable.
|
|
|
Get the minimum y independent variable.
|
|
|
Get the minimum z independent variable.
|
|
|
Set the maximum x independent variable.
|
|
|
Set the maximum y independent variable.
|
|
|
Set the maximum z independent variable.
|
|
|
Set the minimum x independent variable.
|
|
|
Set the minimum y independent variable.
|
|
|
Set the minimum z independent variable.
|
|
|
Update the bounding box of a specified function.
|
|
|
Update the bounding boxes of all functions in the set.
|
|
|
Update this object based on its XML node.
Reimplemented from rdObjectArray. |
|
|
Update the bounding box for this function set. The bounding box is bounding box for all functions. The bounding box is determined by looping through all the functions in this set and querying each for its bounding box. Note that none of the bounding boxes of the functions in this set are changed by this method.
|
1.3