Package org.sunflow
Class AsciiFileSunflowAPI
- java.lang.Object
-
- org.sunflow.FileSunflowAPI
-
- org.sunflow.AsciiFileSunflowAPI
-
- All Implemented Interfaces:
SunflowAPIInterface
class AsciiFileSunflowAPI extends FileSunflowAPI
-
-
Field Summary
Fields Modifier and Type Field Description private java.io.OutputStreamstream
-
Constructor Summary
Constructors Constructor Description AsciiFileSunflowAPI(java.lang.String filename)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()protected voidwriteBoolean(boolean value)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
-
writeMatrix
protected void writeMatrix(Matrix4 value)
- Specified by:
writeMatrixin classFileSunflowAPI
-
writeNewline
protected void writeNewline(int indentNext)
- Specified by:
writeNewlinein 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
-
close
public void close()
- Specified by:
closein classFileSunflowAPI
-
-