|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcommandline.flatFileToBinaryPackage.AbstractFlatToBin
public abstract class AbstractFlatToBin
| Field Summary | |
|---|---|
protected int |
basemeshBits
|
protected int |
metaBits
|
protected int |
normalOffsetBits
|
protected int |
normalOffsetGain
|
protected int |
tesselationBits
|
protected int |
tesselationGain
|
protected int |
treeBits
|
protected int |
treeGain
|
protected int |
verticalOffsetBits
|
protected int |
verticalOffsetGain
|
| Constructor Summary | |
|---|---|
AbstractFlatToBin(Configuration configuration,
DataStructure dataStructure,
CodedFile treeStucture,
MyDataOutPutStream dos)
|
|
| Method Summary | |
|---|---|
void |
convert()
|
int |
getBasemeshBits()
|
DataStructure |
getBreathFirstDatastructure()
|
MyDataOutPutStream |
getDos()
|
int |
getMetaBits()
|
int |
getNormalOffsetBits()
|
int |
getNormalOffsetGain()
|
int |
getTesselationBits()
|
int |
getTesselationGain()
|
int |
getTreeBits()
|
int |
getTreeGain()
|
CodedFile |
getTreeStructure()
|
int |
getVerticalOffsetBits()
|
int |
getVerticalOffsetGain()
|
protected void |
printCharArray(char[] array,
java.io.PrintStream printStream)
|
protected void |
printStringArray(java.lang.String[] bitarray,
java.io.PrintStream printStream)
|
void |
printto(java.io.PrintStream printStream)
|
protected int |
writeArrayListOfBitStringsToBytes(java.util.ArrayList<java.lang.String> codewoorden)
Deprecated. use writeBitSetToBytes |
protected int |
writeBitSetToBytes(java.util.ArrayList<java.lang.String> codewoorden)
TEST METHOD |
protected int |
writeBitSetToBytes(java.util.BitSet bits)
|
protected int |
writeByteArray(byte[] b)
writes out the bytes in b and returns the number of bits |
protected int |
writeMyFloat(float getal)
writes a FLOAt to a file and returns the number of bits used |
protected int |
writeMyInt(int getal)
writes an INT to a file and returns the number of bits used |
protected int |
writeMyShort(int getal)
schrijft een short naar een file en geeft het aantal weggeschreven bits terug |
protected void |
writeOffsets()
|
protected void |
writeTesselations()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int verticalOffsetBits
protected int verticalOffsetGain
protected int normalOffsetBits
protected int normalOffsetGain
protected int tesselationBits
protected int tesselationGain
protected int treeGain
protected int treeBits
protected int basemeshBits
protected int metaBits
| Constructor Detail |
|---|
public AbstractFlatToBin(Configuration configuration,
DataStructure dataStructure,
CodedFile treeStucture,
MyDataOutPutStream dos)
| Method Detail |
|---|
public void convert()
throws java.io.IOException
java.io.IOExceptionprotected void writeTesselations()
protected void writeOffsets()
public int getVerticalOffsetBits()
public DataStructure getBreathFirstDatastructure()
public MyDataOutPutStream getDos()
public int getNormalOffsetBits()
public int getNormalOffsetGain()
public int getTesselationBits()
public int getTesselationGain()
public int getTreeBits()
public int getTreeGain()
public CodedFile getTreeStructure()
public int getVerticalOffsetGain()
public int getBasemeshBits()
public int getMetaBits()
public void printto(java.io.PrintStream printStream)
protected int writeArrayListOfBitStringsToBytes(java.util.ArrayList<java.lang.String> codewoorden)
throws java.io.IOException
codewoorden -
java.io.IOException
protected int writeBitSetToBytes(java.util.ArrayList<java.lang.String> codewoorden)
throws java.io.IOException
codewoorden -
java.io.IOException
protected int writeBitSetToBytes(java.util.BitSet bits)
throws java.io.IOException
java.io.IOExceptionprotected int writeMyShort(int getal)
protected int writeMyInt(int getal)
protected int writeMyFloat(float getal)
protected int writeByteArray(byte[] b)
protected void printCharArray(char[] array,
java.io.PrintStream printStream)
protected void printStringArray(java.lang.String[] bitarray,
java.io.PrintStream printStream)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||