Classes
Methods
addOptimizationMetadata(corpuscleURI, scores) → {Array}
Add optimization metadata to a corpuscle
.Add optimization metadata to a corpuscle
Parameters:
Name | Type | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
corpuscleURI |
string | NamedNode | Corpuscle URI |
|||||||||||||||
scores |
Object | Optimization scores Properties
|
- Source:
Returns:
Array of quads with optimization metadata
- Type
- Array
createDataset() → {Dataset}
Create a new RDF dataset for ZPT navigation data
.Create a new RDF dataset for ZPT navigation data
- Source:
Returns:
Empty RDF dataset ready for ZPT data
- Type
- Dataset
createNavigationDataset(config) → {Dataset}
Utility method to create a complete dataset with navigation view
.Utility method to create a complete dataset with navigation view
Parameters:
Name | Type | Description |
---|---|---|
config |
Object | Navigation configuration |
- Source:
Returns:
Complete RDF dataset
- Type
- Dataset
createNavigationSession(options) → {Object}
Create a navigation session with basic metadata
.Create a navigation session with basic metadata
Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object | Session options Properties
|
- Source:
Returns:
Session data with URI and quads
- Type
- Object
createNavigationView(config) → {Object}
Create a complete navigation view with all states
.Create a complete navigation view with all states
Parameters:
Name | Type | Description | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
config |
Object | Navigation view configuration Properties
|
- Source:
Returns:
Complete navigation view with all quads
- Type
- Object
createPanState(panConfig) → {Object}
Create a pan state with domain and filtering parameters
.Create a pan state with domain and filtering parameters
Parameters:
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
panConfig |
Object | Pan configuration Properties
|
- Source:
Returns:
Pan state data with URI and quads
- Type
- Object
createTemporalConstraint(temporal) → {Object}
Create temporal constraint node with date range
.Create temporal constraint node with date range
Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
temporal |
Object | Temporal configuration Properties
|
- Source:
Returns:
Temporal constraint with URI and quads
- Type
- Object
createTiltState(tiltProjection) → {Object}
Create a tilt state with projection method
.Create a tilt state with projection method
Parameters:
Name | Type | Description |
---|---|---|
tiltProjection |
string | ZPT tilt projection URI or string |
- Source:
Returns:
Tilt state data with URI and quads
- Type
- Object
createZoomState(zoomLevel) → {Object}
Create a zoom state with specified level
.Create a zoom state with specified level
Parameters:
Name | Type | Description |
---|---|---|
zoomLevel |
string | ZPT zoom level URI or string |
- Source:
Returns:
Zoom state data with URI and quads
- Type
- Object
datasetToNTriples(dataset) → {string}
Convert RDF dataset to N-Triples string for debugging
.Convert RDF dataset to N-Triples string for debugging
Parameters:
Name | Type | Description |
---|---|---|
dataset |
Dataset | RDF dataset |
- Source:
Returns:
N-Triples representation
- Type
- string
generateURI(type, suffix) → {NamedNode}
Generate a unique URI for navigation entities
.Generate a unique URI for navigation entities
Parameters:
Name | Type | Description |
---|---|---|
type |
string | Entity type (view, session, state) |
suffix |
string | Optional suffix |
- Source:
Returns:
RDF NamedNode with unique URI
- Type
- NamedNode
resolvePanDomain(domain) → {NamedNode}
Resolve pan domain string to ZPT ontology URI
.Resolve pan domain string to ZPT ontology URI
Parameters:
Name | Type | Description |
---|---|---|
domain |
string | Domain string or URI |
- Source:
Returns:
ZPT pan domain URI
- Type
- NamedNode
resolveTiltProjection(tiltProjection) → {NamedNode}
Resolve tilt projection string to ZPT ontology URI
.Resolve tilt projection string to ZPT ontology URI
Parameters:
Name | Type | Description |
---|---|---|
tiltProjection |
string | Tilt projection string or URI |
- Source:
Returns:
ZPT tilt projection URI
- Type
- NamedNode
resolveZoomLevel(zoomLevel) → {NamedNode}
Resolve zoom level string to ZPT ontology URI
.Resolve zoom level string to ZPT ontology URI
Parameters:
Name | Type | Description |
---|---|---|
zoomLevel |
string | Zoom level string or URI |
- Source:
Returns:
ZPT zoom level URI
- Type
- NamedNode