toxi.geom.mesh
Class DefaultSTLColorModel

java.lang.Object
  extended by toxi.geom.mesh.DefaultSTLColorModel
All Implemented Interfaces:
STLColorModel

public class DefaultSTLColorModel
extends java.lang.Object
implements STLColorModel


Constructor Summary
DefaultSTLColorModel()
           
 
Method Summary
 void formatHeader(byte[] header)
           
 int formatRGB(int rgb)
           
 int getDefaultRGB()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultSTLColorModel

public DefaultSTLColorModel()
Method Detail

formatHeader

public void formatHeader(byte[] header)
Specified by:
formatHeader in interface STLColorModel

formatRGB

public int formatRGB(int rgb)
Specified by:
formatRGB in interface STLColorModel

getDefaultRGB

public int getDefaultRGB()
Specified by:
getDefaultRGB in interface STLColorModel