Index

Package: Graphics_Structures

Description

package Graphics_Structures is
Jan & Uwe R. Zimmer, Australia, July 2011

Classes

Camera

type Camera is tagged
      record
         Position,
         Scene_Offset,
         Object_Offset : Vector_3D;
         Rotation      : Quaternion_Rotation;
      end record;

Types

RGB

type RGB  is (Red, Green, Blue);

References:

graphics_structures.ads:14:9 (declaration)
graphics_structures.ads:19:31 (reference)

RGBA

type RGBA is (Red, Green, Blue, Alpha);

References:

graphics_structures.ads:15:9 (declaration)
graphics_structures.ads:20:31 (reference)

Colour_Component_Range

subtype Colour_Component_Range is Real range 0.0 .. 1.0;

RGB_Colour

type RGB_Colour  is array (RGB)  of Colour_Component_Range;

References:

graphics_structures.ads:19:9 (declaration)
graphics_opengl.adb:84:39 (reference)
graphics_opengl.ads:54:39 (reference)

Shininess_Range

subtype Shininess_Range  is Real range 0.0 .. 128.0;

References:

graphics_structures.ads:22:12 (declaration)
graphics_structures.ads:29:19 (reference)

Materials

type Materials is record
      Ambient,
      Diffuse,
      Specular,
      Emission  : RGBA_Colour;
      Shininess : Shininess_Range;
   end record;

Points_3D

type Points_3D is array (Positive range <>)     of Point_3D;

References:

graphics_structures.ads:34:9 (declaration)
graphics_opengl.adb:189:35 (reference)
graphics_opengl.ads:22:35 (reference)

Line_3D

type Line_3D   is array (Positive range 1 .. 2) of Point_3D;

References:

graphics_structures.ads:35:9 (declaration)
graphics_opengl.adb:200:33 (reference)
graphics_opengl.ads:23:33 (reference)

Points_2D

type Points_2D is array (Positive range <>)     of Point_2D;

References:

graphics_structures.ads:48:9 (declaration)

Line_2D

type Line_2D   is array (Positive range 1 .. 2) of Point_2D;

References:

graphics_structures.ads:49:9 (declaration)

Camera_Mode_T

type Camera_Mode_T is (Scene, Chase);

Lights_T

type Lights_T is array (Positive range <>) of GLOBE_3D.Light_definition;

References:

graphics_structures.ads:53:9 (declaration)
graphics_configuration.ads:44:30 (reference)