org.metasyntactic.graphics.shapes
Class Cylinder

java.lang.Object
  |
  +--org.metasyntactic.graphics.shapes.Shape
        |
        +--org.metasyntactic.graphics.shapes.CartesianShape
              |
              +--org.metasyntactic.graphics.shapes.ReflectiveShape
                    |
                    +--org.metasyntactic.graphics.shapes.VolumetricShape
                          |
                          +--org.metasyntactic.graphics.shapes.CircularVolume
                                |
                                +--org.metasyntactic.graphics.shapes.Cylinder

public class Cylinder
extends CircularVolume


Constructor Summary
Cylinder()
          Creates a new instance of Cylinder
 
Method Summary
static Cylinder fromXML(org.w3c.dom.Element element)
           
 java.util.List getIntersections(Ray ray)
           
 
Methods inherited from class org.metasyntactic.graphics.shapes.CircularVolume
getRadius, setRadius
 
Methods inherited from class org.metasyntactic.graphics.shapes.VolumetricShape
getDepth, getHeight, getWidth, setDepth, setHeight, setWidth
 
Methods inherited from class org.metasyntactic.graphics.shapes.ReflectiveShape
getShadeModel, setShadeModel
 
Methods inherited from class org.metasyntactic.graphics.shapes.CartesianShape
getIntersection, getPosition, setPosition
 
Methods inherited from class org.metasyntactic.graphics.shapes.Shape
getColor, setColor, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Cylinder

public Cylinder()
Creates a new instance of Cylinder

Method Detail

getIntersections

public java.util.List getIntersections(Ray ray)
Overrides:
getIntersections in class CartesianShape

fromXML

public static Cylinder fromXML(org.w3c.dom.Element element)