org.jzy3d.plot3d.primitives
Class InterpolatedLineStrip

java.lang.Object
  extended by org.jzy3d.plot3d.primitives.AbstractDrawable
      extended by org.jzy3d.plot3d.primitives.AbstractWireframeable
          extended by org.jzy3d.plot3d.primitives.AbstractComposite
              extended by org.jzy3d.plot3d.primitives.InterpolatedLineStrip
All Implemented Interfaces:
IMultiColorable, ISingleColorable, IGLRenderer, ISortableDraw

public class InterpolatedLineStrip
extends AbstractComposite


Field Summary
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.AbstractComposite
color, components, detailedToString, mapper, transform
 
Fields inherited from class org.jzy3d.plot3d.primitives.AbstractWireframeable
facestatus, wfcolor, wfstatus, wfwidth
 
Fields inherited from class org.jzy3d.plot3d.primitives.AbstractDrawable
bbox, displayed, hasListeners, legend, legendDisplayed, listeners
 
Constructor Summary
InterpolatedLineStrip(IInterpolator interpolator, List<Coord3d> controlPoints, int resolution)
           
 
Method Summary
 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.AbstractComposite
add, add, clear, draw, get, getBounds, getColor, getColorMapper, getDrawables, getTransform, isDetailedToString, remove, setColor, setColorMapper, setDetailedToString, setDisplayed, setFaceDisplayed, setTransform, setWireframeColor, setWireframeDisplayed, setWireframeWidth, size, toString, toString
 
Methods inherited from class org.jzy3d.plot3d.primitives.AbstractWireframeable
getFaceDisplayed, getWireframeColor, getWireframeDisplayed, getWireframeWidth
 
Methods inherited from class org.jzy3d.plot3d.primitives.AbstractDrawable
addDrawableListener, call, call, callWithAlphaFactor, dispose, fireDrawableChanged, fireDrawableChanged, getBarycentre, getDistance, getLegend, getLongestDistance, getShortestDistance, hasLegend, isDisplayed, isLegendDisplayed, negative, removeDrawableListener, setLegend, setLegendDisplayed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

line

protected LineStrip line

controlPoints

protected List<Point> controlPoints

interpolatedPoints

protected List<Point> interpolatedPoints

controlCoords

protected List<Coord3d> controlCoords

interpolatedCoords

protected List<Coord3d> interpolatedCoords

resolution

protected int resolution
Constructor Detail

InterpolatedLineStrip

public InterpolatedLineStrip(IInterpolator interpolator,
                             List<Coord3d> controlPoints,
                             int resolution)
Method Detail

toPoint

protected Point toPoint(Coord3d coord,
                        Color color,
                        float width)

toPoints

protected List<Point> toPoints(List<Coord3d> coords,
                               Color color,
                               float width)

getLine

public LineStrip getLine()

getControlPoints

public List<Point> getControlPoints()

getInterpolatedPoints

public List<Point> getInterpolatedPoints()

getControlCoords

public List<Coord3d> getControlCoords()

getInterpolatedCoords

public List<Coord3d> getInterpolatedCoords()

getResolution

public int getResolution()