C# Class HelixToolkit.Wpf.CombinedManipulator

Represents a visual element that shows translation and rotation manipulators.
Inheritance: System.Windows.Media.Media3D.ModelVisual3D
显示文件 Open project: litdev1/LitDev Class Usage Examples

Public Properties

Property Type Description
CanRotateXProperty System.Windows.DependencyProperty
CanRotateYProperty System.Windows.DependencyProperty
CanRotateZProperty System.Windows.DependencyProperty
CanTranslateXProperty System.Windows.DependencyProperty
CanTranslateYProperty System.Windows.DependencyProperty
CanTranslateZProperty System.Windows.DependencyProperty
DiameterProperty System.Windows.DependencyProperty
TargetTransformProperty System.Windows.DependencyProperty

Public Methods

Method Description
Bind ( System.Windows.Media.Media3D.ModelVisual3D source ) : void

Binds this manipulator to a given Visual3D.

CombinedManipulator ( ) : System.Windows

Initializes a new instance of the CombinedManipulator class.

UnBind ( ) : void

Releases the binding of this manipulator.

Protected Methods

Method Description
OnChildrenChanged ( ) : void

The on children changed.

OnDiameterChanged ( ) : void

The on diameter changed.

Private Methods

Method Description
ChildrenChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

The children changed.

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

The diameter changed.

Method Details

Bind() public method

Binds this manipulator to a given Visual3D.
public Bind ( System.Windows.Media.Media3D.ModelVisual3D source ) : void
source System.Windows.Media.Media3D.ModelVisual3D /// Source Visual3D which receives the manipulator transforms. ///
return void

CombinedManipulator() public method

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

OnChildrenChanged() protected method

The on children changed.
protected OnChildrenChanged ( ) : void
return void

OnDiameterChanged() protected method

The on diameter changed.
protected OnDiameterChanged ( ) : void
return void

UnBind() public method

Releases the binding of this manipulator.
public UnBind ( ) : void
return void

Property Details

CanRotateXProperty public_oe static_oe property

Identifies the CanRotateX dependency property.
public static DependencyProperty,System.Windows CanRotateXProperty
return System.Windows.DependencyProperty

CanRotateYProperty public_oe static_oe property

Identifies the CanRotateY dependency property.
public static DependencyProperty,System.Windows CanRotateYProperty
return System.Windows.DependencyProperty

CanRotateZProperty public_oe static_oe property

Identifies the CanRotateZ dependency property.
public static DependencyProperty,System.Windows CanRotateZProperty
return System.Windows.DependencyProperty

CanTranslateXProperty public_oe static_oe property

Identifies the CanTranslateX dependency property.
public static DependencyProperty,System.Windows CanTranslateXProperty
return System.Windows.DependencyProperty

CanTranslateYProperty public_oe static_oe property

Identifies the CanTranslateY dependency property.
public static DependencyProperty,System.Windows CanTranslateYProperty
return System.Windows.DependencyProperty

CanTranslateZProperty public_oe static_oe property

Identifies the CanTranslateZ dependency property.
public static DependencyProperty,System.Windows CanTranslateZProperty
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

TargetTransformProperty public_oe static_oe property

Identifies the TargetTransform dependency property.
public static DependencyProperty,System.Windows TargetTransformProperty
return System.Windows.DependencyProperty