All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class berkeley.cs.dmc.ji3d.Obj

java.lang.Object
   |
   +----berkeley.cs.dmc.ji3d.Base
           |
           +----berkeley.cs.dmc.ji3d.Obj

public final class Obj
extends Base

Variable Index

 o center
 o centers
 o faceIdx
 o material
 o modelMatrix
 o needsClipping
 o normals
 o points
 o projected
 o radius
 o xformCenter
 o xformCenters
 o xformNormals
 o xformPoints
 o xformRadius

Constructor Index

 o Obj(Vec3[], int[][], Mat4, Material)

Method Index

 o appendProjectedFacesToFaceList(View, FaceArray)
 o applyTransform()
 o calculateBounds()
 o drawBounds(Graphics, View)

Variables

 o points
 public Vec3 points[]
 o normals
 public Vec3 normals[]
 o centers
 public Vec4 centers[]
 o center
 public Vec3 center
 o radius
 public float radius
 o xformCenter
 public Vec3 xformCenter
 o xformRadius
 public float xformRadius
 o xformPoints
 public Vec4 xformPoints[]
 o xformNormals
 public Vec3 xformNormals[]
 o xformCenters
 public Vec4 xformCenters[]
 o projected
 public ScrPt projected[]
 o needsClipping
 public boolean needsClipping
 o faceIdx
 public int faceIdx[][]
 o modelMatrix
 public Mat4 modelMatrix
 o material
 public Material material

Constructors

 o Obj
 public Obj(Vec3 points[],
            int faceIdx[][],
            Mat4 modelMatrix,
            Material material)

Methods

 o calculateBounds
 public final void calculateBounds()
 o applyTransform
 public final void applyTransform()
 o drawBounds
 public final void drawBounds(Graphics g,
                              View view)
 o appendProjectedFacesToFaceList
 public final void appendProjectedFacesToFaceList(View view,
                                                  FaceArray list)

All Packages  Class Hierarchy  This Package  Previous  Next  Index