All Downloads are FREE. Search and download functionalities are using the official Maven repository.

main.cesium.CesiumInspectorViewModel.kt Maven / Gradle / Ivy

// Automatically generated - do not modify!

@file:Suppress(
    "EXTERNAL_CLASS_CONSTRUCTOR_PROPERTY_PARAMETER",
)

package cesium

/**
 * The view model for [CesiumInspector].
 * @see Online Documentation
 *
 * @constructor
 * @property [scene] The scene instance to use.
 * @property [performanceContainer] The instance to use for performance container.
 * @see Online Documentation
 */
@JsName("\$cesium__CesiumInspectorViewModel")
external class CesiumInspectorViewModel(
    var scene: Scene,
    var performanceContainer: org.w3c.dom.Element,
) {
    /**
     * Gets or sets the show frustums state.  This property is observable.
     * @see Online Documentation
     */
    var frustums: Boolean

    /**
     * Gets or sets the show frustum planes state.  This property is observable.
     * @see Online Documentation
     */
    var frustumPlanes: Boolean

    /**
     * Gets or sets the show performance display state.  This property is observable.
     * @see Online Documentation
     */
    var performance: Boolean

    /**
     * Gets or sets the shader cache text.  This property is observable.
     * @see Online Documentation
     */
    var shaderCacheText: String

    /**
     * Gets or sets the show primitive bounding sphere state.  This property is observable.
     * @see Online Documentation
     */
    var primitiveBoundingSphere: Boolean

    /**
     * Gets or sets the show primitive reference frame state.  This property is observable.
     * @see Online Documentation
     */
    var primitiveReferenceFrame: Boolean

    /**
     * Gets or sets the filter primitive state.  This property is observable.
     * @see Online Documentation
     */
    var filterPrimitive: Boolean

    /**
     * Gets or sets the show tile bounding sphere state.  This property is observable.
     * @see Online Documentation
     */
    var tileBoundingSphere: Boolean

    /**
     * Gets or sets the filter tile state.  This property is observable.
     * @see Online Documentation
     */
    var filterTile: Boolean

    /**
     * Gets or sets the show wireframe state.  This property is observable.
     * @see Online Documentation
     */
    var wireframe: Boolean

    /**
     * Gets or sets the show globe depth state.  This property is observable.
     * @see Online Documentation
     */
    var globeDepth: Boolean

    /**
     * Gets or sets the show pick depth state.  This property is observable.
     * @see Online Documentation
     */
    var pickDepth: Boolean

    /**
     * Gets or sets the index of the depth frustum to display.  This property is observable.
     * @see Online Documentation
     */
    var depthFrustum: Int

    /**
     * Gets or sets the suspend updates state.  This property is observable.
     * @see Online Documentation
     */
    var suspendUpdates: Boolean

    /**
     * Gets or sets the show tile coordinates state.  This property is observable.
     * @see Online Documentation
     */
    var tileCoordinates: Boolean

    /**
     * Gets or sets the frustum statistic text.  This property is observable.
     * @see Online Documentation
     */
    var frustumStatisticText: String

    /**
     * Gets or sets the selected tile information text.  This property is observable.
     * @see Online Documentation
     */
    var tileText: String

    /**
     * Gets if a primitive has been selected.  This property is observable.
     * @see Online Documentation
     */
    var hasPickedPrimitive: Boolean

    /**
     * Gets if a tile has been selected.  This property is observable
     * @see Online Documentation
     */
    var hasPickedTile: Boolean

    /**
     * Gets if the picking primitive command is active.  This property is observable.
     * @see Online Documentation
     */
    var pickPrimitiveActive: Boolean

    /**
     * Gets if the picking tile command is active.  This property is observable.
     * @see Online Documentation
     */
    var pickTileActive: Boolean

    /**
     * Gets or sets if the cesium inspector drop down is visible.  This property is observable.
     * @see Online Documentation
     */
    var dropDownVisible: Boolean

    /**
     * Gets or sets if the general section is visible.  This property is observable.
     * @see Online Documentation
     */
    var generalVisible: Boolean

    /**
     * Gets or sets if the primitive section is visible.  This property is observable.
     * @see Online Documentation
     */
    var primitivesVisible: Boolean

    /**
     * Gets or sets if the terrain section is visible.  This property is observable.
     * @see Online Documentation
     */
    var terrainVisible: Boolean

    /**
     * Gets or sets the index of the depth frustum text.  This property is observable.
     * @see Online Documentation
     */
    var depthFrustumText: String

    /**
     * Gets the command to toggle the visibility of the drop down.
     * @see Online Documentation
     */
    var toggleDropDown: Command

    /**
     * Gets the command to toggle the visibility of a BoundingSphere for a primitive
     * @see Online Documentation
     */
    var showPrimitiveBoundingSphere: Command

    /**
     * Gets the command to toggle the visibility of a [DebugModelMatrixPrimitive] for the model matrix of a primitive
     * @see Online Documentation
     */
    var showPrimitiveReferenceFrame: Command

    /**
     * Gets the command to toggle a filter that renders only a selected primitive
     * @see Online Documentation
     */
    var doFilterPrimitive: Command

    /**
     * Gets the command to increment the depth frustum index to be shown
     * @see Online Documentation
     */
    var incrementDepthFrustum: Command

    /**
     * Gets the command to decrement the depth frustum index to be shown
     * @see Online Documentation
     */
    var decrementDepthFrustum: Command

    /**
     * Gets the command to toggle the visibility of tile coordinates
     * @see Online Documentation
     */
    var showTileCoordinates: Command

    /**
     * Gets the command to toggle the visibility of a BoundingSphere for a selected tile
     * @see Online Documentation
     */
    var showTileBoundingSphere: Command

    /**
     * Gets the command to toggle a filter that renders only a selected tile
     * @see Online Documentation
     */
    var doFilterTile: Command

    /**
     * Gets the command to expand and collapse the general section
     * @see Online Documentation
     */
    var toggleGeneral: Command

    /**
     * Gets the command to expand and collapse the primitives section
     * @see Online Documentation
     */
    var togglePrimitives: Command

    /**
     * Gets the command to expand and collapse the terrain section
     * @see Online Documentation
     */
    var toggleTerrain: Command

    /**
     * Gets the command to pick a primitive
     * @see Online Documentation
     */
    var pickPrimitive: Command

    /**
     * Gets the command to pick a tile
     * @see Online Documentation
     */
    var pickTile: Command

    /**
     * Gets the command to pick a tile
     * @see Online Documentation
     */
    var selectParent: Command

    /**
     * Gets the command to pick a tile
     * @see Online Documentation
     */
    var selectNW: Command

    /**
     * Gets the command to pick a tile
     * @see Online Documentation
     */
    var selectNE: Command

    /**
     * Gets the command to pick a tile
     * @see Online Documentation
     */
    var selectSW: Command

    /**
     * Gets the command to pick a tile
     * @see Online Documentation
     */
    var selectSE: Command

    /**
     * Gets or sets the current selected primitive
     * @see Online Documentation
     */
    var primitive: Command

    /**
     * Gets or sets the current selected tile
     * @see Online Documentation
     */
    var tile: Command

    /**
     * @return true if the object has been destroyed, false otherwise.
     * @see Online Documentation
     */
    fun isDestroyed(): Boolean

    /**
     * Destroys the widget.  Should be called if permanently
     * removing the widget from layout.
     * @see Online Documentation
     */
    fun destroy()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy