Public Member Functions | Private Member Functions | Private Attributes
org.ros.android.view.DistancePoints Class Reference

List of all members.

Public Member Functions

 DistancePoints ()
void drawRange (GL10 gl)
void drawReferenceMarker (GL10 gl)
void drawRobot (GL10 gl)
void updateRange (List< Float > range, float maxRange, float minRange, float minimumTheta, float thetaIncrement)

Private Member Functions

void initRangeVertexBuffer ()
void initReferenceMarker ()
void initRobot ()

Private Attributes

float[] rangeVertexArray = new float[0]
FloatBuffer rangeVertexBuffer
ByteBuffer rangeVertexByteBuffer
int rangeVertexCount
List< Float > rangeVertices = new ArrayList<Float>()
FloatBuffer referenceVertexBuffer
FloatBuffer robotVertexBuffer
int robotVertexCount

Detailed Description

Helper function for the DistanceRenderer that creates the polygons, lines, points, etc based on the received data.

Author:
munjaldesai@google.com (Munjal Desai)

Definition at line 33 of file DistancePoints.java.


Constructor & Destructor Documentation

Definition at line 47 of file DistancePoints.java.


Member Function Documentation

Draws the open region in light gray and the objects seen by the laser in red.

Parameters:
glThe GL interface.

Definition at line 114 of file DistancePoints.java.

Draws the reference markers that show the current scale or zoom.

Parameters:
glThe GL interface.

Definition at line 139 of file DistancePoints.java.

Draws the robot.

Parameters:
glThe GL interface.

Definition at line 157 of file DistancePoints.java.

Definition at line 97 of file DistancePoints.java.

Definition at line 199 of file DistancePoints.java.

Definition at line 167 of file DistancePoints.java.

void org.ros.android.view.DistancePoints.updateRange ( List< Float >  range,
float  maxRange,
float  minRange,
float  minimumTheta,
float  thetaIncrement 
) [inline]

Updates the range buffer for displaying the polygons and the points based on incoming range data.

Definition at line 56 of file DistancePoints.java.


Member Data Documentation

float [] org.ros.android.view.DistancePoints.rangeVertexArray = new float[0] [private]

Definition at line 39 of file DistancePoints.java.

Definition at line 36 of file DistancePoints.java.

Definition at line 37 of file DistancePoints.java.

Definition at line 40 of file DistancePoints.java.

List<Float> org.ros.android.view.DistancePoints.rangeVertices = new ArrayList<Float>() [private]

Definition at line 38 of file DistancePoints.java.

Definition at line 45 of file DistancePoints.java.

Definition at line 42 of file DistancePoints.java.

Definition at line 43 of file DistancePoints.java.


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


android_core
Author(s): Damon Kohler
autogenerated on Thu Jun 6 2019 21:20:07