C# Class HelixToolkit.Wpf.BoundingBoxVisual3D

A visual element that shows a wireframe for the specified bounding box.
Inheritance: System.Windows.Media.Media3D.ModelVisual3D
显示文件 Open project: litdev1/LitDev

Public Properties

Property Type Description
BoundingBoxProperty System.Windows.DependencyProperty
DiameterProperty System.Windows.DependencyProperty
FillProperty System.Windows.DependencyProperty

Protected Methods

Method Description
OnBoxChanged ( ) : void

Updates the box.

OnFillChanged ( ) : void

Called when the fill changed.

Private Methods

Method Description
AddEdge ( System.Windows.Media.Media3D.Point3D p1, System.Windows.Media.Media3D.Point3D p2 ) : void

Adds an edge.

BoxChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Called when the box dimensions changed.

FillChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Called when the fill changed.

Method Details

OnBoxChanged() protected method

Updates the box.
protected OnBoxChanged ( ) : void
return void

OnFillChanged() protected method

Called when the fill changed.
protected OnFillChanged ( ) : void
return void

Property Details

BoundingBoxProperty public_oe static_oe property

Identifies the BoundingBox dependency property.
public static DependencyProperty,System.Windows BoundingBoxProperty
return System.Windows.DependencyProperty

DiameterProperty public_oe static_oe property

Identifies the Diameter dependency property.
public static DependencyProperty,System.Windows DiameterProperty
return System.Windows.DependencyProperty

FillProperty public_oe static_oe property

Identifies the Fill dependency property.
public static DependencyProperty,System.Windows FillProperty
return System.Windows.DependencyProperty