AGX Dynamics 2.42.1.1
Loading...
Searching...
No Matches
NoTiltTrackballManipulator.h
Go to the documentation of this file.
1/*
2Copyright 2007-2025. Algoryx Simulation AB.
3
4All AGX source code, intellectual property, documentation, sample code,
5tutorials, scene files and technical white papers, are copyrighted, proprietary
6and confidential material of Algoryx Simulation AB. You may not download, read,
7store, distribute, publish, copy or otherwise disseminate, use or expose this
8material unless having a written signed agreement with Algoryx Simulation AB, or having been
9advised so by Algoryx Simulation AB for a time limited evaluation, or having purchased a
10valid commercial license from Algoryx Simulation AB.
11
12Algoryx Simulation AB disclaims all responsibilities for loss or damage caused
13from using this software, unless otherwise stated in written agreements with
14Algoryx Simulation AB.
15*/
16
17
18#ifndef AGXOSG_NOTILTTRACKBALLMANIPULATOR_H
19#define AGXOSG_NOTILTTRACKBALLMANIPULATOR_H
20
21#include <agx/PushDisableWarnings.h> // Disabling warnings. Include agx/PopDisableWarnings.h below!
22#include <osgGA/TrackballManipulator>
23#include <agx/PopDisableWarnings.h> // End of disabled warnings.
24
25#include <agxOSG/export.h>
26#include <agx/macros.h>
27
28namespace agxOSG
29{
30 class AGXOSG_EXPORT NoTiltTrackballManipulator : public osgGA::TrackballManipulator
31 {
32 public:
33 virtual void home(const osgGA::GUIEventAdapter& ea, osgGA::GUIActionAdapter& us) override
34 {
35 osgGA::TrackballManipulator::home(ea, us);
36 }
37
38 virtual void home(double d) override
39 {
40 osgGA::TrackballManipulator::home(d);
41 }
42
44 virtual bool handle(const osgGA::GUIEventAdapter& ea, osgGA::GUIActionAdapter& us) override;
45 using osgGA::GUIEventHandler::handle;
46 private:
47
48 };
49}
50
51#endif /* _AGXOSG_NOTILTTRACKBALLMANIPULATOR_H_ */
#define AGXOSG_EXPORT
virtual void home(const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &us) override
virtual void home(double d) override
virtual bool handle(const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &us) override
The agxOSG namespace provides functionality for visualizing AGX simulations with OpenSceneGraph.