ArViewer  Android Version
Arvos - Augmented reality viewer open source
 All Classes Namespaces Files Functions Variables
Public Member Functions | Static Public Attributes | List of all members
com.mission_base.arviewer_android.viewer.opengl.Square Class Reference
Inheritance diagram for com.mission_base.arviewer_android.viewer.opengl.Square:

Public Member Functions

 Square ()
void loadGLTexture (GL10 gl, int textureId)
void loadGLTexture (GL10 gl, Bitmap bitmap)
void draw (GL10 gl)

Static Public Attributes

static final float vertices []

Detailed Description

The basic object shown in the opengl view, a square with a texture on it.


Definition at line 45 of file

Constructor & Destructor Documentation

com.mission_base.arviewer_android.viewer.opengl.Square.Square ( )

Definition at line 67 of file

Member Function Documentation

void com.mission_base.arviewer_android.viewer.opengl.Square.draw ( GL10  gl)

The draw method for the square with the GL context

Definition at line 113 of file

void com.mission_base.arviewer_android.viewer.opengl.Square.loadGLTexture ( GL10  gl,
int  textureId 

Definition at line 85 of file

void com.mission_base.arviewer_android.viewer.opengl.Square.loadGLTexture ( GL10  gl,
Bitmap  bitmap 

Definition at line 96 of file

Member Data Documentation

final float com.mission_base.arviewer_android.viewer.opengl.Square.vertices[]
Initial value:
= {
-0.5f, -0.5f, 0.0f,
-0.5f, 0.5f, 0.0f,
0.5f, -0.5f, 0.0f,
0.5f, 0.5f, 0.0f

Definition at line 49 of file

The documentation for this class was generated from the following file: