C# Класс HelixToolkit.Wpf.ViewCubeVisual3D

A visual element that shows a view cube.
Наследование: System.Windows.Media.Media3D.ModelVisual3D
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
BackTextProperty System.Windows.DependencyProperty
BottomTextProperty System.Windows.DependencyProperty
CenterProperty System.Windows.DependencyProperty
FrontTextProperty System.Windows.DependencyProperty
LeftTextProperty System.Windows.DependencyProperty
ModelUpDirectionProperty System.Windows.DependencyProperty
RightTextProperty System.Windows.DependencyProperty
SizeProperty System.Windows.DependencyProperty
TopTextProperty System.Windows.DependencyProperty
ViewportProperty System.Windows.DependencyProperty

Открытые методы

Метод Описание
ViewCubeVisual3D ( ) : System

Initializes a new instance of the ViewCubeVisual3D class.

Защищенные методы

Метод Описание
OnClicked ( System.Windows.Media.Media3D.Vector3D lookDirection, System.Windows.Media.Media3D.Vector3D upDirection ) : void

Called when a face was clicked.

Приватные методы

Метод Описание
AddFace ( System.Windows.Media.Media3D.Vector3D normal, System.Windows.Media.Media3D.Vector3D up, System.Windows.Media.Brush b, string text ) : void

Adds a face.

AnimateOpacity ( Animatable obj, double toOpacity, double animationTime ) : void

The animate opacity.

AnimationCompleted ( object sender, EventArgs e ) : void

Called when the animation completed.

FaceMouseLeftButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void

Called when mouse left button is clicked on a face.

OnViewportChanged ( ) : void

The on viewport changed.

UpdateVisuals ( ) : void

The update visuals.

ViewportChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

The viewport changed.

VisualModelChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

The visual model changed.

Описание методов

OnClicked() защищенный Метод

Called when a face was clicked.
protected OnClicked ( System.Windows.Media.Media3D.Vector3D lookDirection, System.Windows.Media.Media3D.Vector3D upDirection ) : void
lookDirection System.Windows.Media.Media3D.Vector3D The look direction.
upDirection System.Windows.Media.Media3D.Vector3D Up direction.
Результат void

ViewCubeVisual3D() публичный Метод

Initializes a new instance of the ViewCubeVisual3D class.
public ViewCubeVisual3D ( ) : System
Результат System

Описание свойств

BackTextProperty публичное статическое свойство

Identifies the BackText dependency property.
public static DependencyProperty,System.Windows BackTextProperty
Результат System.Windows.DependencyProperty

BottomTextProperty публичное статическое свойство

Identifies the BottomText dependency property.
public static DependencyProperty,System.Windows BottomTextProperty
Результат System.Windows.DependencyProperty

CenterProperty публичное статическое свойство

Identifies the Center dependency property.
public static DependencyProperty,System.Windows CenterProperty
Результат System.Windows.DependencyProperty

FrontTextProperty публичное статическое свойство

Identifies the FrontText dependency property.
public static DependencyProperty,System.Windows FrontTextProperty
Результат System.Windows.DependencyProperty

LeftTextProperty публичное статическое свойство

Identifies the LeftText dependency property.
public static DependencyProperty,System.Windows LeftTextProperty
Результат System.Windows.DependencyProperty

ModelUpDirectionProperty публичное статическое свойство

Identifies the ModelUpDirection dependency property.
public static DependencyProperty,System.Windows ModelUpDirectionProperty
Результат System.Windows.DependencyProperty

RightTextProperty публичное статическое свойство

Identifies the RightText dependency property.
public static DependencyProperty,System.Windows RightTextProperty
Результат System.Windows.DependencyProperty

SizeProperty публичное статическое свойство

Identifies the Size dependency property.
public static DependencyProperty,System.Windows SizeProperty
Результат System.Windows.DependencyProperty

TopTextProperty публичное статическое свойство

Identifies the TopText dependency property.
public static DependencyProperty,System.Windows TopTextProperty
Результат System.Windows.DependencyProperty

ViewportProperty публичное статическое свойство

Identifies the Viewport dependency property.
public static DependencyProperty,System.Windows ViewportProperty
Результат System.Windows.DependencyProperty