14 #ifndef POINTEREVENT_H 15 #define POINTEREVENT_H 30 INLINE
bool operator == (
const PointerEvent &other)
const;
31 INLINE
bool operator != (
const PointerEvent &other)
const;
32 INLINE
bool operator < (
const PointerEvent &other)
const;
34 void output(std::ostream &out)
const;
36 void write_datagram(
Datagram &dg)
const;
40 bool _in_window =
false;
48 double _direction = 0.0;
49 double _pressure = 0.0;
50 double _rotation = 0.0;
55 INLINE std::ostream &operator << (std::ostream &out,
const PointerEvent &pe) {
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PointerType
Contains the types of pointer device.
A class to retrieve the individual data elements previously stored in a Datagram.
An ordered list of data elements, formatted in memory for transmission over a socket or writing to a ...
Records a pointer movement event.