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

Class Projection

source code

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

for use of OpenGL PROJECTION_MATRIX

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, *args, **kw) 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, *args, **kw)
(Constructor)

source code 
Overrides: ProjectionBaseClass.__init__