1#ifndef _SceneInteractor_
2#define _SceneInteractor_
Switch group node: traverses only the child indicated by integer "whichChild" field.
Class for representing a viewport.
Base class for building a basic OpenInventor application without using the classic viewer classes.
virtual void setCameraMode(SceneInteractor::CameraMode mode)
Select perspective or orthographic camera.
void viewAll(const SbViewportRegion &viewport)
Move the camera to view the scene defined by the given path.
SoCamera * getCamera() const
Returns the current camera.
bool isHeadLightEnabled()
Returns if headlight is enabled.
void viewAxis(const SbVec3f &direction, const SbVec3f &up)
Moves the camera to be aligned with the given direction vector while keeping the "up" direction of th...
void enableHeadLight(bool enabled)
Enable or disable headlight.
SceneInteractor::CameraMode getCameraMode()
Returns the current camera mode.
void adjustClippingPlanes(const SbViewportRegion &vpRegion)
Adjust near and far clipping planes to minimize clipping of objects in the scene.
SceneInteractor()
Constructor.
SoCameraInteractor * getCameraInteractor()
Returns the current camera interactor.
CameraMode
Type of camera (perspective or orthographic)
virtual ~SceneInteractor()
Destructor.
Abstract base class for camera nodes.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Utility class to...
Class for double-tap gesture events.
Node which invokes callbacks for events.
Allows nodes in a graph to receive input events.
Keyboard key press and release events.
Class for long tap gesture events.
virtual void touch()
Marks an instance as modified, simulating a change to it.
Smart pointer for any class inheriting SoRefCounter.
Class for rotate gesture events.
Class for scale (pinch) gesture events.
Group node that saves and restores traversal state.
Base class for touch events.
#define VIEWERCOMPONENTS_API