Table of Contents

Class ExtrudedVisual3D

Namespace
HelixToolkit.Wpf
Assembly
HelixToolkit.Wpf.dll

A visual element that extrudes a section along a path.

public class ExtrudedVisual3D : MeshElement3D, IAnimatable, IAddChild, IEditableObject
Inheritance
ExtrudedVisual3D
Implements
Derived
Inherited Members
Extension Methods

Remarks

The implementation will not work well if there are sharp bends in the path.

Constructors

ExtrudedVisual3D()

Initializes a new instance of the ExtrudedVisual3D class.

public ExtrudedVisual3D()

Fields

AnglesProperty

Identifies the Angles dependency property.

public static readonly DependencyProperty AnglesProperty

Field Value

DependencyProperty

IsPathClosedProperty

Identifies the IsPathClosed dependency property.

public static readonly DependencyProperty IsPathClosedProperty

Field Value

DependencyProperty

IsSectionClosedProperty

Identifies the IsSectionClosed dependency property.

public static readonly DependencyProperty IsSectionClosedProperty

Field Value

DependencyProperty

PathProperty

Identifies the Path dependency property.

public static readonly DependencyProperty PathProperty

Field Value

DependencyProperty

SectionProperty

Identifies the Section dependency property.

public static readonly DependencyProperty SectionProperty

Field Value

DependencyProperty

SectionScalesProperty

Identifies the SectionScales dependency property.

public static readonly DependencyProperty SectionScalesProperty

Field Value

DependencyProperty

SectionXAxisProperty

Identifies the SectionXAxis dependency property.

public static readonly DependencyProperty SectionXAxisProperty

Field Value

DependencyProperty

TextureCoordinatesProperty

Identifies the TextureCoordinates dependency property.

public static readonly DependencyProperty TextureCoordinatesProperty

Field Value

DependencyProperty

Properties

Angles

Gets or sets the diameters along the path.

public DoubleCollection Angles { get; set; }

Property Value

DoubleCollection

The diameters.

IsPathClosed

Gets or sets a value indicating whether the path is closed.

public bool IsPathClosed { get; set; }

Property Value

bool

IsSectionClosed

Gets or sets a value indicating whether the section is closed.

public bool IsSectionClosed { get; set; }

Property Value

bool

Path

Gets or sets the path.

public Point3DCollection Path { get; set; }

Property Value

Point3DCollection

The path.

Section

Gets or sets the section.

public PointCollection Section { get; set; }

Property Value

PointCollection

The section.

SectionScales

Gets or sets the scales od the section along the path.

public DoubleCollection SectionScales { get; set; }

Property Value

DoubleCollection

The section scales.

SectionXAxis

Gets or sets the initial alignment of the x-axis of the section into the 3D viewport.

public Vector3D SectionXAxis { get; set; }

Property Value

Vector3D

The section.

TextureCoordinates

Gets or sets the texture coordinates along the path (X only).

public DoubleCollection TextureCoordinates { get; set; }

Property Value

DoubleCollection

The texture coordinates.

Methods

Tessellate()

Do the tessellation and return the MeshGeometry3D .

protected override MeshGeometry3D? Tessellate()

Returns

MeshGeometry3D

A triangular mesh geometry.