Package org.jzy3d.plot3d.primitives
Class SimplePolygon
- 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.SimplePolygon
-
- All Implemented Interfaces:
IMultiColorable
,ISingleColorable
,IGLRenderer
,ISortableDraw
public class SimplePolygon extends Polygon implements ISingleColorable, IMultiColorable
ASimplePolygon
makes the simplest possible GL rendering with especially no:- gl.glPolygonMode(GL2.GL_FRONT_AND_BACK, GL2.GL_FILL);
- gl.glEnable(GL2.GL_POLYGON_OFFSET_FILL);
- Author:
- Martin Pernollet
-
-
Field Summary
-
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 SimplePolygon()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
draw(IPainter painter)
Call OpenGL2 routines for rendering the object.-
Methods inherited from class org.jzy3d.plot3d.primitives.Geometry
add, 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, toString, 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
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.jzy3d.colors.IMultiColorable
getColorMapper, setColorMapper
-
Methods inherited from interface org.jzy3d.colors.ISingleColorable
getColor, setColor
-
-