C# Class HelixToolkit.Wpf.TerrainVisual3D

A visual element that shows a terrain model.
The following terrrain model file formats are supported: .bt .btz (gzip compressed .bt)

The origin of model will be at the midpoint of the terrain. A compression method to convert from ".bt" to ".btz" can be found in the GZipHelper. Note that no LOD algorithm is implemented - this is for small terrains only...

Inheritance: System.Windows.Media.Media3D.ModelVisual3D
显示文件 Open project: litdev1/LitDev

Public Properties

Property Type Description
SourceProperty System.Windows.DependencyProperty

Public Methods

Method Description
TerrainVisual3D ( ) : System.Windows

Initializes a new instance of the TerrainVisual3D class.

Protected Methods

Method Description
SourceChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs args ) : void

The source changed.

Private Methods

Method Description
UpdateModel ( ) : void

Updates the model.

Method Details

SourceChanged() protected static method

The source changed.
protected static SourceChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs args ) : void
obj System.Windows.DependencyObject /// The obj. ///
args System.Windows.DependencyPropertyChangedEventArgs /// The args. ///
return void

TerrainVisual3D() public method

Initializes a new instance of the TerrainVisual3D class.
public TerrainVisual3D ( ) : System.Windows
return System.Windows

Property Details

SourceProperty public_oe static_oe property

Identifies the Source dependency property.
public static DependencyProperty,System.Windows SourceProperty
return System.Windows.DependencyProperty