gizmoball
Class GLTriangularBumperView

java.lang.Object
  extended by gizmoball.GLGizmoView
      extended by gizmoball.GLTriangularBumperView
All Implemented Interfaces:
GizmoObserver, GizmoView

public class GLTriangularBumperView
extends GLGizmoView

A GizmoView that can render a TriangularBumper using OpenGL.

Specification Fields

Field Summary
static String rcsid
          Class revision identifier.
 
Constructor Summary
GLTriangularBumperView(TriangularBumper bumper)
          Constructs a GLTriangularBumperView that displays the given TriangularBumper.
 
Method Summary
 void render(javax.media.opengl.GL gl)
          Renders this GLTriangularBumperView's TriangularBumper using the given GL pipeline object.
 
Methods inherited from class gizmoball.GLGizmoView
notifyGizmoObserver
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

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
Method Detail

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