android.renderscript
Class Matrix4f

java.lang.Object
  extended by android.renderscript.Matrix4f

public class Matrix4f
extends Object


Constructor Summary
Matrix4f()
           
Matrix4f(float[] dataArray)
           
 
Method Summary
 float get(int i, int j)
           
 float[] getArray()
           
 boolean inverse()
           
 boolean inverseTranspose()
           
 void load(Matrix4f src)
           
 void loadFrustum(float l, float r, float b, float t, float n, float f)
           
 void loadIdentity()
           
 void loadMultiply(Matrix4f lhs, Matrix4f rhs)
           
 void loadOrtho(float l, float r, float b, float t, float n, float f)
           
 void loadOrthoWindow(int w, int h)
           
 void loadPerspective(float fovy, float aspect, float near, float far)
           
 void loadProjectionNormalized(int w, int h)
           
 void loadRotate(float rot, float x, float y, float z)
           
 void loadScale(float x, float y, float z)
           
 void loadTranslate(float x, float y, float z)
           
 void multiply(Matrix4f rhs)
           
 void rotate(float rot, float x, float y, float z)
           
 void scale(float x, float y, float z)
           
 void set(int i, int j, float v)
           
 void translate(float x, float y, float z)
           
 void transpose()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Matrix4f

public Matrix4f()

Matrix4f

public Matrix4f(float[] dataArray)
Method Detail

getArray

public float[] getArray()

get

public float get(int i,
                 int j)

set

public void set(int i,
                int j,
                float v)

loadIdentity

public void loadIdentity()

load

public void load(Matrix4f src)

loadRotate

public void loadRotate(float rot,
                       float x,
                       float y,
                       float z)

loadScale

public void loadScale(float x,
                      float y,
                      float z)

loadTranslate

public void loadTranslate(float x,
                          float y,
                          float z)

loadMultiply

public void loadMultiply(Matrix4f lhs,
                         Matrix4f rhs)

loadOrtho

public void loadOrtho(float l,
                      float r,
                      float b,
                      float t,
                      float n,
                      float f)

loadOrthoWindow

public void loadOrthoWindow(int w,
                            int h)

loadFrustum

public void loadFrustum(float l,
                        float r,
                        float b,
                        float t,
                        float n,
                        float f)

loadPerspective

public void loadPerspective(float fovy,
                            float aspect,
                            float near,
                            float far)

loadProjectionNormalized

public void loadProjectionNormalized(int w,
                                     int h)

multiply

public void multiply(Matrix4f rhs)

rotate

public void rotate(float rot,
                   float x,
                   float y,
                   float z)

scale

public void scale(float x,
                  float y,
                  float z)

translate

public void translate(float x,
                      float y,
                      float z)

inverse

public boolean inverse()

inverseTranspose

public boolean inverseTranspose()

transpose

public void transpose()


Copyright © 2008-2012. All Rights Reserved.