53#include <Inventor/nodes/SoRotation.h>
54#include <Inventor/fields/SoSFFloat.h>
55#include <Inventor/fields/SoSFBool.h>
57#include <Inventor/sensors/SoOneShotSensor.h>
58#include <Inventor/engines/SoElapsedTime.h>
59#include <Inventor/engines/SoCalculator.h>
60#include <Inventor/engines/SoInterpolate.h>
61#include <Inventor/sensors/SoFieldSensor.h>
150 static void initClass();
151 static void exitClass();
154 virtual void notify(SoNotList *list);
173 static void rotationSensorCB(
void *data,
class SoSensor *sensor);
174 static void onSensorCB(
void *data,
class SoSensor *sensor);
A general-purpose calculator.
Basic controllable time source.
Class for all engine outputs.
Sensor class that can be attached to Open Inventor fields.
Interpolates rotation values.
Sensor for one-time only callbacks.
Animated oscillating rotation node.
SoSFFloat speed
Defines the speed of the pendulum, in cycles per second.
SoSFRotation rotation0
Defines the first of the two fixed rotations that are interpolated to create the pendular motion.
SoPendulum()
Creates a pendulum node with default settings.
SoSFRotation rotation1
Defines the second of the two fixed rotations that are interpolated to create the pendular motion.
SoSFBool on
Allows applications to enable or disable the motion easily.
Node representing a 3D rotation about an arbitrary axis.
Field containing a single Boolean value.
Field containing a floating-point value.
Field containing a rotation.
Abstract base class for Open Inventor sensors.
Writes a scene graph to a file.