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
-
Field Summary
Modifier and TypeFieldDescriptionprotected Color
protected Color
protected Color
protected float[]
protected Color
Fields inherited from class org.jzy3d.plot3d.primitives.Wireframeable
depthFunctionChangeForWireframe, faceDisplayed, NO_OVERLAP_DEPTH_RATIO, polygonOffsetFactor, polygonOffsetFillEnable, polygonOffsetUnit, polygonWireframeDepthTrick, reflectLight, wireframeColor, wireframeColorFromPolygonPoints, wireframeDisplayed, wireframeWidth, wireframeWithLineLoop
Fields inherited from class org.jzy3d.plot3d.primitives.Drawable
bbox, boundingBoxColor, boundingBoxDisplayed, displayed, hasListeners, legend, legendDisplayed, listeners, spaceTransformer, transform, transformBefore
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
applyMaterial
(IPainter painter) Applies material settingsLIGHT CONFIGfloat
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
applyDepthRangeDefault, applyDepthRangeForOverlying, applyDepthRangeForUnderlying, doDrawBoundsIfDisplayed, getPolygonOffsetFactor, getPolygonOffsetUnit, getWireframeColor, getWireframeWidth, isFaceDisplayed, isPolygonOffsetFillEnable, isPolygonWireframeDepthTrick, isReflectLight, isWireframeColorFromPolygonPoints, isWireframeDisplayed, polygonOffsetFillDisable, polygonOffsetFillEnable, polygonOffsetLineDisable, polygonOffsetLineEnable, setFaceDisplayed, setPolygonOffsetFactor, setPolygonOffsetFillEnable, setPolygonOffsetUnit, setPolygonWireframeDepthTrick, setReflectLight, setWireframeColor, setWireframeColorFromPolygonPoints, setWireframeDisplayed, setWireframeWidth
Methods inherited from class org.jzy3d.plot3d.primitives.Drawable
addDrawableListener, applyGeometryTransform, asWireframeable, dispose, doTransform, draw, fireDrawableChanged, fireDrawableChanged, getBarycentre, getBoundingBoxColor, getBounds, getDistance, getLegend, getLongestDistance, getShortestDistance, getSpaceTransformer, getTransform, getTransformBefore, hasLegend, isBoundingBoxDisplayed, isDisplayed, isLegendDisplayed, removeDrawableListener, setBoundingBoxColor, setBoundingBoxDisplayed, setDisplayed, setLegend, setLegendDisplayed, setSpaceTransformer, setTransform, setTransformBefore, toString, toString, updateBounds
-
Field Details
-
materialAmbiantReflection
-
materialDiffuseReflection
-
materialSpecularReflection
-
materialEmission
-
materialShininess
protected float[] materialShininess
-
-
Constructor Details
-
AbstractEnlightable
public AbstractEnlightable()
-
-
Method Details
-
applyMaterial
Description copied from class:Wireframeable
Applies material settings- Overrides:
applyMaterial
in classWireframeable
-
getMaterialAmbiantReflection
LIGHT CONFIG- Overrides:
getMaterialAmbiantReflection
in classWireframeable
-
setMaterialAmbiantReflection
- Overrides:
setMaterialAmbiantReflection
in classWireframeable
-
getMaterialDiffuseReflection
- Overrides:
getMaterialDiffuseReflection
in classWireframeable
-
setMaterialDiffuseReflection
- Overrides:
setMaterialDiffuseReflection
in classWireframeable
-
getMaterialSpecularReflection
- Overrides:
getMaterialSpecularReflection
in classWireframeable
-
setMaterialSpecularReflection
- Overrides:
setMaterialSpecularReflection
in classWireframeable
-
getMaterialEmission
- Overrides:
getMaterialEmission
in classWireframeable
-
setMaterialEmission
- Overrides:
setMaterialEmission
in classWireframeable
-
getMaterialShininess
public float getMaterialShininess()- Overrides:
getMaterialShininess
in classWireframeable
-
setMaterialShininess
public void setMaterialShininess(float shininess) - Overrides:
setMaterialShininess
in classWireframeable
-