org.jzy3d.plot3d.primitives
Class Cylinder

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

public class Cylinder
extends AbstractComposite


Field Summary
protected  float height
           
protected  Polygon low
           
protected  float radius
           
protected  Polygon top
           
 
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
Cylinder()
           
 
Method Summary
 void setData(Coord3d position, float height, float radius, int slices, int rings, Color color)
           
 
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

height

protected float height

radius

protected float radius

top

protected Polygon top

low

protected Polygon low
Constructor Detail

Cylinder

public Cylinder()
Method Detail

setData

public void setData(Coord3d position,
                    float height,
                    float radius,
                    int slices,
                    int rings,
                    Color color)