Class Point3dObject3d

java.lang.Object
au.edu.unsw.cse.Point3d
au.edu.unsw.cse.Point3dObject3d
All Implemented Interfaces:
Object3d

public class Point3dObject3d
extends Point3d
implements Object3d
A Point3d that is also an Object 3d so that it can be rendered
  • Constructor Details

    • Point3dObject3d

      public Point3dObject3d​(Point3d p)
    • Point3dObject3d

      public Point3dObject3d​(Point3d p, int frame)
  • Method Details

    • id

      public java.lang.String id()
      Specified by:
      id in interface Object3d
    • setCentre

      public void setCentre​(Point3d c)
      Specified by:
      setCentre in interface Object3d
    • centre

      public Point3d centre()
      Specified by:
      centre in interface Object3d
    • setFirstFrame

      public void setFirstFrame​(int f)
      Specified by:
      setFirstFrame in interface Object3d
    • setLastFrame

      public void setLastFrame​(int f)
      Specified by:
      setLastFrame in interface Object3d
    • select

      public void select​(int n)
      Specified by:
      select in interface Object3d
    • getSelectFrame

      public int getSelectFrame()
      Specified by:
      getSelectFrame in interface Object3d
    • getFirstFrame

      public int getFirstFrame()
      Specified by:
      getFirstFrame in interface Object3d
    • getLastFrame

      public int getLastFrame()
      Specified by:
      getLastFrame in interface Object3d
    • visible

      public boolean visible​(int frame)
      Description copied from interface: Object3d
      Is this object visible in specified frame ?
      Specified by:
      visible in interface Object3d
    • depthBias

      public double depthBias​(View3d v)
      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 interface Object3d
    • render

      public void render​(View3d v)
      Description copied from interface: Object3d
      render this object3d
      Specified by:
      render in interface Object3d
    • transform

      public void transform​(au.edu.unsw.cse.Matrix3D T)
      Specified by:
      transform in interface Object3d
    • toVRML

      public void toVRML​(VRMLState state)
      Description copied from interface: Object3d
      turn into VRML
      Specified by:
      toVRML in interface Object3d