org.ros.android.view.visualization
Class Viewport

java.lang.Object
  extended by org.ros.android.view.visualization.Viewport

public class Viewport
extends java.lang.Object


Constructor Summary
Viewport(int width, int height)
           
 
Method Summary
 void apply(GL10 gl)
           
 int getHeight()
           
 int getWidth()
           
 float getZoom()
           
 void setZoom(float zoom)
           
 void zoom(GL10 gl)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Viewport

public Viewport(int width,
                int height)
Method Detail

apply

public void apply(GL10 gl)

zoom

public void zoom(GL10 gl)

getWidth

public int getWidth()

getHeight

public int getHeight()

getZoom

public float getZoom()

setZoom

public void setZoom(float zoom)