Package org.jzy3d.plot3d.primitives
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
-
Field Summary
Modifier and TypeFieldDescriptionprotected Polygon[]
protected ParallelepipedComposite.PolygonType
Fields inherited from class org.jzy3d.plot3d.primitives.Composite
color, components, detailedToString, hasMountedOnce, mapper, transform
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, transformBefore
-
Constructor Summary
ConstructorDescriptionInitialize a parallelepiped.Initialize a parallelepiped. -
Method Summary
Modifier and TypeMethodDescriptionprotected Polygon
void
setData
(BoundingBox3d box) Set the parallelepiped data.void
setPolygonMode
(PolygonMode mode) void
setPolygonOffsetFill
(boolean value) Methods inherited from class org.jzy3d.plot3d.primitives.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, 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, setPolygonOffsetFactor, setPolygonOffsetUnit
Methods inherited from class org.jzy3d.plot3d.primitives.Drawable
addDrawableListener, asWireframeable, dispose, doTransform, fireDrawableChanged, fireDrawableChanged, getBarycentre, getBoundingBoxColor, getDistance, getLegend, getLongestDistance, getShortestDistance, getSpaceTransformer, getTransformBefore, hasLegend, isBoundingBoxDisplayed, isDisplayed, isLegendDisplayed, removeDrawableListener, setBoundingBoxColor, setBoundingBoxDisplayed, setLegend, setLegendDisplayed
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, 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
-
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
-