Eiffel Media API
Overview Cluster Class Classes Index      Previous Next      Top Features

em.video.opengl

Class EM_3D_OBJECT_FACTORY


Direct ancestors

EM_CONSTANTS, GL_FUNCTIONS

Known direct descendants

EM_3D_OBJ_LOADER

Features

Invariants

indexing

description

This factory creates 3d objects.

date

$Date$

revision

$Revision$

deferred class

EM_3D_OBJECT_FACTORY

feature {EM_3D_OBJECT_FACTORY} -- Deferred features that should not be accessible from the outside

specify_object

-- Specify an object that can be drawn in the origin
-- (front, left, lower corner of bounding box = 0,0,0)

feature -- Commands

create_object: EM_3D_OBJECT

-- Creates a new object;
-- TODO: Rename to new_object.

ensure
unchanged: unchanged

feature -- Status

object_depth: DOUBLE

-- The size of the bounding box in z direction of created objects

ensure
result >= 0
object_height: DOUBLE

-- The size of the bounding box in y direction of created objects

ensure
result >= 0
object_width: DOUBLE

-- The size of the bounding box in x direction of created objects

ensure
result >= 0
unchanged: BOOLEAN

-- Are the model informations unchanged?

invariant


-- From ANY
reflexive_equality: standard_is_equal (Current)
reflexive_conformance: conforms_to (Current)

end