sas.qtgui.GL.visual_checks package

Submodules

sas.qtgui.GL.visual_checks.primitive_library module

As close a thing as there are to tests for GL

sas.qtgui.GL.visual_checks.primitive_library.mesh_example()
sas.qtgui.GL.visual_checks.primitive_library.primative_library()

Shows all the existing primitives that can be rendered, press a key to go through them

sas.qtgui.GL.visual_checks.transform_library module

As close a thing as there are to tests for GL

sas.qtgui.GL.visual_checks.transform_library.transform_tests()

Shows all the existing primitives that can be rendered, press a key to go through them

  1. 4 shapes in a vertical 2 unit x 2 unit grid - as cylinder and cone have r=1, they should touch

  2. 27 cubes in 3x3x3 grid, with scaling changing (1/2, 1, 2) in the same dimension as the translation

  3. As above but rotations by 45 degrees in around axis in the same dimension as the translation

Module contents