58#ifndef _SO_CALCULATOR_
59#define _SO_CALCULATOR_
250 SoCalcParser *parser;
254 float va, vb, vc, vd, ve, vf, vg, vh, ova, ovb, ovc, ovd;
255 float ta, tb, tc, td, te, tf, tg, th;
256 SbVec3f vA, vB, vC, vD, vE, vF, vG, vH, ovA, ovB, ovC, ovD;
257 SbVec3f tA, tB, tC, tD, tE, tF, tG, tH;
258 static float *lookupFloat(
void *,
const char *);
259 static SbVec3f *lookupVec3f(
void *,
const char *);
#define INVENTOR_API
Disable some annoying warnings on MSVC 6.
#define SO_ENGINE_HEADER(className)
A general-purpose calculator.
virtual void inputChanged(SoField *whichInput)
This is called whenever the value of an input is changed.
SoEngineOutput oA
(SoMFVec3f)
SoMFVec3f A
Inputs A-H are the vectors.
SoMFString expression
The expression to be evaluated.
SoMFFloat a
Inputs a-h are the floating-point values.
SoCalculator()
Constructor.
SoEngineOutput oa
(SoMFfloat)
Class for all engine outputs.
Base class for all engines.
virtual void evaluate()=0
User-written evaluation engine.
Base class for all fields.
Multiple-value field containing any number of floating point values.
Multiple-value field containing any number of strings.
Multiple-value field containing any number of three-dimensional vectors.