//// Using a DependencyProperty as the backing store for Direction. This enables animation, styling, binding, etc...
//public static readonly DependencyProperty DirectionProperty =
// DependencyProperty.Register("Direction", typeof(Vector3D), typeof(SensorVisual3D), new PropertyMetadata(new Vector3D(1, 0, 0), GeometryChanged));
//public string Name
//{
// get { return (string)GetValue(NameProperty); }
// set { SetValue(NameProperty, value); }
//}
//// Using a DependencyProperty as the backing store for Name. This enables animation, styling, binding, etc...
//public static readonly DependencyProperty NameProperty =
// DependencyProperty.Register("Name", typeof(Size3D), typeof(SensorVisual3D), new PropertyMetadata(new Size3D(), GeometryChanged));
//public Size3D Size
//{
// get { return (Size3D)GetValue(SizeProperty); }
// set { SetValue(SizeProperty, value); }
//}
//// Using a DependencyProperty as the backing store for Size. This enables animation, styling, binding, etc...
//public static readonly DependencyProperty SizeProperty =
// DependencyProperty.Register("Size", typeof(Size3D), typeof(SensorVisual3D), new PropertyMetadata(new Size3D(0, 0, 0), GeometryChanged));
/// <summary>
/// The tessellate.
/// </summary>
/// <returns>The mesh.</returns>
protected override MeshGeometry3D Tessellate()
{
var builder = new ht.MeshBuilder(true, true);
builder.AddArrow(this.Position, this.Position + this.Orientation.Axis, 1);
return(builder.ToMesh());
}