Public Member Functions | Private Attributes
org.ros.android.view.visualization.shape.TriangleFanShape Class Reference
Inheritance diagram for org.ros.android.view.visualization.shape.TriangleFanShape:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void drawShape (VisualizationView view, GL10 gl)
 TriangleFanShape (float[] vertices, Color color)

Private Attributes

final FloatBuffer vertices

Detailed Description

A Shape defined by vertices using OpenGl's GL_TRIANGLE_FAN method.

Note that this class is intended to be wrapped. No transformations are performed in the draw(VisualizationView, GL10) method.

Author:
moesenle@google.com (Lorenz Moesenlechner)
damonkohler@google.com (Damon Kohler)

Definition at line 37 of file TriangleFanShape.java.


Constructor & Destructor Documentation

Parameters:
verticesan array of vertices as defined by OpenGL's GL_TRIANGLE_FAN method
colorthe Color of the Shape

Definition at line 47 of file TriangleFanShape.java.


Member Function Documentation

To be implemented by children. Draws the shape after the shape's transform and scaling have been applied.

Implements org.ros.android.view.visualization.shape.BaseShape.

Definition at line 54 of file TriangleFanShape.java.


Member Data Documentation

Definition at line 39 of file TriangleFanShape.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