org.jzy3d.plot3d.primitives.contour
Class ContourLevel

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.contour.ContourLevel
All Implemented Interfaces:
IMultiColorable, ISingleColorable, IGLRenderer, ISortableDraw

public class ContourLevel
extends AbstractComposite

A ContourLevel is an AbstractComposite gathering a collection of LineStrips for a given contour level.

Author:
Martin

Field Summary
protected  int id
           
protected  List<LineStrip> lines
           
protected  ILineStripMergePolicy policy
           
protected  float value
           
 
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
ContourLevel()
           
ContourLevel(float value)
           
ContourLevel(int id, float value, List<LineStrip> lines)
           
 
Method Summary
 void appendLine(LineStrip strip)
           
 void fixZ(float value)
           
 int getId()
           
 List<LineStrip> getLines()
           
 float getValue()
           
protected  void updateComponents()
           
 
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

policy

protected ILineStripMergePolicy policy

id

protected int id

value

protected float value

lines

protected List<LineStrip> lines
Constructor Detail

ContourLevel

public ContourLevel()

ContourLevel

public ContourLevel(float value)

ContourLevel

public ContourLevel(int id,
                    float value,
                    List<LineStrip> lines)
Method Detail

getId

public int getId()

getValue

public float getValue()

getLines

public List<LineStrip> getLines()

appendLine

public void appendLine(LineStrip strip)

fixZ

public void fixZ(float value)

updateComponents

protected void updateComponents()