org.jzy3d.plot3d.primitives.enlightables
Class AbstractEnlightable

java.lang.Object
  extended by org.jzy3d.plot3d.primitives.AbstractDrawable
      extended by org.jzy3d.plot3d.primitives.AbstractWireframeable
          extended by org.jzy3d.plot3d.primitives.enlightables.AbstractEnlightable
All Implemented Interfaces:
IGLRenderer, ISortableDraw
Direct Known Subclasses:
EnlightableDisk, EnlightablePolygon, EnlightableSphere

public abstract class AbstractEnlightable
extends AbstractWireframeable


Field Summary
protected  Color materialAmbiantReflection
           
protected  Color materialDiffuseReflection
           
protected  Color materialEmission
           
protected  float[] materialShininess
           
protected  Color materialSpecularReflection
           
 
Fields inherited from class org.jzy3d.plot3d.primitives.AbstractWireframeable
facestatus, wfcolor, wfstatus, wfwidth
 
Fields inherited from class org.jzy3d.plot3d.primitives.AbstractDrawable
bbox, displayed, hasListeners, legend, legendDisplayed, listeners, transform
 
Constructor Summary
AbstractEnlightable()
           
 
Method Summary
protected  void applyMaterial(javax.media.opengl.GL2 gl)
           
 Color getMaterialAmbiantReflection()
          LIGHT CONFIG
 Color getMaterialDiffuseReflection()
           
 Color getMaterialEmission()
           
 float getMaterialShininess()
           
 Color getMaterialSpecularReflection()
           
 void setMaterialAmbiantReflection(Color materialAmbiantReflection)
           
 void setMaterialDiffuseReflection(Color materialDiffuseReflection)
           
 void setMaterialEmission(Color materialEmission)
           
 void setMaterialShininess(float shininess)
           
 void setMaterialSpecularReflection(Color materialSpecularReflection)
           
 
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, call, call, callWithAlphaFactor, dispose, draw, fireDrawableChanged, fireDrawableChanged, getBarycentre, getBounds, getDistance, getLegend, getLongestDistance, getShortestDistance, getTransform, hasLegend, isDisplayed, isLegendDisplayed, negative, removeDrawableListener, setDisplayed, setLegend, setLegendDisplayed, setTransform, toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

materialAmbiantReflection

protected Color materialAmbiantReflection

materialDiffuseReflection

protected Color materialDiffuseReflection

materialSpecularReflection

protected Color materialSpecularReflection

materialEmission

protected Color materialEmission

materialShininess

protected float[] materialShininess
Constructor Detail

AbstractEnlightable

public AbstractEnlightable()
Method Detail

applyMaterial

protected void applyMaterial(javax.media.opengl.GL2 gl)

getMaterialAmbiantReflection

public Color getMaterialAmbiantReflection()
LIGHT CONFIG


setMaterialAmbiantReflection

public void setMaterialAmbiantReflection(Color materialAmbiantReflection)

getMaterialDiffuseReflection

public Color getMaterialDiffuseReflection()

setMaterialDiffuseReflection

public void setMaterialDiffuseReflection(Color materialDiffuseReflection)

getMaterialSpecularReflection

public Color getMaterialSpecularReflection()

setMaterialSpecularReflection

public void setMaterialSpecularReflection(Color materialSpecularReflection)

getMaterialEmission

public Color getMaterialEmission()

setMaterialEmission

public void setMaterialEmission(Color materialEmission)

getMaterialShininess

public float getMaterialShininess()

setMaterialShininess

public void setMaterialShininess(float shininess)