GL Studio C++ Runtime API
|
#include <events.h>
Public Member Functions | |
LocationEvent () | |
LocationEvent (const LocationEvent &source) | |
LocationEvent | operator= (const LocationEvent &source) |
Public Member Functions inherited from DisplayEvent | |
DisplayEvent () | |
DisplayEvent (const DisplayEvent &source) | |
virtual | ~DisplayEvent () |
Public Attributes | |
Vector | winLoc |
Vector | lCoords |
Vector | oCoords |
float & | x |
float & | y |
float & | z |
float & | lx |
float & | ly |
float & | lz |
float & | ox |
float & | oy |
float & | oz |
Public Attributes inherited from DisplayEvent | |
unsigned short | eventType |
unsigned short | eventSubtype |
An event with location fields
|
inline |
Because of the use of the references, all automatically generated methods must be defined to allow for copying. Default constructor
|
inline |
Copy Constructor
source | The event to copy from. |
|
inline |
Assignment operator
source | The event to copy from. |
Vector lCoords |
x,y,z of event in logical design coordinates
float& lx |
Reference to lCoords.x
float& ly |
Reference to lCoords.y
float& lz |
Reference to lCoords.z
Vector oCoords |
x,y,z of event in object DCS coordinates
float& ox |
Reference to oCoords.x
float& oy |
Reference to oCoords.y
float& oz |
Reference to oCoords.z
Vector winLoc |
Location of the event in window coordinates x and y window coordinates in pixels. z is from 0.0 -> 1.0 and represents the depth. z == 0 is at the near cliping plane. z == 0.5 represents half way between near and far cliping planes.
float& x |
Reference to winLoc.x
float& y |
Reference to winLoc.y
float& z |
Reference to winLoc.z