Class TranslucentQuad
- java.lang.Object
-
- org.jzy3d.plot3d.primitives.Drawable
-
- org.jzy3d.plot3d.primitives.Wireframeable
-
- org.jzy3d.plot3d.primitives.Geometry
-
- org.jzy3d.plot3d.primitives.Polygon
-
- org.jzy3d.plot3d.primitives.Quad
-
- org.jzy3d.plot3d.primitives.textured.TranslucentQuad
-
- All Implemented Interfaces:
IMultiColorable
,ISingleColorable
,IGLRenderer
,ISortableDraw
,ITranslucent
public class TranslucentQuad extends Quad implements ITranslucent
-
-
Field Summary
Fields Modifier and Type Field Description protected float
alpha
-
Fields inherited from class org.jzy3d.plot3d.primitives.Geometry
center, color, mapper, NORMAL_AUTO_DEFAULT, NORMAL_END_COLOR, NORMAL_LINE_WIDTH, NORMAL_POINT_WIDTH, NORMAL_START_COLOR, NORMALIZE_NORMAL_DEFAULT, normalizeNormals, normalPer, normalProcessingAutomatic, normals, points, polygonMode, SHOW_NORMALS, SPLIT_TRIANGLE_DEFAULT, splitInTriangles
-
Fields inherited from class org.jzy3d.plot3d.primitives.Wireframeable
depthFunctionChangeForWireframe, faceDisplayed, materialAmbiantReflection, materialDiffuseReflection, materialEmission, materialShininess, materialSpecularReflection, 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
Constructors Constructor Description TranslucentQuad()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
draw(IPainter painter)
Call OpenGL2 routines for rendering the object.void
setAlphaFactor(float a)
-
Methods inherited from class org.jzy3d.plot3d.primitives.Geometry
add, add, add, add, add, add, add, applyGeometryTransform, applyPointOrMapperColor, callPointForWireframe, callPointsForFace, callPointsForFace_NoSplit, callPointsForFace_NoSplit_NoNormal, callPointsForFace_NoSplit_NormalAuto, callPointsForFace_NoSplit_NormalSupplied, callPointsForFace_SplitInTriangle, callPointsForFace_SplitInTriangle_NormalAuto, callPointsForFace_SplitInTriangle_NormalSupplied, computeNormalAutomatic, computeNormalAutomatic, drawFace, drawNormal, drawPolygonNormal, drawPolygonNormal, drawTriangleNormal, drawTriangleNormal, drawWireframe, equals, get, getBarycentre, getColor, getColorMapper, getCoordArray, getCoordList, getCoordSet, getDistance, getLongestDistance, getNormals, getPoints, getPointSet, getPolygonMode, getShortestDistance, hashCode, isNormalizeNormals, isNormalProcessingAutomatic, isSplitInTriangles, setColor, setColorMapper, setNormal, setNormalizeNormals, setNormalProcessingAutomatic, setNormals, setPolygonMode, setReflectLight, setSplitInTriangles, size, updateBounds
-
Methods inherited from class org.jzy3d.plot3d.primitives.Wireframeable
applyDepthRangeDefault, applyDepthRangeForOverlying, applyDepthRangeForUnderlying, applyMaterial, doDrawBoundsIfDisplayed, getMaterialAmbiantReflection, getMaterialDiffuseReflection, getMaterialEmission, getMaterialShininess, getMaterialSpecularReflection, getPolygonOffsetFactor, getPolygonOffsetUnit, getWireframeColor, getWireframeWidth, isFaceDisplayed, isPolygonOffsetFillEnable, isPolygonWireframeDepthTrick, isReflectLight, isWireframeColorFromPolygonPoints, isWireframeDisplayed, polygonOffsetFillDisable, polygonOffsetFillEnable, polygonOffsetLineDisable, polygonOffsetLineEnable, setFaceDisplayed, setMaterialAmbiantReflection, setMaterialDiffuseReflection, setMaterialEmission, setMaterialShininess, setMaterialSpecularReflection, setPolygonOffsetFactor, setPolygonOffsetFillEnable, setPolygonOffsetUnit, setPolygonWireframeDepthTrick, setWireframeColor, setWireframeColorFromPolygonPoints, setWireframeDisplayed, setWireframeWidth
-
Methods inherited from class org.jzy3d.plot3d.primitives.Drawable
addDrawableListener, asWireframeable, dispose, doTransform, fireDrawableChanged, fireDrawableChanged, getBoundingBoxColor, getBounds, getLegend, getSpaceTransformer, getTransform, getTransformBefore, hasLegend, isBoundingBoxDisplayed, isDisplayed, isLegendDisplayed, removeDrawableListener, setBoundingBoxColor, setBoundingBoxDisplayed, setDisplayed, setLegend, setLegendDisplayed, setSpaceTransformer, setTransform, setTransformBefore, toString
-
-
-
-
Method Detail
-
draw
public void draw(IPainter painter)
Description copied from class:Drawable
Call OpenGL2 routines for rendering the object.- Specified by:
draw
in interfaceIGLRenderer
- Overrides:
draw
in classGeometry
-
setAlphaFactor
public void setAlphaFactor(float a)
- Specified by:
setAlphaFactor
in interfaceITranslucent
-
-