j3d.org Code

org.j3d.loaders.c3d
Interface C3DParseObserver


public interface C3DParseObserver

An observer to process the parsing of a C3D file.

The observer can be used to extract partial or full information from the stream as it is being read by means of the return value from the implemented methods. 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.

Version:
$Revision: 1.1 $
Author:
Justin Couch

Method Summary
 boolean headerComplete(C3DHeader header)
          The header of the file has been read.
 boolean parametersComplete(C3DParameterGroup[] groups)
          The parameter block has been read.
 boolean trackDataAvailable(C3DTrajectoryData[] data)
           
 

Method Detail

headerComplete

boolean headerComplete(C3DHeader header)
The header of the file has been read.

Parameters:
header - The header information
Returns:
true if to keep reading

parametersComplete

boolean parametersComplete(C3DParameterGroup[] groups)
The parameter block has been read. The array will be the exact length for the number of groups declared in the file.

Parameters:
groups - The listing of groups that were read
Returns:
true if to keep reading

trackDataAvailable

boolean trackDataAvailable(C3DTrajectoryData[] data)

j3d.org Code

Latest Info from http://code.j3d.org/
Copyright © 2001 - j3d.org