Package org.sunflow.core
Interface SceneParser
-
- All Known Implementing Classes:
RA2Parser,RA3Parser,SCAbstractParser,SCAsciiParser,SCBinaryParser,SCParser,ShaveRibParser,TriParser
public interface SceneParserSimple interface to allow for scene creation from arbitrary file formats.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanparse(java.lang.String filename, SunflowAPIInterface api)Parse the specified file to create a scene description into the providedSunflowAPIobject.
-
-
-
Method Detail
-
parse
boolean parse(java.lang.String filename, SunflowAPIInterface api)Parse the specified file to create a scene description into the providedSunflowAPIobject.- Parameters:
filename- filename to parseapi- scene to parse the file into- Returns:
trueupon sucess, orfalseif errors have occured.
-
-