Loading Metacity Data
How to display data processed by MetacityGL
MetacityGL contains layers specifically designed for displaying data processed by the Metacity package - Extensions.MetacityLayer
and Extensions.MetacityTreeLayer
.
Grid Layer
The component Extensions.MetacityLayer
is designed for parsing and displaying data exported from Grids. The layer props look like this:
prop | description |
---|---|
| data source api |
| display metadata on hover - enable only one layer in the visualization |
| hex represtation of the layer base color |
| color of unloaded tile placeholder |
| see Styles |
| minimal distance for tile loading |
|
|
| size of the point models |
| distance behind which point models are replaced by rectangles |
| list of object IDs that stay hidden |
| flag that signals the layer UI should get rendered |
Tree Layer
Extensions.MetacityTreeLayer
extends the Extensions.MetacityLayer
and allow rendering the Quad-tree built on top of the data. The layer props extend the props from the previous section:
prop | description |
---|---|
| multiplicative factor influencing the loading distance of individual tree nodes |
| equivalent of |
| exponent factor influencing the loading distance of individual tree nodes in the XY plane - used for computation of the camera distance |
| exponent factor influencing the loading distance of individual tree nodes in the Z direction - used for computation of the camera distance |
| exponent factor influencing the loading distance of individual tree nodes - used for computation of the loading threshold |
| flag whether to render the tree |
| offsetting the tree model in the Z direction |
Last updated