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

List of all members.

Public Member Functions

void draw (GL10 gl)
Color getColor ()
Transform getTransform ()
void setColor (Color color)
void setTransform (Transform pose)

Protected Member Functions

void scale (GL10 gl)

Private Attributes

Color color
Transform transform

Detailed Description

Defines the getters and setters that are required for all Shape implementors.

Author:
damonkohler@google.com (Damon Kohler)

Definition at line 17 of file BaseShape.java.


Member Function Documentation

Returns:
the Color of this Shape

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

Definition at line 41 of file BaseShape.java.

Returns:
the Transform that will be applied to this Shape before it is drawn

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

Definition at line 52 of file BaseShape.java.

void org.ros.android.view.visualization.shape.BaseShape.scale ( GL10  gl) [inline, protected]

Scales the coordinate system.

This is called after transforming the surface according to transform.

Parameters:
gl

Reimplemented in org.ros.android.view.visualization.shape.PoseShape.

Definition at line 36 of file BaseShape.java.

Parameters:
colorthe Color of this Shape

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

Definition at line 47 of file BaseShape.java.

Parameters:
transformthe Transform that will be applied to this Shape before it is drawn

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

Definition at line 58 of file BaseShape.java.


Member Data Documentation

Definition at line 19 of file BaseShape.java.

Definition at line 20 of file BaseShape.java.


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


android_core
Author(s): Damon Kohler
autogenerated on Thu Aug 27 2015 12:11:33