Package au.edu.unsw.cse
Class Polygon3d
java.lang.Object
au.edu.unsw.cse.Object3dAdaptor
au.edu.unsw.cse.Polygon3d
- All Implemented Interfaces:
Object3d
public class Polygon3d extends Object3dAdaptor
-
Field Summary
Fields inherited from class au.edu.unsw.cse.Object3dAdaptor
centre, firstFrame, lastFrame
-
Constructor Summary
-
Method Summary
Methods inherited from class au.edu.unsw.cse.Object3dAdaptor
centre, depthBias, getColorIndex, getFirstFrame, getLastFrame, getSelectFrame, id, select, setCentre, setFirstFrame, setLastFrame, toVRML, toVRMLBody, visible, vrmlPROTO, vrmlPROTOBody, vrmlPROTOExtraFields, vrmlPROTOFields, vrmlPROTOINBody, vrmlPROTOINFields, vrmlPROTOMaterials, vrmlPROTOName
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Polygon3d
Create a polygon with given colour
-
-
Method Details
-
render
render the poly, given a 3D view- Specified by:
render
in interfaceObject3d
- Overrides:
render
in classObject3dAdaptor
-
transform
public void transform(au.edu.unsw.cse.Matrix3D T)compute new position of pol- Specified by:
transform
in interfaceObject3d
- Overrides:
transform
in classObject3dAdaptor
-