Class AbstractEnlightable
- java.lang.Object
-
- org.jzy3d.plot3d.primitives.Drawable
-
- org.jzy3d.plot3d.primitives.Wireframeable
-
- org.jzy3d.plot3d.primitives.enlightables.AbstractEnlightable
-
- All Implemented Interfaces:
IGLRenderer
,ISortableDraw
- Direct Known Subclasses:
EnlightableDisk
,EnlightablePolygon
,EnlightableSphere
public abstract class AbstractEnlightable extends Wireframeable
-
-
Field Summary
Fields Modifier and Type Field Description protected Color
materialAmbiantReflection
protected Color
materialDiffuseReflection
protected Color
materialEmission
protected float[]
materialShininess
protected Color
materialSpecularReflection
-
Fields inherited from class org.jzy3d.plot3d.primitives.Wireframeable
faceDisplayed, polygonOffsetFactor, polygonOffsetFillEnable, polygonOffsetUnit, polygonWireframeDepthTrick, wireframeColor, wireframeColorFromPolygonPoints, wireframeDisplayed, wireframeWidth
-
Fields inherited from class org.jzy3d.plot3d.primitives.Drawable
bbox, boundingBoxColor, boundingBoxDisplayed, displayed, hasListeners, legend, legendDisplayed, listeners, spaceTransformer, transform, transformBefore
-
-
Constructor Summary
Constructors Constructor Description AbstractEnlightable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
applyMaterial(IPainter painter)
Color
getMaterialAmbiantReflection()
LIGHT CONFIGColor
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.Wireframeable
applyDepthRangeForOverlying, applyDepthRangeForUnderlying, getFaceDisplayed, getPolygonOffsetFactor, getPolygonOffsetUnit, getWireframeColor, getWireframeDisplayed, getWireframeWidth, isPolygonOffsetFillEnable, isPolygonWireframeDepthTrick, isWireframeColorFromPolygonPoints, polygonOffseFillEnable, polygonOffsetFillDisable, polygonOffsetLineDisable, polygonOffsetLineEnable, setFaceDisplayed, setPolygonOffsetFactor, setPolygonOffsetFillEnable, setPolygonOffsetUnit, setPolygonWireframeDepthTrick, setWireframeColor, setWireframeColorFromPolygonPoints, setWireframeDisplayed, setWireframeWidth
-
Methods inherited from class org.jzy3d.plot3d.primitives.Drawable
addDrawableListener, applyGeometryTransform, dispose, doDrawBoundsIfDisplayed, doTransform, draw, fireDrawableChanged, fireDrawableChanged, getBarycentre, getBoundingBoxColor, getBounds, getDistance, getLegend, getLongestDistance, getShortestDistance, getSpaceTransformer, getTransform, getTransformBefore, hasLegend, isBoundingBoxDisplayed, isDisplayed, isLegendDisplayed, negative, removeDrawableListener, setBoundingBoxColor, setBoundingBoxDisplayed, setDisplayed, setLegend, setLegendDisplayed, setSpaceTransformer, setTransform, setTransformBefore, toString, toString, updateBounds
-
-
-
-
Field Detail
-
materialAmbiantReflection
protected Color materialAmbiantReflection
-
materialDiffuseReflection
protected Color materialDiffuseReflection
-
materialSpecularReflection
protected Color materialSpecularReflection
-
materialEmission
protected Color materialEmission
-
materialShininess
protected float[] materialShininess
-
-
Method Detail
-
applyMaterial
protected void applyMaterial(IPainter painter)
-
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)
-
-