Public Member Functions | |
void | drawShape (VisualizationView view, GL10 gl) |
TriangleFanShape (float[] vertices, Color color) | |
Private Attributes | |
final FloatBuffer | vertices |
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.
Definition at line 37 of file TriangleFanShape.java.
org.ros.android.view.visualization.shape.TriangleFanShape.TriangleFanShape | ( | float[] | vertices, |
Color | color | ||
) | [inline] |
vertices | an array of vertices as defined by OpenGL's GL_TRIANGLE_FAN method |
color | the Color of the Shape |
Definition at line 47 of file TriangleFanShape.java.
void org.ros.android.view.visualization.shape.TriangleFanShape.drawShape | ( | VisualizationView | view, |
GL10 | gl | ||
) | [inline, virtual] |
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.
final FloatBuffer org.ros.android.view.visualization.shape.TriangleFanShape.vertices [private] |
Definition at line 39 of file TriangleFanShape.java.