Class VolumeTextureMaterialBase
- Namespace
- HelixToolkit.Wpf.SharpDX
- Assembly
- HelixToolkit.Wpf.SharpDX.dll
public abstract class VolumeTextureMaterialBase : Material, IVolumeTextureMaterial
- Inheritance
-
VolumeTextureMaterialBase
- Implements
- Derived
- Inherited Members
Constructors
VolumeTextureMaterialBase()
public VolumeTextureMaterialBase()
VolumeTextureMaterialBase(IVolumeTextureMaterial)
public VolumeTextureMaterialBase(IVolumeTextureMaterial core)
Parameters
Fields
ColorProperty
public static readonly DependencyProperty ColorProperty
Field Value
EnablePlaneAlignmentProperty
public static readonly DependencyProperty EnablePlaneAlignmentProperty
Field Value
IsoValueProperty
public static readonly DependencyProperty IsoValueProperty
Field Value
IterationOffsetProperty
public static readonly DependencyProperty IterationOffsetProperty
Field Value
MaxIterationsProperty
public static readonly DependencyProperty MaxIterationsProperty
Field Value
SampleDistanceProperty
public static readonly DependencyProperty SampleDistanceProperty
Field Value
SamplerProperty
public static readonly DependencyProperty SamplerProperty
Field Value
TransferMapProperty
public static readonly DependencyProperty TransferMapProperty
Field Value
Properties
Color
Gets or sets the color. It can also used to adjust opacity
public Color4 Color { get; set; }
Property Value
- Color4
The color.
EnablePlaneAlignment
public bool EnablePlaneAlignment { get; set; }
Property Value
IsoValue
Gets or sets the iso value. Only data with isovalue > sepecified iso value will be displayed Value must be normalized to 0~1. Default = 1, show all data.
public double IsoValue { get; set; }
Property Value
- double
The iso value.
IterationOffset
Gets or sets the iteration offset. This can be used to achieve cross section
public int IterationOffset { get; set; }
Property Value
- int
The iteration offset.
MaxIterations
Gets or sets the max iterations. Usually equal to the Texture Depth. Default = INT.MAX for automatic iteration
public int MaxIterations { get; set; }
Property Value
- int
The iterations.
SampleDistance
Gets or sets the sample distance. Default = 1.0
public double SampleDistance { get; set; }
Property Value
- double
The size of the step.
Sampler
public SamplerStateDescription Sampler { get; set; }
Property Value
- SamplerStateDescription
TransferMap
Gets or sets the Color Transfer Map.
public Color4[]? TransferMap { get; set; }
Property Value
- Color4[]
The gradient map.