class XML_OBJECT_LOADER [E_ -> LOADABLE_GL_OBJECT]

All features

Direct parents

conformant parents

OBJECT_LOADER, XML_CALLBACKS

Summary

creation features

exported features

Details

load_from_file (complete_file_name: STRING): E_

require

  • universal_texture_loader /= Void

with_attribute (attribute_name: STRING, attribute_value: STRING)

To be called to add all the attributed of a node BEFORE calling open_node

require

  • attribute_name /= Void
  • attribute_value /= Void

open_node (node_name: STRING)

require

  • node_name /= Void

ensure

  • current_node.is_equal(node_name)

close_node (node_name: STRING)

require

  • current_node.is_equal(node_name)

open_close_node (node_name: STRING)

require

  • node_name /= Void

current_node: STRING
data (a_data: STRING)

require

  • a_data /= Void

parse_error
object: E_
loaded_file: STRING
file: STRING
index: INTEGER
current_vertex: VERTEX
vertex1: VERTEX
vertex2: VERTEX
vertex3: VERTEX
coordx: REAL
coordy: REAL
coordz: REAL
coords: FAST_ARRAY [E_][REAL]
coordt: FAST_ARRAY [E_][REAL]
coord_index: INTEGER
red: REAL
green: REAL
blue: REAL
alpha: REAL
function: STRING
fz_object: STRING
fz_coordx: STRING
fz_coordy: STRING
fz_coordz: STRING
fz_facet: STRING
fz_vertex: STRING
fz_color: STRING
fz_normal: STRING
fz_red: STRING
fz_green: STRING
fz_blue: STRING
fz_alpha: STRING
fz_texture: STRING
fz_file: STRING
fz_coord: STRING
fz_coords: STRING
fz_coordt: STRING
fz_composition: STRING
fz_function: STRING
is_object: BOOLEAN
is_facet: BOOLEAN
is_vertex: BOOLEAN
is_color: BOOLEAN
is_normal: BOOLEAN
is_texture: BOOLEAN
is_coord: BOOLEAN
is_composition: BOOLEAN
has_texture: BOOLEAN
has_function: BOOLEAN
load (complete_file_name: STRING, utl: UNIVERSAL_TEXTURE_LOADER): E_
universal_texture_loader: UNIVERSAL_TEXTURE_LOADER
make
set_clear_color (red: REAL, green: REAL, blue: REAL, alpha: REAL)
set_clear_depth (depth: REAL)
translate (x: REAL, y: REAL, z: REAL)
rotate (angle: REAL, axis_x: REAL, axis_y: REAL, axis_z: REAL)
scale (x: REAL, y: REAL, z: REAL)
begin_rendering
end_rendering
begin_points

require

  • not has_begun

ensure

  • has_begun

begin_lines

require

  • not has_begun

ensure

  • has_begun

begin_line_strip

require

  • not has_begun

ensure

  • has_begun

begin_line_loop

require

  • not has_begun

ensure

  • has_begun

begin_triangles

require

  • not has_begun

ensure

  • has_begun

begin_triangle_strip

require

  • not has_begun

ensure

  • has_begun

begin_triangle_fan

require

  • not has_begun

ensure

  • has_begun

begin_quads

require

  • not has_begun

ensure

  • has_begun

begin_quad_strip

require

  • not has_begun

ensure

  • has_begun

begin_polygon

require

  • not has_begun

ensure

  • has_begun

end_primitive

require

  • has_begun

ensure

  • not has_begun

vertex (x: REAL, y: REAL, z: REAL)
full_red: GL_COLOR
full_green: GL_COLOR
full_blue: GL_COLOR
full_yellow: GL_COLOR
full_magenta: GL_COLOR
full_cyan: GL_COLOR
full_white: GL_COLOR
full_black: GL_COLOR
clamp (real: REAL): REAL

ensure

  • Result.in_range(0, 1)

has_begun: BOOLEAN
gl: GL
glu: GLU