org.jzy3d.plot3d.primitives.textured
Class TranslucentQuad

java.lang.Object
  extended by org.jzy3d.plot3d.primitives.AbstractDrawable
      extended by org.jzy3d.plot3d.primitives.AbstractWireframeable
          extended by org.jzy3d.plot3d.primitives.Polygon
              extended by org.jzy3d.plot3d.primitives.Quad
                  extended by org.jzy3d.plot3d.primitives.textured.TranslucentQuad
All Implemented Interfaces:
IMultiColorable, ISingleColorable, IGLRenderer, ISortableDraw, IWireframeable, ITranslucent

public class TranslucentQuad
extends Quad
implements ITranslucent


Constructor Summary
TranslucentQuad()
           
 
Method Summary
 void draw(javax.media.opengl.GL gl, javax.media.opengl.glu.GLU glu, Camera cam)
          Call OpenGL routines for rendering the object.
 void setAlphaFactor(float a)
           
 
Methods inherited from class org.jzy3d.plot3d.primitives.Quad
add, getDistance, getLongestDistance, getShortestDistance, toString
 
Methods inherited from class org.jzy3d.plot3d.primitives.Polygon
get, getAll, getBarycentre, getColor, getColorMapper, setColor, setColorMapper, size
 
Methods inherited from class org.jzy3d.plot3d.primitives.AbstractWireframeable
getFaceDisplayed, getWireframeColor, getWireframeDisplayed, getWireframeWidth, setFaceDisplayed, setWireframeColor, setWireframeDisplayed, setWireframeWidth
 
Methods inherited from class org.jzy3d.plot3d.primitives.AbstractDrawable
addDrawableListener, dispose, getBounds, getFace, getTransform, hasFace, isDisplayed, isFace2dDisplayed, removeDrawableListener, setDisplayed, setLegend, setLegendDisplayed, setTransform, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TranslucentQuad

public TranslucentQuad()
Method Detail

draw

public void draw(javax.media.opengl.GL gl,
                 javax.media.opengl.glu.GLU glu,
                 Camera cam)
Description copied from class: AbstractDrawable
Call OpenGL routines for rendering the object.

Specified by:
draw in interface IGLRenderer
Overrides:
draw in class Quad
Parameters:
gl - GL context
glu - GLU context
cam - a reference to a shooting Camera.

setAlphaFactor

public void setAlphaFactor(float a)
Specified by:
setAlphaFactor in interface ITranslucent