13 #ifndef SO_ROTATE_CAMERA_H
14 #define SO_ROTATE_CAMERA_H
22 #include <Inventor/nodes/SoSubNode.h>
23 #include <Inventor/nodes/SoNode.h>
24 #include <Inventor/nodes/SoSeparator.h>
26 #include <Inventor/fields/SoSFNode.h>
27 #include <Inventor/fields/SoSFInt32.h>
28 #include <Inventor/fields/SoSFTrigger.h>
29 #include <Inventor/fields/SoSFVec3f.h>
30 #include <Inventor/fields/SoSFFloat.h>
31 #include <Inventor/fields/SoSFTrigger.h>
32 #include <Inventor/fields/SoSFBool.h>
34 #include <Inventor/sensors/SoFieldSensor.h>
35 #include <Inventor/sensors/SoNodeSensor.h>
36 #include <Inventor/sensors/SoTimerSensor.h>
39 class SoGetBoundingBoxAction;
77 SoGetBoundingBoxAction* _autoClipBoxAction;
80 SoRef<SoSeparator> _root;
84 void rotateChanged(SoField*);
85 void inSceneChanged(SoField*);
87 SoTimerSensor* _rotSensor;
88 void rotationChanged(SoSensor* sensor);
89 static void rotationChangedCB(
void *data, SoSensor *sensor);
91 void reorientCamera(
const SbRotation& rot);
92 void autoAdjustCameraClippingPlanes(SoCamera* camera);
#define SOUTILS_EXPORT
System dependent includes. Disables some compiler/linker warnings.
Allows to rotate the camera around the focal point.
~SoRotateCamera() override
Protected destructor.
SoSFNode inCamera
! Fields
SoSFInt32 rotationCurrentStep
SoSFBool autoAdjustClippingPlanes