ISceneData
Description
- Derived from
- Extended by
-
SceneData abstract
Base interface for classes that provide data for populating a scene dynamically at runtime.
A ISceneData object may contain any subset of the following data items:
-
Custom shape data, see LoadCustomShape
-
Decal imagery, see LoadDecal
-
Pyramid data, see LoadPyramid
-
Pyramid shape data, see LoadPyramidShape
-
3D model, see LoadModel
-
Raster data, see LoadRaster
-
Raster shape data, see LoadRasterShape
Geo-references in a hierarchy of ISceneData are specified by these properties:
A scene data object may have children (see ChildCount), which creates a traversable hierarchy of scene data objects. The hierarchy contains nested spatial bounds:
The following properties provide a measure of the feature size of the data items, which may be used to determine visibility for specific 2D/3D views:
A ISceneData object may either be in read-only or read-write mode (see IsReadOnly). In read-write mode, its content may be updated by using the following methods:
Public / Methods
ChildAdd
Builds a new child and adds it to this ISceneObject
An implementation is allowed to insert new children at any index, so when the ISceneDataBuilder.Build method of the returned builder is called, the index values of existing children may change.
- IOException
-
If an I/O error has occurred.
- See also
ChildAt
Returns the index in-th child of this scene database item.
- IOException
-
If an I/O error has occurred.
- See also
ChildFind
Returns a child of this scene database item by its name.
Indices of existing children may change when ChildAdd is called
- IOException
-
If an I/O error has occurred.
- See also
ChildIndex
Returns the index of the given child scene database item.
- IOException
-
If an I/O error has occurred.
- See also
LoadCustomShape
Loads the custom shape data.
The returned IShape object may depend on this ISceneData object: if the latter is disposed, trying to access the former one may throw an exception.
LoadDecal
Loads the decal data.
The returned IImage object may depend on this ISceneData object: if the latter is disposed, trying to access the former one may throw an exception.
- IOException
-
If an I/O error has occurred.
- See also
LoadModel
Loads the model data.
The returned IModel object may depend on this ISceneData object: if the latter is disposed, trying to access the former one may throw an exception.
- IOException
-
If an I/O error has occurred.
- See also
LoadPyramidShape
Loads the pyramid shape data.
The returned PixelPyramidShape object may depend on this ISceneData object: if the latter is disposed, trying to access the former one may throw an exception.
- IOException
-
If an I/O error has occurred.
- See also
LoadRasterShape
Loads the raster shape data.
The returned HeightmapShape object may depend on this ISceneData object: if the latter is disposed, trying to access the former one may throw an exception.
- IOException
-
If an I/O error has occurred.
- See also
SaveCustomShape
Saves or clears the custom shape data.
The content of the given data in will be transferred into this ISceneObject as an independent copy.
- IOException
-
If an I/O error has occurred.
- See also
SaveDecal
Saves or clears the decal data.
The content of the given data in will be transferred into this ISceneObject as an independent copy.
- IOException
-
If an I/O error has occurred.
- See also
SaveModel
Saves or clears the model data.
The content of the given data in will be transferred into this ISceneObject as an independent copy.
- IOException
-
If an I/O error has occurred.
- See also
SavePyramid
Saves or clears the pyramid data.
The content of the given data in will be transferred into this ISceneObject as an independent copy.
- IOException
-
If an I/O error has occurred.
- See also
SavePyramidShape
Saves or clears the pyramid shape data.
The content of the given data in will be transferred into this ISceneObject as an independent copy.
- IOException
-
If an I/O error has occurred.
- See also
SaveRaster
Saves or clears the raster data.
The content of the given data in will be transferred into this ISceneObject as an independent copy.
- IOException
-
If an I/O error has occurred.
- See also
SaveRasterShape
Saves or clears the raster shape data.
The content of the given data in will be transferred into this ISceneObject as an independent copy.
- IOException
-
If an I/O error has occurred.
- See also
Public / Attributes
BoundsGeocentric
Returns the spatial bounds of the scene data in the geocentric coordinate system.
The returned bounds are transitive and will thus contain the bounds of all descendants.
- See also
BoundsGeographic
Returns the spatial bounds of the scene data in the geographic coordinate system.
The returned bounds are transitive and will thus contain the bounds of all descendants.
- See also
BoundsProjected
Returns the spatial bounds of the scene data in the projected coordinate system.
The returned bounds are transitive and will thus contain the bounds of all descendants.
- See also
Flags
Returns the data flags that indicate which data items are present.
The data flags are not transitive and refer to this ISceneData object only.
GeorefDatum
Returns the geodetic datum of this ISceneData object.
If GeorefDatum is not null
, all descendent ISceneData objects will return a GeodeticDatum object that is equal but not necessarily the same. If null
is returned, all ancestors will return null
as well.
- See also
GeorefGeographic
Returns the geographic coordinate system of this ISceneData object.
If GeorefDatum is null
, this property will always return null
, too. Otherwise, CoordinateSystem.Geographic will be equal to GeorefDatum and all descendent ISceneData objects will return a CoordinateSystem object that is equal but not necessarily the same. If null
is returned, all ancestors will return null
as well.
GeorefLocal
Returns the transformation that establishes the local coordinate system of this scene database item.
GeorefProjected
Returns the projected coordinate system of this ISceneData object.
If GeorefGeographic is null
, this property will always return null
, too. Otherwise, CoordinateSystem.ToGeographic will be equal to GeorefGeographic and all descendent ISceneData objects will return a CoordinateSystem object that is equal but not necessarily the same. If null
is returned, all ancestors will return null
as well.
IsReadOnly
Is this ISceneData object read-only?
In read-only mode, none of the Save*
methods is available. Calling any of them will throw an exception.
If a ISceneData object is read-only, all its descendants will also be read-only. If an object is read-write, all its ancestors will also be read-write.
Name
Returns the name of this scene database item.
Node names must be unique among sibling data items of the same parent.
- See also
SizeGeocentric
Returns the feature size of the scene data in the geocentric coordinate system.
The feature size may be used to determine if the data of this ISceneData would be too small for a specific 3D view.
SizeProjected
Returns the feature size of the scene data in the projected coordinate system.
The feature size may be used to determine if the data of this ISceneData would be too small for a specific 2D view.