29 #ifndef __GENERALFUNCTION_H__
30 #define __GENERALFUNCTION_H__
151 public TypedField< SField< HAPI::ParsedFunction * >,
152 Types< SFString, SFString > > {
160 virtual void update();
165 Inst< SFString > _function = 0,
166 Inst< SFString > _params = 0,
167 Inst< SFFunctionObject > _functionObject = 0 );
171 virtual unsigned int nrInputValues();
178 virtual HAPI::HAPIFunctionObject *getAsHAPIFunctionObject();
192 H3DUniquePtr< SFString >
function;
Header file for H3DFunctionNode.
Contains the SFString field class.
Class for updating an HAPI::ParsedFunction depending on field input value.
Definition: GeneralFunction.h:152
The function node implements a general function R^n -> R by specifying it by a string.
Definition: GeneralFunction.h:144
H3DUniquePtr< SFFunctionObject > functionObject
Field with the function object to use to evaluate the function.
Definition: GeneralFunction.h:211
H3DUniquePtr< SFString > params
The function parameter string.
Definition: GeneralFunction.h:204
static H3DNodeDatabase database
The H3DNodeDatabase for this object.
Definition: GeneralFunction.h:207
Base class for nodes evaluating function.
Definition: H3DFunctionNode.h:45
A template modifier class for adding type checking on the routes to any Field class.
Definition: TypedField.h:84
H3D API namespace.
Definition: Anchor.h:38
The H3DNodeDatabase contains a mapping between a name of a Node and the constructor for the Node with...
Definition: H3DNodeDatabase.h:194