Overview | Package | Class | Tree | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## de.grogra.gpuflux.scene.BVH
Class BVHNode

    java.lang.Object
      de.grogra.gpuflux.scene.BVH.BVHNode

    public class BVHNode

extends java.lang.Object

Field Summary
`int` | `axis`
`BoundingBox3d` | `bb`
`int` | `idx`
`BVHNode` | `left`
`int` | `nidx`
`int` | `pcount`
`BVHNode` | `right`

Constructor Summary
`BVHNode(int axis, int idx, int pcount, BoundingBox3d bb, BVHNode left, BVHNode right)`

Method Summary
`double` | `computeSAH(double parentArea)`
`boolean` | `isLeaf()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### axis

    public int axis

### bb

    public BoundingBox3d bb

### idx

    public int idx

### left

    public BVHNode left

### nidx

    public int nidx

### pcount

    public int pcount

### right

    public BVHNode right

Constructor Detail

### BVHNode

    public BVHNode(int axis,
                   int idx,
                   int pcount,
                   BoundingBox3d bb,
                   BVHNode left,
                   BVHNode right)

Method Detail

### computeSAH

    public double computeSAH(double parentArea)

### isLeaf

    public boolean isLeaf()

Overview | Package | Class | Tree | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD