Class CombinedManipulator
- Namespace
- HelixToolkit.Wpf
- Assembly
- HelixToolkit.Wpf.dll
Represents a visual element that shows translation and rotation manipulators.
public class CombinedManipulator : ModelVisual3D, IAnimatable, IAddChild
- Inheritance
-
CombinedManipulator
- Implements
- Inherited Members
- Extension Methods
Constructors
CombinedManipulator()
Initializes a new instance of the CombinedManipulator class.
public CombinedManipulator()
Fields
CanRotateXProperty
Identifies the CanRotateX dependency property.
public static readonly DependencyProperty CanRotateXProperty
Field Value
CanRotateYProperty
Identifies the CanRotateY dependency property.
public static readonly DependencyProperty CanRotateYProperty
Field Value
CanRotateZProperty
Identifies the CanRotateZ dependency property.
public static readonly DependencyProperty CanRotateZProperty
Field Value
CanTranslateXProperty
Identifies the CanTranslateX dependency property.
public static readonly DependencyProperty CanTranslateXProperty
Field Value
CanTranslateYProperty
Identifies the CanTranslateY dependency property.
public static readonly DependencyProperty CanTranslateYProperty
Field Value
CanTranslateZProperty
Identifies the CanTranslateZ dependency property.
public static readonly DependencyProperty CanTranslateZProperty
Field Value
DiameterProperty
Identifies the Diameter dependency property.
public static readonly DependencyProperty DiameterProperty
Field Value
TargetTransformProperty
Identifies the TargetTransform dependency property.
public static readonly DependencyProperty TargetTransformProperty
Field Value
Properties
CanRotateX
Gets or sets a value indicating whether this instance can rotate X.
public bool CanRotateX { get; set; }
Property Value
- bool
trueif this instance can rotate X; otherwise,false.
CanRotateY
Gets or sets a value indicating whether this instance can rotate Y.
public bool CanRotateY { get; set; }
Property Value
- bool
trueif this instance can rotate Y; otherwise,false.
CanRotateZ
Gets or sets a value indicating whether this instance can rotate Z.
public bool CanRotateZ { get; set; }
Property Value
- bool
trueif this instance can rotate Z; otherwise,false.
CanTranslateX
Gets or sets a value indicating whether this instance can translate X.
public bool CanTranslateX { get; set; }
Property Value
- bool
trueif this instance can translate X; otherwise,false.
CanTranslateY
Gets or sets a value indicating whether this instance can translate Y.
public bool CanTranslateY { get; set; }
Property Value
- bool
trueif this instance can translate Y; otherwise,false.
CanTranslateZ
Gets or sets a value indicating whether this instance can translate Z.
public bool CanTranslateZ { get; set; }
Property Value
- bool
trueif this instance can translate Z; otherwise,false.
Diameter
Gets or sets the diameter.
public double Diameter { get; set; }
Property Value
- double
The diameter.
Offset
Gets or sets the offset of the visual (this vector is added to the Position point).
public Vector3D Offset { get; set; }
Property Value
- Vector3D
The offset.
Pivot
Gets or sets the pivot point of the manipulator.
public Point3D Pivot { get; set; }
Property Value
- Point3D
The position.
Position
Gets or sets the position of the manipulator.
public Point3D Position { get; set; }
Property Value
- Point3D
The position.
TargetTransform
Gets or sets the target transform.
public Transform3D TargetTransform { get; set; }
Property Value
- Transform3D
The target transform.
Methods
Bind(ModelVisual3D)
Binds this manipulator to a given Visual3D.
public virtual void Bind(ModelVisual3D source)
Parameters
sourceModelVisual3DSource Visual3D which receives the manipulator transforms.
UnBind()
Releases the binding of this manipulator.
public virtual void UnBind()
UpdateChildren()
Updates the child visuals.
protected void UpdateChildren()