|
j3d.org Code | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Ac3dParseObserver
An observer to process the parsing of an AC3D file.
The observer can be used to see the stream of data as it is read from the file rather than wait for it all to be processed and read at the end.
At any time user code returning a value of false indicates that the user is finished with the parsing process and does not require any more data from the stream. The parser should terminate the process at this point.
Method Summary | |
---|---|
boolean |
materialComplete(Ac3dMaterial mat)
A material block has been read from the file. |
boolean |
objectComplete(Ac3dObject parent,
Ac3dObject obj)
An object has been completed.Object calls are top donw - the parent is read and sent, but at the time it is sent does not yet contain the children. |
boolean |
surfaceComplete(Ac3dObject obj,
Ac3dSurface surf)
A surface definition from the previously declared object has been read. |
Method Detail |
---|
boolean materialComplete(Ac3dMaterial mat)
mat
- The material definition
boolean objectComplete(Ac3dObject parent, Ac3dObject obj)
parent
- The parent object that contains this surfaceobj
- The object that was just read
boolean surfaceComplete(Ac3dObject obj, Ac3dSurface surf)
obj
- The parent object that contains this surfacesurf
- The surface object that has been read
|
j3d.org Code | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |