org.metasyntactic.graphics.tracer
Class Scene

java.lang.Object
  |
  +--org.metasyntactic.graphics.tracer.Scene
All Implemented Interfaces:
java.lang.Cloneable

public class Scene
extends java.lang.Object
implements java.lang.Cloneable


Constructor Summary
Scene()
          Creates a new instance of Scene
 
Method Summary
 java.lang.Object clone()
           
 Color getBackground()
          Getter for property background.
 double getFieldOfView()
          Getter for property fieldOfView.
 double getFrontClippingPlane()
          Getter for property frontClippingPlane.
 int getHeight()
          Getter for property height.
 java.util.List getLights()
          Getter for property lights.
 Ray getOrientation()
          Getter for property orientation.
 double getRefractionIndex()
          Getter for property indexOfRefraction.
 java.util.List getShapes()
          Getter for property shapes.
 double getTolerance()
          Getter for property tolerance.
 Vector getUp()
          Getter for property up.
 int getWidth()
          Getter for property width.
 void setBackground(Color background)
          Setter for property background.
 void setFieldOfView(double fieldOfView)
          Setter for property fieldOfView.
 void setFrontClippingPlane(double frontClippingPlane)
          Setter for property frontClippingPlane.
 void setHeight(int height)
          Setter for property height.
 void setLights(java.util.List lights)
          Setter for property lights.
 void setOrientation(Ray orientation)
          Setter for property orientation.
 void setRefractionIndex(double refractionIndex)
          Setter for property indexOfRefraction.
 void setShapes(java.util.List shapes)
          Setter for property shapes.
 void setTolerance(double tolerance)
          Setter for property tolerance.
 void setUp(Vector up)
          Setter for property up.
 void setWidth(int width)
          Setter for property width.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Scene

public Scene()
Creates a new instance of Scene

Method Detail

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Overrides:
clone in class java.lang.Object
java.lang.CloneNotSupportedException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getOrientation

public Ray getOrientation()
Getter for property orientation.

Returns:
Value of property orientation.

setOrientation

public void setOrientation(Ray orientation)
Setter for property orientation.

Parameters:
orientation - New value of property orientation.

getWidth

public int getWidth()
Getter for property width.

Returns:
Value of property width.

setWidth

public void setWidth(int width)
Setter for property width.

Parameters:
width - New value of property width.

getHeight

public int getHeight()
Getter for property height.

Returns:
Value of property height.

setHeight

public void setHeight(int height)
Setter for property height.

Parameters:
height - New value of property height.

getFrontClippingPlane

public double getFrontClippingPlane()
Getter for property frontClippingPlane.

Returns:
Value of property frontClippingPlane.

setFrontClippingPlane

public void setFrontClippingPlane(double frontClippingPlane)
Setter for property frontClippingPlane.

Parameters:
frontClippingPlane - New value of property frontClippingPlane.

getFieldOfView

public double getFieldOfView()
Getter for property fieldOfView.

Returns:
Value of property fieldOfView.

setFieldOfView

public void setFieldOfView(double fieldOfView)
Setter for property fieldOfView.

Parameters:
fieldOfView - New value of property fieldOfView.

getShapes

public java.util.List getShapes()
Getter for property shapes.

Returns:
Value of property shapes.

setShapes

public void setShapes(java.util.List shapes)
Setter for property shapes.

Parameters:
shapes - New value of property shapes.

getLights

public java.util.List getLights()
Getter for property lights.

Returns:
Value of property lights.

setLights

public void setLights(java.util.List lights)
Setter for property lights.

Parameters:
lights - New value of property lights.

getBackground

public Color getBackground()
Getter for property background.

Returns:
Value of property background.

setBackground

public void setBackground(Color background)
Setter for property background.

Parameters:
background - New value of property background.

getRefractionIndex

public double getRefractionIndex()
Getter for property indexOfRefraction.

Returns:
Value of property indexOfRefraction.

setRefractionIndex

public void setRefractionIndex(double refractionIndex)
Setter for property indexOfRefraction.


getTolerance

public double getTolerance()
Getter for property tolerance.

Returns:
Value of property tolerance.

setTolerance

public void setTolerance(double tolerance)
Setter for property tolerance.

Parameters:
tolerance - New value of property tolerance.

getUp

public Vector getUp()
Getter for property up.

Returns:
Value of property up.

setUp

public void setUp(Vector up)
Setter for property up.

Parameters:
up - New value of property up.