Package au.edu.unsw.cse
Class Bezier3d
java.lang.Object
au.edu.unsw.cse.Object3dAdaptor
au.edu.unsw.cse.QuadMesh3d
au.edu.unsw.cse.Bezier3d
- All Implemented Interfaces:
Object3d
public class Bezier3d extends QuadMesh3d
-
Field Summary
Fields inherited from class au.edu.unsw.cse.QuadMesh3d
ci, cj, pts
Fields inherited from class au.edu.unsw.cse.Object3dAdaptor
centre, firstFrame, lastFrame
-
Constructor Summary
-
Method Summary
Methods inherited from class au.edu.unsw.cse.QuadMesh3d
render, setColors, setPoints, toVRML, transform
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
-
Field Details
-
ctl
-
-
Constructor Details
-
Bezier3d
Create a Bezier patch given 4x4 grid of controls Colours are used for wireframe in s direction and t direction Bezier is approximated by a steps x steps quad mesh
-
-
Method Details
-
setSteps
public void setSteps(int steps)set step size for Bezier -
setPoints
public void setPoints()Create a Bezier patch given 4x4 grid of controls Colours are used for wireframe in s direction and t direction
-