hak
Class Octree
java.lang.Object
|
+--hak.Octree
- public class Octree
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAXDEPTH
public static final int MAXDEPTH
Octree
public Octree()
findColor
public int findColor(hak.Node tree,
hak.RGB color)
initVGAPalette
public void initVGAPalette(hak.Node tree,
int[] index)
insertNode
public hak.Node insertNode(hak.Node node,
hak.RGB color,
int depth)
killTree
public hak.Node killTree(hak.Node tree)
octreeQuantization
public void octreeQuantization(short[][] ra,
short[][] ga,
short[][] ba,
int ki)
reduceTree
public void reduceTree()
reMap
public void reMap(short[][] r,
short[][] g,
short[][] b)
setColor
public void setColor()