Main Classes and Related Notes


Back to Main Index

Main Classes of the Library

  1. CEventHandler, CEventHandlerExt and CBasicAppObjects :
  2. Video Environment classes :
  3. Rendering (3D) Environment classes :
  4. Audio environment classes :
  5. Game management related classes :
  6. Other classes :

Notes when Rendering

  1. VortexGE uses left-handled coordinate system.
  2. Panel's vertices must be arranged in clockwise formation in order to display correctly.
  3. When using any of the rendering functions, make sure that the correct instance has been activated.
  4. Having multiple instance of this class which do rendering at the same time is not recommended, because it may degrade performance.

High Level Application Control Model
                                       +-------------------+
                                  /--> | Display (Monitor) |
                                  |    +-------------------+
                                  |
+--------------------+            |
| UserInput          |            |
| (keyboard & mouse) | --> CVideoEnv --> CEventHandler
+--------------------+       ^    ^            |
                             |    |            |
                             |    |            |
                             |    |            |
             C3DEnv ---------/    |            |
                ^                 |            |
                |                 |         events
                |                 |            |
                |          user's commands     |
                |                 |            |
         user's commands          |            |
                |                 |            |
                |                 |            |
  ************************************         |
  *   User's Algorithms (C++ Code)   * <-------/
  ************************************
         |
         |
  user's commands
         |
         |                   +-----------------+
         |---> CAudioEnv --> + Sound (Speaker) |
         |         ^         +-----------------+
         |         |
         |         |
         \---> CMidiPlayer

If CBasicAppObjects or CBasicApplication class is used, one will not need to initialize the needed environments by himself, all environment initializations will be done by the class.

However, he must still control (gives user commands) to the environments by himself.

Low Level Application Control Model
                                       +-------------------+
                                  /--> | Display (Monitor) |
                                  |    +-------------------+
                                  |
+--------------------+            |
| UserInput          |            |
| (keyboard & mouse) | --> CVideoEnv ----------\ 
+--------------------+       ^    ^            |
                             |    |            |
                             |    |            |
                             |    |            |
             C3DEnv ---------/    |            |
                ^                 |            |
                |                 |         events
                |                 |            |
                |          user's commands     |
                |                 |            |
         user's commands          |            |
                |                 |            |
                |                 |            |
  ************************************         |
  *   User's Algorithms (C++ Code)   * <-------/
  ************************************
          |
         |
  user's commands
         |
         |                   +-----------------+
         |---> CAudioEnv --> + Sound (Speaker) |
         |         ^         +-----------------+
         |         |
         |         |
         \---> CMidiPlayer


Back to Main Index