19class NavigationInteraction;
20class SelectionInteraction;
330 NavigationInteraction* m_navigation;
331 SelectionInteraction* m_selection;
332 BaseInteraction* m_currentInteraction;
333 bool m_isSelectionEnabled;
334 std::vector<SiInteractionModeListener*> m_interactionModeListeners;
Tool class for building a basic interactive OpenInventor application with scene "examiner" viewing be...
NavigationMode
Navigation Mode.
SceneExaminer()
Constructor.
bool isOrbitEnabled()
Returns if camera orbiting is enabled.
bool isSpinEnabled() const
Returns true if spin animation is enabled.
void removeInteractionModeListener(SiInteractionModeListener *listener)
Remove interaction listener.
InteractionMode
Interaction Mode (navigation or selection)
void setInteractionMode(SceneExaminer::InteractionMode mode)
Set interaction mode to navigation or selection.
bool isPanEnabled()
Returns if camera panning is enabled.
void setSeekMode(bool onOrOff)
Set the interaction into or out off seek mode (default is off).
void enableSelection(bool enabled)
Enable or disable selection mode.
void enableZoom(bool enabled)
Enable or disable zoom.
void enableSpin(bool enable)
Enables or disables the spin animation.
void enablePan(bool enabled)
Enable or disable camera panning.
SceneExaminer::InteractionMode getInteractionMode()
Returns the current interaction mode.
void enableRotate(bool enabled)
Enable or disable camera rotation.
void enableOrbit(bool enabled)
Enable or disable camera orbiting.
bool isSelectionEnabled()
Returns if selection is enabled.
SceneExaminer::NavigationMode getNavigationMode()
Returns the current navigation mode.
bool isRotateEnabled()
Returns if camera rotation is enabled.
bool isZoomEnabled()
Returns if zoom is enabled.
virtual void setCameraMode(SceneInteractor::CameraMode mode)
Select perspective or orthographic camera.
virtual ~SceneExaminer()
Destructor.
void setNavigationMode(SceneExaminer::NavigationMode mode)
Set navigation mode.
void enableSeek(bool enabled)
Enable or disable seek.
bool isSeekEnabled()
Returns if seek is enabled.
void addInteractionModeListener(SiInteractionModeListener *listener)
Add interaction listener.
Base class for building a basic OpenInventor application without using the classic viewer classes.
CameraMode
Type of camera (perspective or orthographic)
This interface provides the list of interaction methods that subclasses must define.
Class for double-tap gesture events.
Base class for all 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.
Sensor for one-time only callbacks.
Class for rotate gesture events.
Class for scale (pinch) gesture events.
Abstract base class for Open Inventor sensors.
Base class for touch events.
#define VIEWERCOMPONENTS_API