Package org.sunflow
Class BinaryFileSunflowAPI
- java.lang.Object
-
- org.sunflow.FileSunflowAPI
-
- org.sunflow.BinaryFileSunflowAPI
-
- All Implemented Interfaces:
SunflowAPIInterface
class BinaryFileSunflowAPI extends FileSunflowAPI
-
-
Field Summary
Fields Modifier and Type Field Description private java.io.DataOutputStreamstream
-
Constructor Summary
Constructors Constructor Description BinaryFileSunflowAPI(java.lang.String filename)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()protected voidwriteBoolean(boolean value)private voidwriteDatatypeKeyword(int type, boolean isArray)private voidwriteExtendedKeyword(int code)protected voidwriteFloat(float value)protected voidwriteInt(int value)protected voidwriteInterpolationType(ParameterList.InterpolationType interp)protected voidwriteKeyword(SCAbstractParser.Keyword keyword)protected voidwriteMatrix(Matrix4 value)protected voidwriteNewline(int indentNext)protected voidwriteString(java.lang.String string)protected voidwriteVerbatimString(java.lang.String string)-
Methods inherited from class org.sunflow.FileSunflowAPI
camera, currentFrame, geometry, getCurrentFrame, include, instance, light, modifier, options, parameter, parameter, parameter, parameter, parameter, parameter, parameter, parameter, parameter, parameter, parameter, parameter, plugin, remove, render, reset, searchpath, shader
-
-
-
-
Method Detail
-
writeBoolean
protected void writeBoolean(boolean value)
- Specified by:
writeBooleanin classFileSunflowAPI
-
writeFloat
protected void writeFloat(float value)
- Specified by:
writeFloatin classFileSunflowAPI
-
writeInt
protected void writeInt(int value)
- Specified by:
writeIntin classFileSunflowAPI
-
writeInterpolationType
protected void writeInterpolationType(ParameterList.InterpolationType interp)
- Specified by:
writeInterpolationTypein classFileSunflowAPI
-
writeKeyword
protected void writeKeyword(SCAbstractParser.Keyword keyword)
- Specified by:
writeKeywordin classFileSunflowAPI
-
writeExtendedKeyword
private void writeExtendedKeyword(int code) throws java.io.IOException- Throws:
java.io.IOException
-
writeDatatypeKeyword
private void writeDatatypeKeyword(int type, boolean isArray) throws java.io.IOException- Throws:
java.io.IOException
-
writeMatrix
protected void writeMatrix(Matrix4 value)
- Specified by:
writeMatrixin classFileSunflowAPI
-
writeString
protected void writeString(java.lang.String string)
- Specified by:
writeStringin classFileSunflowAPI
-
writeVerbatimString
protected void writeVerbatimString(java.lang.String string)
- Specified by:
writeVerbatimStringin classFileSunflowAPI
-
writeNewline
protected void writeNewline(int indentNext)
- Specified by:
writeNewlinein classFileSunflowAPI
-
close
public void close()
- Specified by:
closein classFileSunflowAPI
-
-