edu.sdsc.mbt.viewers.GLViewerImpl
Class ArrowGeometry

java.lang.Object
  extended byedu.sdsc.mbt.viewers.GLViewerImpl.AnnotationGeometry
      extended byedu.sdsc.mbt.viewers.GLViewerImpl.ArrowGeometry

public class ArrowGeometry
extends AnnotationGeometry

Author:
Oleksandr V. Buzko
See Also:

Constructor Summary
ArrowGeometry()
          Construct a new MonitorGeometry object.
 
Method Summary
 void draw(AnnotationComponent annotationComponent, javax.media.opengl.GL gl, javax.media.opengl.glu.GLU glu, com.sun.opengl.util.GLUT glut)
          Please complete the missing tags for main
 void draw(StructureComponent comp, javax.media.opengl.GL gl, javax.media.opengl.glu.GLU glu, com.sun.opengl.util.GLUT glut)
           
 void drawCone(javax.media.opengl.GL gl, javax.media.opengl.glu.GLU glu, com.sun.opengl.util.GLUT glut, double height, boolean drawBottom, double bottomRadius, int slices, int segments)
           
 void drawCylinder(javax.media.opengl.GL gl, javax.media.opengl.glu.GLU glu, com.sun.opengl.util.GLUT glut, double height, boolean drawBottom, double bottomRadius, float topRadius, int slices, int segments)
           
 void setLabel(java.lang.String label)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrowGeometry

public ArrowGeometry()
Construct a new MonitorGeometry object.

Method Detail

setLabel

public void setLabel(java.lang.String label)

draw

public final void draw(StructureComponent comp,
                       javax.media.opengl.GL gl,
                       javax.media.opengl.glu.GLU glu,
                       com.sun.opengl.util.GLUT glut)

draw

public final void draw(AnnotationComponent annotationComponent,
                       javax.media.opengl.GL gl,
                       javax.media.opengl.glu.GLU glu,
                       com.sun.opengl.util.GLUT glut)
Please complete the missing tags for main

Specified by:
draw in class AnnotationGeometry
Returns:
Throws:

drawCylinder

public void drawCylinder(javax.media.opengl.GL gl,
                         javax.media.opengl.glu.GLU glu,
                         com.sun.opengl.util.GLUT glut,
                         double height,
                         boolean drawBottom,
                         double bottomRadius,
                         float topRadius,
                         int slices,
                         int segments)

drawCone

public void drawCone(javax.media.opengl.GL gl,
                     javax.media.opengl.glu.GLU glu,
                     com.sun.opengl.util.GLUT glut,
                     double height,
                     boolean drawBottom,
                     double bottomRadius,
                     int slices,
                     int segments)