Package VisionEgg :: Module Core :: Class OrthographicProjectionNoZClip
[frames] | no frames]

Class OrthographicProjectionNoZClip

source code

         object --+            
                  |            
ClassWithParameters --+        
                      |        
    ProjectionBaseClass --+    
                          |    
                 Projection --+
                              |
                             OrthographicProjectionNoZClip

An orthographic projection without Z clipping.

Parameters
==========
matrix -- matrix specifying projection (Sequence4x4 of Real)
          Default: [[1 0 0 0]
                    [0 1 0 0]
                    [0 0 1 0]
                    [0 0 0 1]]



Instance Methods
 
__init__(self, left=0.0, right=640.0, bottom=0.0, top=480.0)
Create an orthographic projection without Z clipping.
source code

Inherited from ProjectionBaseClass: apply_to_gl, apply_to_vertex, apply_to_vertices, clip_2_norm_device, eye_2_clip, eye_2_norm_device, get_matrix, look_at, push_and_set_gl_projection, rotate, scale, set_gl_modelview, set_gl_projection, stateless_rotate, stateless_scale, stateless_translate, translate

Inherited from ClassWithParameters: __getstate__, __setstate__, get_specified_type, is_constant_parameter, set, verify_parameters

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables

Inherited from ProjectionBaseClass: parameters_and_defaults

Inherited from ClassWithParameters: __safe_for_unpickling__, constant_parameters_and_defaults

Properties

Inherited from object: __class__

Method Details

__init__(self, left=0.0, right=640.0, bottom=0.0, top=480.0)
(Constructor)

source code 
Create an orthographic projection without Z clipping.

Defaults to map x eye coordinates in the range [0,640] and y
eye coordinates [0,480] -> [0,1].  Therefore, if the viewport
is 640 x 480, eye coordinates correspond 1:1 with window
(pixel) coordinates.

Overrides: Projection.__init__