File: viewtools.rst

package info (click to toggle)
psychopy 2020.2.10%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 44,056 kB
  • sloc: python: 119,649; javascript: 3,022; makefile: 148; sh: 125; xml: 9
file content (45 lines) | stat: -rw-r--r-- 1,061 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45

:mod:`psychopy.tools.viewtools`
-------------------------------

Math functions for working with view transformations and performing visibility
testing (see also :mod:`~psychopy.tools.mathtools`).

.. automodule:: psychopy.tools.viewtools
.. currentmodule:: psychopy.tools.viewtools

Overview
~~~~~~~~

.. autosummary:: 
    visualAngle
    computeFrustum
    computeFrustumFOV
    projectFrustum
    projectFrustumToPlane
    generalizedPerspectiveProjection
    orthoProjectionMatrix
    perspectiveProjectionMatrix
    lookAt
    pointToNdc
    cursorToRay
    visible
    visibleBBox

    
Details
~~~~~~~

.. autofunction:: visualAngle
.. autofunction:: computeFrustum
.. autofunction:: computeFrustumFOV
.. autofunction:: projectFrustum
.. autofunction:: projectFrustumToPlane
.. autofunction:: generalizedPerspectiveProjection
.. autofunction:: orthoProjectionMatrix
.. autofunction:: perspectiveProjectionMatrix
.. autofunction:: lookAt
.. autofunction:: pointToNdc
.. autofunction:: cursorToRay
.. autofunction:: visible
.. autofunction:: visibleBBox