SliceAnalysisView3D

AMD: require(["esri/views/3d/analysis/SliceAnalysisView3D"], (SliceAnalysisView3D) => { /* code goes here */ });
ESM: import SliceAnalysisView3D from "@arcgis/core/views/3d/analysis/SliceAnalysisView3D";
Class: esri/views/3d/analysis/SliceAnalysisView3D

Represents the analysis view of a SliceAnalysis after it has been added to SceneView.analyses.

The SliceAnalysisView3D is responsible for rendering a SliceAnalysis using custom visualizations. While multiple SliceAnalysis can be added to SceneView.analyses, only one SliceAnalysis can be actively slicing the scene. The SliceAnalysis which is currently actively slicing the scene can be controlled by setting the active property on its analysis view to true.

The view for an analysis can be retrieved using SceneView.whenAnalysisView similar to how layer views are retrieved for layers using SceneView.whenLayerView.

// retrieve analysis view for analysis
const analysis = new SliceAnalysis();
sceneView.analyses.add(analysis); // add to the scene view
const analysisView = await view.whenAnalysisView(analysis);

Property Overview

Name Type Summary Class
Boolean

Only one SliceAnalysis at a time can be active in a SceneView.

more details
SliceAnalysisView3D
SliceAnalysis

The direct line measurement analysis object associated with the analysis view.

more details
SliceAnalysisView3D
Boolean

Set to true to enable interactivity for the associated SliceAnalysis.

more details
SliceAnalysisView3D
String For SliceAnalysisView3D the type is always "slice-view-3d". more detailsSliceAnalysisView3D
Boolean

When true, the analysis is visualized in the view.

more details
SliceAnalysisView3D

Property Details

active Boolean

Only one SliceAnalysis at a time can be active in a SceneView. When a slice view is activated by setting this property to true, all other slice views are automatically deactivated.

Default Value:true
analysis SliceAnalysisreadonly

The direct line measurement analysis object associated with the analysis view.

interactive Boolean

Set to true to enable interactivity for the associated SliceAnalysis. If the analysis has a valid shape defined, then manipulators will be shown which the user can click and drag in order to edit the analysis.

This property will be overridden to true while the analysis is assigned to a SliceViewModel.

Default Value:false
type Stringreadonly

For SliceAnalysisView3D the type is always "slice-view-3d".

visible Boolean

When true, the analysis is visualized in the view.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.