objects
Class Table

java.lang.Object
  extended by objects.Object
      extended by objects.Assembly
          extended by objects.Table
All Implemented Interfaces:
IObject

public class Table
extends Assembly


Field Summary
 
Fields inherited from class objects.Assembly
list
 
Fields inherited from class objects.Object
trans
 
Constructor Summary
Table(double size_)
          constructor
 
Method Summary
 void assignDesktopMaterial(IMaterial material)
          assigns the material for the desktop
 void assignLegMaterial(IMaterial material)
          assigns the material for the legs
 IObject getCopy()
           
 
Methods inherited from class objects.Assembly
addObject, assignBoundingObject, assignMap, assignMaterial, calcIntersection, calculateTextureCoordinates, getBoundingObject, isInside, normal, q, transform
 
Methods inherited from class objects.Object
getArea, getMap, getMaterial, getTransformationMatrix, move, rotate, rotateAroundX, rotateAroundY, rotateAroundZ, scale, scale, setTransformationMatrix, UniformRandomPoint
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Table

public Table(double size_)
constructor

Parameters:
size_ -
Method Detail

assignLegMaterial

public void assignLegMaterial(IMaterial material)
assigns the material for the legs

Parameters:
material -

assignDesktopMaterial

public void assignDesktopMaterial(IMaterial material)
assigns the material for the desktop

Parameters:
material -

getCopy

public IObject getCopy()
Specified by:
getCopy in interface IObject
Overrides:
getCopy in class Assembly
Returns:
the area of the object