C# Class HelixToolkit.Wpf.ViewCubeVisual3D

A visual element that shows a view cube.
Inheritance: System.Windows.Media.Media3D.ModelVisual3D
Afficher le fichier Open project: litdev1/LitDev Class Usage Examples

Méthodes publiques

Свойство Type Description
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

Méthodes publiques

Méthode Description
ViewCubeVisual3D ( ) : System

Initializes a new instance of the ViewCubeVisual3D class.

Méthodes protégées

Méthode Description
OnClicked ( System.Windows.Media.Media3D.Vector3D lookDirection, System.Windows.Media.Media3D.Vector3D upDirection ) : void

Called when a face was clicked.

Private Methods

Méthode Description
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.

Method Details

OnClicked() protected méthode

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.
Résultat void

ViewCubeVisual3D() public méthode

Initializes a new instance of the ViewCubeVisual3D class.
public ViewCubeVisual3D ( ) : System
Résultat System

Property Details

BackTextProperty public_oe static_oe property

Identifies the BackText dependency property.
public static DependencyProperty,System.Windows BackTextProperty
Résultat System.Windows.DependencyProperty

BottomTextProperty public_oe static_oe property

Identifies the BottomText dependency property.
public static DependencyProperty,System.Windows BottomTextProperty
Résultat System.Windows.DependencyProperty

CenterProperty public_oe static_oe property

Identifies the Center dependency property.
public static DependencyProperty,System.Windows CenterProperty
Résultat System.Windows.DependencyProperty

FrontTextProperty public_oe static_oe property

Identifies the FrontText dependency property.
public static DependencyProperty,System.Windows FrontTextProperty
Résultat System.Windows.DependencyProperty

LeftTextProperty public_oe static_oe property

Identifies the LeftText dependency property.
public static DependencyProperty,System.Windows LeftTextProperty
Résultat System.Windows.DependencyProperty

ModelUpDirectionProperty public_oe static_oe property

Identifies the ModelUpDirection dependency property.
public static DependencyProperty,System.Windows ModelUpDirectionProperty
Résultat System.Windows.DependencyProperty

RightTextProperty public_oe static_oe property

Identifies the RightText dependency property.
public static DependencyProperty,System.Windows RightTextProperty
Résultat System.Windows.DependencyProperty

SizeProperty public_oe static_oe property

Identifies the Size dependency property.
public static DependencyProperty,System.Windows SizeProperty
Résultat System.Windows.DependencyProperty

TopTextProperty public_oe static_oe property

Identifies the TopText dependency property.
public static DependencyProperty,System.Windows TopTextProperty
Résultat System.Windows.DependencyProperty

ViewportProperty public_oe static_oe property

Identifies the Viewport dependency property.
public static DependencyProperty,System.Windows ViewportProperty
Résultat System.Windows.DependencyProperty