Applications Source Code

The source code is used in the sample applications that ship with the distribution. Naturally, you can create your own application layer. The sample applications require that you define the environment variable named GTE4_PATH, which must be set to the location of the GeometricTools/GTE folder wherever you happened to unzip the distribution.
The base class for application types. The derived classes are for console-based applications, 2D window-based applications or 3D window-based applications.
A class for parsing command-line parameters from an array of strings passed to main(int,char const*[]).
A class for reading environment variables and for generating an application-specific set of directories to search for content.
LogReporter is a class used in main to specify listeners for the logging system of the Geometric Tools libraries.
A rig to allow camera motions to be controlled by key strokes and mouse actions.
Measurement of time and frame rate in the idle loop.
A simple timer wrapper for std::chrono functions.
WICFIleIO is a wrapper for Windows Imaging Components for reading BMP, GIF, ICON, JPEG, PNG, and TIFF files into gte::Texture2 objects and for writing PNG from gte::Texture2 objects. You can find the prototypical wrapper code online at the MSDN help pages. The Linux version is a wrapper that supports read/write of PNG files using libpng. WICFileIONative is a wrapper for reading and writing BMP, GIF, ICON, JPEG, PNG, and TIFF files into a std::vector. This code is independent of Geometric Tools classes.
Support for a virtual objects including virtual trackballs or virtual cylinders.