Scrambler
1
|
Data Types | |
type | CameraDef |
Public Member Functions | |
subroutine | CreateCamera (Camera) |
subroutine | UpdateMatrix (Camera) |
REAL(KIND=qPREC) function | GetPixel (Camera, pos) |
Returns the distance location of the projected image. The values between 0,0 and 1,1 correspond to the image plane. | |
REAL(KIND=qPREC) function | GetRay (Camera, pixel) |
Inverse function of GetPixel (except it returns unit vector from camera along given ray) | |
subroutine | BinCell (Camera, pos, dx, data, rho) |
subroutine | BinParticle (Camera, Particle, data, rho) |
subroutine | BinCell_old (Camera, pos, dx, data, rho) |
subroutine | InputCamera (filehandle, Camera) |
Public Attributes | |
INTEGER, save | nCameras = 0 |
Definition at line 23 of file cameras.f90.
subroutine CreateCamera | ( | TYPE(CameraDef), pointer | Camera | ) |
Definition at line 43 of file cameras.f90.
subroutine UpdateMatrix | ( | TYPE(CameraDef) | Camera | ) |
Definition at line 58 of file cameras.f90.
REAL(KIND=qPREC) function GetPixel | ( | TYPE(CameraDef), pointer | Camera, |
REAL(KIND=qPREC), dimension(3) | pos | ||
) |
Returns the distance location of the projected image. The values between 0,0 and 1,1 correspond to the image plane.
Definition at line 77 of file cameras.f90.
REAL(KIND=qPREC) function GetRay | ( | TYPE(CameraDef), pointer | Camera, |
REAL(KIND=qPREC), dimension(2) | pixel | ||
) |
Inverse function of GetPixel (except it returns unit vector from camera along given ray)
Definition at line 92 of file cameras.f90.
subroutine BinCell | ( | TYPE(CameraDef), pointer | Camera, |
REAL(KIND=qPREC), dimension(3) | pos, | ||
REAL(KIND=qPREC) | dx, | ||
REAL(KIND=qPREC), dimension(:,:) | data, | ||
REAL(KIND=qPREC) | rho | ||
) |
Definition at line 112 of file cameras.f90.
subroutine BinParticle | ( | TYPE(CameraDef), pointer | Camera, |
TYPE(ParticleDef), pointer | Particle, | ||
REAL(KIND=qPREC), dimension(:,:) | data, | ||
REAL(KIND=qPREC) | rho | ||
) |
Definition at line 162 of file cameras.f90.
subroutine BinCell_old | ( | TYPE(CameraDef), pointer | Camera, |
REAL(KIND=qPREC), dimension(3) | pos, | ||
REAL(KIND=qPREC) | dx, | ||
REAL(KIND=qPREC), dimension(:,:) | data, | ||
REAL(KIND=qPREC) | rho | ||
) |
Definition at line 218 of file cameras.f90.
subroutine InputCamera | ( | iNTEGER | filehandle, |
TYPE(CameraDef), pointer | Camera | ||
) |
Definition at line 247 of file cameras.f90.
INTEGER, save nCameras = 0 |
Definition at line 38 of file cameras.f90.