13#ifndef SO_EXAMINER_VIEWER_H
14#define SO_EXAMINER_VIEWER_H
#define SO_VIEWERS_CLASS_SPEC
Encapsulates the So*ExaminerViewer of Open Inventor into an Inventor Node.
bool _rotating
flag if currently autorotating
static void initClass()
inventor runtime
void feedbackSizeChanged(SoField *)
void getSyncFieldNames(SbStringList &list) override
collect the fields that should be synced on cloned viewers if you derive this method,...
SoSFTrigger rotationStopped
void wheelRotationEnabledChanged(SoField *)
void stopAnimatingChanged(SoField *)
further field callbacks
void * createViewer(void *hwnd, SoNode *scene) override
create a viewer in the given window void pointer is used to be compatible to any windows system
SoTimerSensor * _rotSensor
timer sensor for autorotation
void animationEnabledChanged(SoField *)
SoSFBool wheelZoomEnabled
enable zoom/rotation by mouse wheel
void storeViewerState() override
called automatically by timer sensor if storeCurrentState is on
SoSFBool animationEnabled
Fields.
void feedbackChanged(SoField *)
void wheelZoomEnabledChanged(SoField *)
void mouseInteractionChanged(SoField *)
void evaluateInteractionString()
SoSFString mouseInteraction
SoSFInt32 rotationCurrentStep
void setupViewer() override
sets all values from fields
SoSFTrigger startRotation
Autorotation Fields around given axis.
SoSFBool wheelRotationEnabled
SoSFTrigger stopAnimating
void startRotationChanged(SoField *)
static void rotationChangedCB(void *data, SoSensor *sensor)
~SoExaminerViewer() override
void reorientCamera(const SbRotation &rot)
reorient the camera, rotating rot around the focus point of the viewer
void rotationChanged(SoSensor *sensor)
called when the autorotate time is triggered
void stopRotationChanged(SoField *)
SoFullViewer encapsulates SoQtFullViewer from Open Inventor in an Inventor Node.