Class CuttingPlaneGroup
- Namespace
- HelixToolkit.Wpf
- Assembly
- HelixToolkit.Wpf.dll
A visual element that applies the intersection of all the specified cutting planes to all children.
public class CuttingPlaneGroup : RenderingModelVisual3D, IAnimatable, IAddChild
- Inheritance
-
CuttingPlaneGroup
- Implements
- Inherited Members
- Extension Methods
Constructors
CuttingPlaneGroup()
Initializes a new instance of the CuttingPlaneGroup class.
public CuttingPlaneGroup()
Fields
IsEnabledProperty
Identifies the IsEnabled dependency property.
public static readonly DependencyProperty IsEnabledProperty
Field Value
OperationProperty
Identifies the Operation dependency property.
public static readonly DependencyProperty OperationProperty
Field Value
Properties
CuttingPlanes
Gets or sets the cutting planes.
public List<Plane3D> CuttingPlanes { get; set; }
Property Value
Remarks
The the intersection of all the cutting planes will be used to intersect/subtract (defined in Operation all child visuals of the CuttingPlaneGroup.
IsEnabled
Gets or sets a value indicating whether cutting is enabled.
public bool IsEnabled { get; set; }
Property Value
Operation
Gets or sets the cutting operation.
public CuttingOperation Operation { get; set; }
Property Value
- CuttingOperation
The operation.
Methods
OnCompositionTargetRendering(object?, RenderingEventArgs?)
Called when the composition target rendering event is raised.
protected override void OnCompositionTargetRendering(object? sender, RenderingEventArgs? e)
Parameters
senderobjectThe sender.
eRenderingEventArgsThe RenderingEventArgs instance containing the event data.
UpdateModel()
Update the cutting planes to the model.
public void UpdateModel()