edu.sdsc.mbt.viewers.GLViewerImpl
Class GeometryEntity

java.lang.Object
  extended byedu.sdsc.mbt.viewers.GLViewerImpl.GeometryEntity
Direct Known Subclasses:
SsGeometry

public class GeometryEntity
extends java.lang.Object

Geometry is the base class for the geometry description of all structure objects in a scene.

Author:
Apostol Gramada

Constructor Summary
GeometryEntity()
          Empty constructor for a GeometryEntity object.
 
Method Summary
 void drawJoglGeometry(javax.media.opengl.GL gl, javax.media.opengl.glu.GLU glu, com.sun.opengl.util.GLUT glut)
          Return the BranchGroup object representing the geometrical shape contained by this GeometryEntity object.
 float getQuality()
          Get the quality parameter.
 void setQuality(float quality)
          Set the quality parameter.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeometryEntity

public GeometryEntity()
Empty constructor for a GeometryEntity object.

Method Detail

drawJoglGeometry

public void drawJoglGeometry(javax.media.opengl.GL gl,
                             javax.media.opengl.glu.GLU glu,
                             com.sun.opengl.util.GLUT glut)
Return the BranchGroup object representing the geometrical shape contained by this GeometryEntity object. To be actually overridden in each subclass.


setQuality

public void setQuality(float quality)
Set the quality parameter.


getQuality

public float getQuality()
Get the quality parameter.