Field data layer, through this function to visually express volume data.
Name | Type | Description | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
optional
The parameter object has the following properties:
|
Members
-
Set the color table
-
colorTransferFunction : ColorTransferFunction
-
This attribute specifies a piecewise function that controls the color.
-
Set the intensity value of the isosurface.
-
Whether to turn on the light.
-
Used to set the border line mode, the default is filled and wire frame mode.
See:
-
Set to select fixed timing display.
-
Control the relationship between the gradient value and transparency after useGradientOpacity is turned on, and express it as a linear piecewise function.
-
Control the relationship between the gradient value and transparency after useGradientOpacity is turned on, and express it as a linear piecewise function.
-
Control the relationship between the gradient value and transparency after useGradientOpacity is turned on, and express it as a linear piecewise function.
-
Control the relationship between the gradient value and transparency after useGradientOpacity is turned on, and express it as a linear piecewise function.
-
layerBounds : Rectangle
-
Get or set the data range of the layer
-
material : Material
-
Material parameters.
-
Set or get the maximum value that can be displayed by the filter.
-
Set or get the maximum value of volume data.
-
Set or get the minimum value that can be filtered.
-
Set or get the minimum value of the volume data.
-
opacityTransferFunction : PiecewiseFunction
-
This attribute specifies a piecewise function that controls transparency.
-
Set transparency.
-
Used for border line color setting
-
Set the scaling of the data in the XYZ direction.
-
Set the position of the section plane (relative to the center point).
-
Get the ID of the layer type
-
Set whether to use gradient value to control transparency.
-
Get or set the visibility of the layer
-
Set the display range.
-
VolumeRenderMode : VolumeRenderMode
-
Set the display mode (body mode, section plane mode).
-
zBounds : Cartesian2
-
Get or set the Z direction range of the layer's data
Methods
-
Set a cutting surface, no more than 6 at most. The coordinates of this surface are the coordinates of the volume data as a cube with a side length of 1 in the cube.
-
Destroy the object and release its webgl resources.
Once the object is destroyed, it can no longer be used; calling any method of the destroyed object will throw an
DeveloperError
exceptionReturns:
- VoxelGridLayer3D#isDestroyed
Example:
layer = layer && layer.destroy();
See:
-
Get the number of clipping regions.
Returns:
-
Remove all clipping regions.
-
Removes the clipping plane at the specified index.