Package com.irurueta.android.glutils

Types

CameraConverter
Link copied to clipboard
class CameraConverter(width: Int, height: Int)

Converts camera into OpenGL matrices used to render a 3D scene.

CameraToDisplayOrientation
Link copied to clipboard
enum CameraToDisplayOrientation : Enum<CameraToDisplayOrientation>

Indicates the amount of rotation between a camera sensor and the current display orientation. This can be used for Augmented Reality applications conversion to and from pinhole cameras is meant to convert to view coordinates.

CameraToOpenGlHelper
Link copied to clipboard
object CameraToOpenGlHelper

Helper class to convert a pinhole camera into arrays used as matrices when drawing projective 3D scenes with OpenGL.

GLTextureView
Link copied to clipboard
open class GLTextureView @JvmOverloads constructor(context: Context, attrs: AttributeSet?, defStyleAttr: Int) : TextureView

View to draw using OpenGL on a TextureView. This can be used as a replacement of GLSurfaceView in situations where advanced view composition is required such as when drawing with view transparency or animating certain view properties (such as alpha transparency channel).

OpenGlToCameraHelper
Link copied to clipboard
object OpenGlToCameraHelper

Helper class to convert matrices used by OpenGL to draw a scene into its corresponding pinhole camera.

OrientationHelper
Link copied to clipboard
object OrientationHelper

Utility class to determine the orientation of the camera sensor respect to current device orientation. Determining such orientation is useful for Augmented Reality applications, where a pinhole camera needs to be estimated taking into account such orientation.