gizmoball
Class GLTriangularBumperView
java.lang.Object
gizmoball.GLGizmoView
gizmoball.GLTriangularBumperView
- All Implemented Interfaces:
- GizmoObserver, GizmoView
public class GLTriangularBumperView
- extends GLGizmoView
A GizmoView that can render a
TriangularBumper using OpenGL.
- Specification Fields
-
-
bumper : TriangularBumper -
the TriangularBumper this
GLTriangularBumperView is in charge of displaying
-
gizmo : Gizmo -
inherited from GizmoView; for
GLTriangularBumperViews, should be just
this.bumper
-
observedGizmos : list of Gizmos -
inherited from GizmoObserver; for
GLGizmoViews, should contain only
this.gizmo
|
Field Summary |
static String |
rcsid
Class revision identifier. |
|
Method Summary |
void |
render(javax.media.opengl.GL gl)
Renders this GLTriangularBumperView's
TriangularBumper using the given GL
pipeline object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
rcsid
public static final String rcsid
- Class revision identifier.
rcsid contains an RCS Id
keyword string that may be used to identify which revision of
GLTriangularBumperView.java was used to generate an
instance of GLTriangularBumperView.class. To
identify the revision of a
GLTriangularBumperView.class file, run "ident
GLTriangularBumperView.class" (ident is part
of the RCS
software package).
- See Also:
- Constant Field Values
GLTriangularBumperView
public GLTriangularBumperView(TriangularBumper bumper)
- Constructs a
GLTriangularBumperView that displays
the given TriangularBumper.
- Parameters:
bumper - the TriangularBumper to be displayed- Requires:
bumper != null
- Effects:
this.bumper = bumper
render
public void render(javax.media.opengl.GL gl)
- Renders this
GLTriangularBumperView's
TriangularBumper using the given GL
pipeline object.
- Specified by:
render in class GLGizmoView
- Parameters:
gl - the GL pipeline to render to- Requires:
gl != null