Class ParallelepipedComposite
java.lang.Object
org.jzy3d.plot3d.primitives.Drawable
org.jzy3d.plot3d.primitives.Wireframeable
org.jzy3d.plot3d.primitives.Composite
org.jzy3d.plot3d.primitives.ParallelepipedComposite
- All Implemented Interfaces:
IMultiColorable, ISingleColorable, IGLBindedResource, IGLRenderer, ISortableDraw
A composite implementation of a parallelepiped, meaning it can be decomposed into distinct
primitive for polygon ordering.
Supports two kind of sub polygon: culled or simple.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Polygon[]protected ParallelepipedComposite.PolygonTypeFields inherited from class Composite
color, components, detailedToString, hasMountedOnce, mapper, transformFields inherited from class Wireframeable
depthFunctionChangeForWireframe, faceDisplayed, materialAmbiantReflection, materialDiffuseReflection, materialEmission, materialShininess, materialSpecularReflection, NO_OVERLAP_DEPTH_RATIO, polygonOffsetFactor, polygonOffsetFillEnable, polygonOffsetUnit, polygonWireframeDepthTrick, reflectLight, wireframeColor, wireframeColorFromPolygonPoints, wireframeDisplayed, wireframeWidth, wireframeWithLineLoopFields inherited from class Drawable
bbox, boundingBoxColor, boundingBoxDisplayed, displayed, hasListeners, legend, legendDisplayed, listeners, spaceTransformer, transformBefore -
Constructor Summary
ConstructorsConstructorDescriptionInitialize a parallelepiped.Initialize a parallelepiped. -
Method Summary
Modifier and TypeMethodDescriptionprotected PolygonvoidsetData(BoundingBox3d box) Set the parallelepiped data.voidsetPolygonMode(PolygonMode mode) voidsetPolygonOffsetFill(boolean value) Methods inherited from class Composite
add, add, add, applyGeometryTransform, canDecompose, clear, draw, get, getBounds, getColor, getColorMapper, getDrawables, getTransform, hasMountedOnce, isDetailedToString, mount, remove, setColor, setColorMapper, setDetailedToString, setDisplayed, setFaceDisplayed, setMaterialAmbiantReflection, setMaterialDiffuseReflection, setMaterialEmission, setMaterialShininess, setMaterialSpecularReflection, setPolygonOffsetFillEnable, setPolygonWireframeDepthTrick, setReflectLight, setSpaceTransformer, setTransform, setTransformBefore, setWireframeColor, setWireframeColorFromPolygonPoints, setWireframeDisplayed, setWireframeWidth, size, toString, toString, updateBoundsMethods inherited from class 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, setPolygonOffsetFactor, setPolygonOffsetUnitMethods inherited from class Drawable
addDrawableListener, asWireframeable, dispose, doTransform, fireDrawableChanged, fireDrawableChanged, getBarycentre, getBoundingBoxColor, getDistance, getLegend, getLongestDistance, getShortestDistance, getSpaceTransformer, getTransformBefore, hasLegend, isBoundingBoxDisplayed, isDisplayed, isLegendDisplayed, removeDrawableListener, setBoundingBoxColor, setBoundingBoxDisplayed, setLegend, setLegendDisplayedMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface IMultiColorable
getColorMapper, setColorMapperMethods inherited from interface ISingleColorable
getColor, setColor
-
Field Details
-
quads
-
type
-
-
Constructor Details
-
ParallelepipedComposite
public ParallelepipedComposite()Initialize a parallelepiped. -
ParallelepipedComposite
-
ParallelepipedComposite
Initialize a parallelepiped. -
ParallelepipedComposite
-
-
Method Details
-
setData
Set the parallelepiped data. -
createPolygon
-
setPolygonOffsetFill
public void setPolygonOffsetFill(boolean value) -
setPolygonMode
-