AGX Dynamics
2.38.0.2
Loading...
Searching...
No Matches
NoTiltTrackballManipulator.h
Go to the documentation of this file.
1
/*
2
Copyright 2007-2024. Algoryx Simulation AB.
3
4
All AGX source code, intellectual property, documentation, sample code,
5
tutorials, scene files and technical white papers, are copyrighted, proprietary
6
and confidential material of Algoryx Simulation AB. You may not download, read,
7
store, distribute, publish, copy or otherwise disseminate, use or expose this
8
material unless having a written signed agreement with Algoryx Simulation AB, or having been
9
advised so by Algoryx Simulation AB for a time limited evaluation, or having purchased a
10
valid commercial license from Algoryx Simulation AB.
11
12
Algoryx Simulation AB disclaims all responsibilities for loss or damage caused
13
from using this software, unless otherwise stated in written agreements with
14
Algoryx 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
28
namespace
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
43
bool
calcMovement
();
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_ */
PopDisableWarnings.h
PushDisableWarnings.h
export.h
AGXOSG_EXPORT
#define AGXOSG_EXPORT
agxOSG::NoTiltTrackballManipulator
Definition
NoTiltTrackballManipulator.h:31
agxOSG::NoTiltTrackballManipulator::calcMovement
bool calcMovement()
agxOSG::NoTiltTrackballManipulator::home
virtual void home(const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &us) override
Definition
NoTiltTrackballManipulator.h:33
agxOSG::NoTiltTrackballManipulator::home
virtual void home(double d) override
Definition
NoTiltTrackballManipulator.h:38
agxOSG::NoTiltTrackballManipulator::handle
virtual bool handle(const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &us) override
macros.h
agxOSG
The agxOSG namespace provides functionality for visualizing AGX simulations with OpenSceneGraph.
include
agxOSG
NoTiltTrackballManipulator.h
Generated on Sun Sep 1 2024 11:24:47 for AGX Dynamics by
1.9.8