11class InteractionOrbiter;
260 InteractionOrbiter* m_interaction;
267 static void cameraSensorCallback(
void* data,
SoSensor* sensor);
Class for representing a viewport.
Base class for building a basic OpenInventor application without using the classic viewer classes.
CameraMode
Type of camera (perspective or orthographic)
(Preview feature) Tool class for building a basic interactive OpenInventor application with mode-less...
SoViewingCube * getViewingCube()
Returns the viewing cube object.
RotationMethod
Defines how the mouse events or touch events control the rotations of the scene.
@ TURNTABLE
Constrained mode which forces the camera to follow meridians and parallel circles related to the up-a...
RotationMethod getRotationMethod()
Returns the current scene rotation method.
SceneOrbiter()
Constructor.
float getConstraintLevel()
Returns the current constraint level which limits the turntable rotation.
void setUpAxis(openinventor::inventor::Axis::Type axis)
Sets the up axis of the scene.
bool isViewingCubeEnabled() const
Returns if viewing cube is enabled.
openinventor::inventor::Axis::Type getUpAxis()
Returns the current up axis of the scene.
void setConstraintLevel(float level)
Sets the constraint level to limit the turntable rotation.
virtual void setCameraMode(SceneInteractor::CameraMode mode)
Selects perspective or orthographic camera.
void setRotationMethod(RotationMethod method)
Sets the scene rotation method.
void enableViewingCube(bool enabled)
Enables or disables viewing cube.
virtual ~SceneOrbiter()
Destructor.
Base class for all events.
Sensor class that can be attached to Open Inventor fields.
Allows nodes in a graph to receive input events.
Keyboard key press and release events.
virtual void touch()
Marks an instance as modified, simulating a change to it.
Sensor class that can be attached to Open Inventor nodes.
Smart pointer for any class inheriting SoRefCounter.
Class for rotate gesture events.
Class for scale (pinch) gesture events.
Abstract base class for Open Inventor sensors.
Base class for touch events.
Interactive cubic shape to control the orientation of a camera.
Type
Specification of either an X, a Y or a Z axis.
#define VIEWERCOMPONENTS_API