Class ViewCubeVisual3D
- Namespace
- HelixToolkit.Wpf
- Assembly
- HelixToolkit.Wpf.dll
A visual element that shows a view cube.
public class ViewCubeVisual3D : ModelVisual3D, IAnimatable, IAddChild
- Inheritance
-
ViewCubeVisual3D
- Implements
- Inherited Members
- Extension Methods
Constructors
ViewCubeVisual3D()
Initializes a new instance of the ViewCubeVisual3D class.
public ViewCubeVisual3D()
Fields
BackTextProperty
Identifies the BackText dependency property.
public static readonly DependencyProperty BackTextProperty
Field Value
BottomTextProperty
Identifies the BottomText dependency property.
public static readonly DependencyProperty BottomTextProperty
Field Value
CenterProperty
Identifies the Center dependency property.
public static readonly DependencyProperty CenterProperty
Field Value
EnableEdgeClicksProperty
Identifies the EnableEdgeClicks dependency property.
public static readonly DependencyProperty EnableEdgeClicksProperty
Field Value
FrontTextProperty
Identifies the FrontText dependency property.
public static readonly DependencyProperty FrontTextProperty
Field Value
IsEnabledProperty
Identifies the IsEnabled dependency property.
public static readonly DependencyProperty IsEnabledProperty
Field Value
IsTopBottomViewOrientedToFrontBackProperty
Identifies the IsTopBottomViewOrientedToFrontBack dependency property.
public static readonly DependencyProperty IsTopBottomViewOrientedToFrontBackProperty
Field Value
IsTopBottomViewReverseOrientedProperty
Identifies the IsTopBottomViewReverseOriented dependency property.
public static readonly DependencyProperty IsTopBottomViewReverseOrientedProperty
Field Value
LeftTextProperty
Identifies the LeftText dependency property.
public static readonly DependencyProperty LeftTextProperty
Field Value
ModelUpDirectionProperty
Identifies the ModelUpDirection dependency property.
public static readonly DependencyProperty ModelUpDirectionProperty
Field Value
RightTextProperty
Identifies the RightText dependency property.
public static readonly DependencyProperty RightTextProperty
Field Value
SizeProperty
Identifies the Size dependency property.
public static readonly DependencyProperty SizeProperty
Field Value
TopTextProperty
Identifies the TopText dependency property.
public static readonly DependencyProperty TopTextProperty
Field Value
ViewportProperty
Identifies the Viewport dependency property.
public static readonly DependencyProperty ViewportProperty
Field Value
Properties
BackText
Gets or sets the back text.
public string BackText { get; set; }
Property Value
- string
The back text.
BottomText
Gets or sets the bottom text.
public string BottomText { get; set; }
Property Value
- string
The bottom text.
Center
Gets or sets the center.
public Point3D Center { get; set; }
Property Value
- Point3D
The center.
EnableEdgeClicks
Set or Get if view cube edge clickable.
public bool EnableEdgeClicks { get; set; }
Property Value
FrontText
Gets or sets the front text.
public string FrontText { get; set; }
Property Value
- string
The front text.
IsEnabled
Gets or sets a value indicating whether the view cube is enabled.
public bool IsEnabled { get; set; }
Property Value
IsTopBottomViewOrientedToFrontBack
Gets or sets a value indicating whether the top and bottom views are oriented to front and back.
public bool IsTopBottomViewOrientedToFrontBack { get; set; }
Property Value
IsTopBottomViewReverseOriented
Gets or sets a value indicating whether the top and bottom views reverse oriented.
public bool IsTopBottomViewReverseOriented { get; set; }
Property Value
LeftText
Gets or sets the left text.
public string LeftText { get; set; }
Property Value
- string
The left text.
ModelUpDirection
Gets or sets the model up direction.
public Vector3D ModelUpDirection { get; set; }
Property Value
- Vector3D
The model up direction.
RightText
Gets or sets the right text.
public string RightText { get; set; }
Property Value
- string
The right text.
Size
Gets or sets the size.
public double Size { get; set; }
Property Value
- double
The size.
TopText
Gets or sets the top text.
public string TopText { get; set; }
Property Value
- string
The top text.
Viewport
Gets or sets the viewport that is being controlled by the view cube.
[Browsable(false)]
public Viewport3D Viewport { get; set; }
Property Value
- Viewport3D
The viewport.
Methods
OnClicked(Vector3D, Vector3D)
Raises the Clicked event.
protected virtual void OnClicked(Vector3D lookDirection, Vector3D upDirection)
Parameters
Events
Clicked
Occurs when a face has been clicked on.
public event EventHandler<ViewCubeVisual3D.ClickedEventArgs>? Clicked