Package au.edu.unsw.cse
Class Points3d
java.lang.Object
au.edu.unsw.cse.Object3dAdaptor
au.edu.unsw.cse.Points3d
- All Implemented Interfaces:
Object3d
public class Points3d extends Object3dAdaptor
-
Field Summary
Fields Modifier and Type Field Description static int
color
protected java.util.Vector
labels
protected Point3dObject3d[]
pts
Fields inherited from class au.edu.unsw.cse.Object3dAdaptor
centre, firstFrame, lastFrame
-
Constructor Summary
Constructors Constructor Description Points3d()
-
Method Summary
Modifier and Type Method Description double
depthBias(View3d v)
Depth bias - used to adjust depth in depth sort so that front facing faces appear in front of back facesvoid
render(View3d v)
render this object3dPoints3d
set(Point3dObject3d[] pts)
void
setLabels(java.util.Vector labels)
void
toVRML(VRMLState v)
turn into VRMLMethods inherited from class au.edu.unsw.cse.Object3dAdaptor
centre, getColorIndex, getFirstFrame, getLastFrame, getSelectFrame, id, select, setCentre, setFirstFrame, setLastFrame, toVRMLBody, transform, 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
-
color
public static int color -
pts
-
labels
protected java.util.Vector labels
-
-
Constructor Details
-
Points3d
public Points3d()
-
-
Method Details
-
depthBias
Description copied from interface:Object3d
Depth bias - used to adjust depth in depth sort so that front facing faces appear in front of back faces- Specified by:
depthBias
in interfaceObject3d
- Overrides:
depthBias
in classObject3dAdaptor
-
set
-
setLabels
public void setLabels(java.util.Vector labels) -
render
Description copied from interface:Object3d
render this object3d- Specified by:
render
in interfaceObject3d
- Overrides:
render
in classObject3dAdaptor
-
toVRML
Description copied from interface:Object3d
turn into VRML- Specified by:
toVRML
in interfaceObject3d
- Overrides:
toVRML
in classObject3dAdaptor
-