@JsType(isNative=true, namespace="Cesium", name="Cesium3DTilesInspectorViewModel") public class Cesium3DTilesInspectorViewModel extends Object
Cesium3DTilesInspector
.Modifier and Type | Field and Description |
---|---|
int |
baseScreenSpaceError
Gets or sets the screen space error that must be reached before skipping levels of detail.
|
Number |
colorBlendMode
Gets or sets the color blend mode.
|
boolean |
colorize
Gets or sets the flag to colorize tiles.
|
boolean |
displayVisible
Gets or sets the flag to show the display section.
|
boolean |
dynamicScreenSpaceError
Gets or sets the flag to enable dynamic screen space error.
|
double |
dynamicScreenSpaceErrorDensity
Gets or sets the dynamic screen space error density.
|
double |
dynamicScreenSpaceErrorDensitySliderValue
Gets or sets the dynamic screen space error density slider value.
|
Cesium3DTileFeature |
feature
Gets the current feature of the view model.
|
boolean |
freezeFrame
Gets or sets the flag to suspend updates.
|
static String |
getStatistics
Generates an HTML string of the statistics
|
boolean |
immediatelyLoadDesiredLevelOfDetail
Gets or sets the flag which, when true, only tiles that meet the maximum screen space error will ever be downloaded.
|
boolean |
inspectorVisible
Gets or sets the flag to show the inspector.
|
boolean |
loadSiblings
Gets or sets the flag which determines whether siblings of visible tiles are always downloaded during traversal.
|
boolean |
loggingVisible
Gets or sets the flag to show the logging section.
|
int |
maximumScreenSpaceError
Gets or sets the maximum screen space error.
|
boolean |
optimizationVisible
Gets or sets the flag to show the optimization info section.
|
boolean |
performance
Gets or sets the flag to enable performance display.
|
boolean |
pickActive
Gets or sets the pick state
Default: false
|
boolean |
picking
Gets or sets the flag to enable picking.
|
boolean |
pointCloudShading
Gets or sets the flag to enable point cloud shading.
|
boolean |
showBoundingVolumes
Gets or sets the flag to show bounding volumes.
|
boolean |
showContentBoundingVolumes
Gets or sets the flag to show content volumes.
|
boolean |
showGeometricError
Gets or sets the flag to show tile geometric error.
|
boolean |
showOnlyPickedTileDebugLabel
Gets or sets the flag to show debug labels only for the currently picked tile.
|
boolean |
showPickStatistics
Gets or sets the flag to show pick statistics.
|
boolean |
showRequestVolumes
Gets or sets the flag to show request volumes.
|
boolean |
showStatistics
Gets or sets the flag to show statistics.
|
boolean |
skipLevelOfDetail
Gets or sets the flag to determine if level of detail skipping should be applied during the traversal.
|
int |
skipLevels
Gets or sets the constant defining the minimum number of levels to skip when loading tiles.
|
int |
skipScreenSpaceErrorFactor
Gets or sets the multiplier defining the minimum screen space error to skip.
|
String |
styleString
Gets or sets the JSON for the tileset style.
|
boolean |
styleVisible
Gets or sets the flag to show the style section.
|
Cesium3DTile |
tile
Gets the current tile of the view model
|
boolean |
tileDebugLabelsVisible
Gets or sets the flag to show the tile info section.
|
Cesium3DTileset |
tileset
Gets or sets the tileset of the view model.
|
boolean |
tilesetVisible
Gets or sets the flag to show the tileset section.
|
boolean |
updateVisible
Gets or sets the flag to show the update section.
|
boolean |
wireframe
Gets or sets the flag to draw with wireframe.
|
Constructor and Description |
---|
Cesium3DTilesInspectorViewModel(Scene scene,
com.google.gwt.dom.client.Element element)
The view model for
Cesium3DTilesInspector . |
Modifier and Type | Method and Description |
---|---|
Object[] |
colorBlendModes()
Gets the available blend modes
|
void |
compileStyle()
Compiles the style in the style editor.
|
void |
destroy()
Destroys the widget.
|
double |
dynamicScreenSpaceErrorFactor()
Gets or sets the dynamic screen space error factor.
|
String |
editorError()
Gets the editor error message
|
boolean |
isDestroyed() |
com.google.gwt.dom.client.Element |
performanceContainer()
Gets the performance container
|
String |
pickStatisticsText()
Gets the pick statistics text.
|
String[] |
properties()
Gets the names of the properties in the tileset.
|
Scene |
scene()
Gets the scene
|
String |
statisticsText()
Gets the statistics text.
|
void |
styleEditorKeyPress()
Handles key press events on the style editor.
|
void |
toggleDisplay()
Toggles the visibility of the display section
|
void |
toggleInspector()
Toggles the inspector visibility
|
void |
toggleLogging()
Toggles the visibility of the logging section
|
void |
toggleOptimization()
Toggles the visibility of the optimization section
|
void |
togglePickTileset()
Toggles the pick tileset mode
|
void |
toggleStyle()
Toggles the visibility of the style section
|
void |
toggleTileDebugLabels()
Toggles the visibility of the tile Debug Info section
|
void |
toggleTileset()
Toggles the visibility of the tileset section
|
void |
toggleUpdate()
Toggles the visibility of the update section
|
void |
trimTilesCache()
Trims tile cache
|
@JsProperty public static String getStatistics
@JsProperty public int baseScreenSpaceError
@JsProperty public Number colorBlendMode
Cesium3DTileColorBlendMode.HIGHLIGHT()
@JsProperty public boolean colorize
@JsProperty public boolean displayVisible
@JsProperty public boolean dynamicScreenSpaceError
@JsProperty public double dynamicScreenSpaceErrorDensity
@JsProperty public double dynamicScreenSpaceErrorDensitySliderValue
@JsProperty public Cesium3DTileFeature feature
@JsProperty public boolean freezeFrame
@JsProperty public boolean immediatelyLoadDesiredLevelOfDetail
@JsProperty public boolean inspectorVisible
@JsProperty public boolean loadSiblings
@JsProperty public boolean loggingVisible
@JsProperty public int maximumScreenSpaceError
@JsProperty public boolean optimizationVisible
@JsProperty public boolean performance
@JsProperty public boolean pickActive
@JsProperty public boolean picking
@JsProperty public boolean pointCloudShading
@JsProperty public boolean showBoundingVolumes
@JsProperty public boolean showContentBoundingVolumes
@JsProperty public boolean showGeometricError
@JsProperty public boolean showOnlyPickedTileDebugLabel
@JsProperty public boolean showPickStatistics
@JsProperty public boolean showRequestVolumes
@JsProperty public boolean showStatistics
@JsProperty public boolean skipLevelOfDetail
@JsProperty public int skipLevels
@JsProperty public int skipScreenSpaceErrorFactor
@JsProperty public String styleString
@JsProperty public boolean styleVisible
@JsProperty public Cesium3DTile tile
@JsProperty public boolean tileDebugLabelsVisible
@JsProperty public Cesium3DTileset tileset
@JsProperty public boolean tilesetVisible
@JsProperty public boolean updateVisible
@JsProperty public boolean wireframe
@JsConstructor public Cesium3DTilesInspectorViewModel(Scene scene, com.google.gwt.dom.client.Element element)
Cesium3DTilesInspector
.scene
- The scene instance to use.element
- The container for the performance display@JsProperty(name="colorBlendModes") public Object[] colorBlendModes()
@JsProperty(name="dynamicScreenSpaceErrorFactor") public double dynamicScreenSpaceErrorFactor()
@JsProperty(name="editorError") public String editorError()
@JsProperty(name="performanceContainer") public com.google.gwt.dom.client.Element performanceContainer()
@JsProperty(name="pickStatisticsText") public String pickStatisticsText()
@JsProperty(name="properties") public String[] properties()
@JsProperty(name="scene") public Scene scene()
@JsProperty(name="statisticsText") public String statisticsText()
@JsMethod public void compileStyle()
@JsMethod public void destroy()
@JsMethod public boolean isDestroyed()
@JsMethod public void styleEditorKeyPress()
@JsMethod public void toggleDisplay()
@JsMethod public void toggleInspector()
@JsMethod public void toggleLogging()
@JsMethod public void toggleOptimization()
@JsMethod public void togglePickTileset()
@JsMethod public void toggleStyle()
@JsMethod public void toggleTileDebugLabels()
@JsMethod public void toggleTileset()
@JsMethod public void toggleUpdate()
@JsMethod public void trimTilesCache()
Copyright © 2019. All rights reserved.