Package org.jzy3d.plot3d.primitives
Class LineStripInterpolated
- java.lang.Object
-
- org.jzy3d.plot3d.primitives.Drawable
-
- org.jzy3d.plot3d.primitives.Wireframeable
-
- org.jzy3d.plot3d.primitives.Composite
-
- org.jzy3d.plot3d.primitives.LineStripInterpolated
-
- All Implemented Interfaces:
IMultiColorable
,ISingleColorable
,IGLRenderer
,ISortableDraw
public class LineStripInterpolated extends Composite
Creates an interpolated line to make a smooth 3d curve based on control points.- Author:
- martin
-
-
Field Summary
Fields Modifier and Type Field Description protected List<Coord3d>
controlCoords
protected List<Point>
controlPoints
protected List<Coord3d>
interpolatedCoords
protected List<Point>
interpolatedPoints
protected LineStrip
line
protected int
resolution
-
Fields inherited from class org.jzy3d.plot3d.primitives.Composite
color, components, detailedToString, 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
Constructors Modifier Constructor Description protected
LineStripInterpolated()
LineStripInterpolated(List<Coord3d> controlPoints, int resolution)
LineStripInterpolated(IInterpolator interpolator, List<Coord3d> controlPoints, int resolution)
LineStripInterpolated(IInterpolator interpolator, List<Coord3d> controlPoints, int resolution, boolean drawPoints)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Coord3d>
getControlCoords()
List<Point>
getControlPoints()
List<Coord3d>
getInterpolatedCoords()
List<Point>
getInterpolatedPoints()
LineStrip
getLine()
int
getResolution()
protected Point
toPoint(Coord3d coord, Color color, float width)
protected List<Point>
toPoints(List<Coord3d> coords, Color color, float width)
-
Methods inherited from class org.jzy3d.plot3d.primitives.Composite
add, add, applyGeometryTransform, canDecompose, clear, draw, get, getBounds, getColor, getColorMapper, getDrawables, getTransform, isDetailedToString, 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
-
-
-
-
Field Detail
-
line
protected LineStrip line
-
resolution
protected int resolution
-
-
Constructor Detail
-
LineStripInterpolated
protected LineStripInterpolated()
-
LineStripInterpolated
public LineStripInterpolated(IInterpolator interpolator, List<Coord3d> controlPoints, int resolution)
-
LineStripInterpolated
public LineStripInterpolated(IInterpolator interpolator, List<Coord3d> controlPoints, int resolution, boolean drawPoints)
-
-
Method Detail
-
getLine
public LineStrip getLine()
-
getResolution
public int getResolution()
-
-