Changes

Jump to: navigation, search

XB PointStream

562 bytes added, 12:39, 24 November 2010
Parser Interface
===Parser Interface===
 
There will be cases in which users have their own file format
which they want to render with XB PointStream (for example,
.ARA or .XML). We need to give users the ability to write their
own parser and hook it into the library.
 
Users would write their JavaScript code which would implement
the methods below. Once they do that, they would register their
parser with the library by passing in an extension and their parser.
 
The library would then take care of the rest by creating an instance
of their parser, call its methods and return a point cloud object.
 
<pre>
/*
1
edit

Navigation menu