ViewCubeIcon Class

View Cube icon settings. This user interface element will never be added to images and printouts.
Public Class ViewCubeIcon 
Inherits UserInterfaceSymbolBase
This language is not supported or no code example is available.
public class ViewCubeIcon : UserInterfaceSymbolBase
This language is not supported or no code example is available.
Name Description
Public constructor ViewCubeIcon(coordinateSystemPositionType, bool, Color, bool, int, string, string, string, string, string, string, char, char, char, char, bool, Font, Color, int) Obsolete. Deprecated constructor.
Public constructor ViewCubeIcon(coordinateSystemPositionType, bool, Color, bool, int, string, string, string, string, string, string, char, char, char, char, bool, Font, Color, int, bool) Obsolete. Deprecated constructor.
Public constructor ViewCubeIcon(coordinateSystemPositionType, bool, Color, bool, int, string, string, string, string, string, string, Color, Color, Color, Color, Color, Color, char, char, char, char, bool, Font, Color, Color, int, bool, bool, ImageSource, ImageSource, ImageSource, ImageSource, ImageSource, ImageSource) Obsolete. Deprecated constructor.
Public constructor ViewCubeIcon(coordinateSystemPositionType, bool, Color, bool, string, string, string, string, string, string, Color, Color, Color, Color, Color, Color, char, char, char, char, bool, Font, Color, Color, int, bool, bool, ImageSource, ImageSource, ImageSource, ImageSource, ImageSource, ImageSource, bool) Obsolete. Deprecated constructor.
Public constructor ViewCubeIcon(coordinateSystemPositionType, bool, Color, bool, int, string, string, string, string, string, string, Color, Color, Color, Color, Color, Color, char, char, char, char, bool, Font, Color, Color, int, bool, bool) Obsolete. Deprecated constructor.
Public constructor ViewCubeIcon(coordinateSystemPositionType, bool, Color, bool, int, string, string, string, string, string, string, Color, Color, Color, Color, Color, Color, char, char, char, char, bool, Font, Color, Color, int, bool, bool, ImageSource, ImageSource, ImageSource, ImageSource, ImageSource, ImageSource, bool) Obsolete. Deprecated constructor.
Public constructor ViewCubeIcon(coordinateSystemPositionType, bool, Color, bool, int, string, string, string, string, string, string, char, char, char, char, bool, Font, Color, int, bool, bool) Obsolete. Deprecated constructor.
Public constructor ViewCubeIcon() Empty constructor.
Public constructor ViewCubeIcon(ViewCubeIcon) Copy constructor.
Public constructor ViewCubeIcon(coordinateSystemPositionType, bool, Color, bool, string, string, string, string, string, string, Color, Color, Color, Color, Color, Color, char, char, char, char, bool, Color, Color, int, bool, bool, ImageSource, ImageSource, ImageSource, ImageSource, ImageSource, ImageSource, bool) Standard constructor.
Top
Name Description
Public property AnimateCamera When true, animates the camera when changing the orientation.
Public property BackColor Gets or sets the color of the back face.
Public property BackImage Gets or sets the left face image.
Public property BackRingColor Gets or sets the color of the back ring label.
Public property BackRingLabel Gets or sets the label on the ring for front orientation.
Public property BackText Gets or sets the text of the back face.
Public property BottomColor Gets or sets the color of the bottom face.
Public property BottomImage Gets or sets the bottom face image.
Public property BottomText Gets or sets the text of the bottom face.
Protected property CustomViewport Tells if the UI element is drawn with a custom viewport. (inherited from UserInterfaceBase).
Public property Disposed (inherited from DisposableBase).
Public property EdgeColor Gets or sets the front face image.
Public property Enabled Gets or sets the enabled status.
Public property Entities Gets or sets the mesh entities used to draw the CoordinateSystemIcon. (inherited from UserInterfaceSymbolBase).
Public property FitAfterViewChange When true, fits the view when the view orientation changes.
Public property Font Gets or sets the Font used to draw the texts on the cube faces and the labels on the ring
Public property FontFamily Gets or sets the Font Family used to draw the texts on the cube faces and the labels on the ring
Public property FrontColor Gets or sets the color of the front face.
Public property FrontImage Gets or sets the front face image.
Public property FrontRingColor Gets or sets the color of the front ring label.
Public property FrontRingLabel Gets or sets the label on the ring for front orientation.
Public property FrontText Gets or sets the highlight color.
Public property HighlightColor Gets or sets the highlight color.
Public property InitialRotation Gets or sets the initial rotation of the ViewCubeIcon.
Public property LeftColor Gets or sets the color of the left face.
Public property LeftImage Gets or sets the left face image.
Public property LeftRingColor Gets or sets the color of the left ring label.
Public property LeftRingLabel Gets or sets the label on the ring for left orientation.
Public property LeftText Gets or sets the text of the left face.
Public property Lighting When true, animates the camera when changing the orientation.
Protected property LocationAtOrigin When doing a render to Bitmap of the item, must not change the viewport origin. (inherited from UserInterfaceBase).
Internal protected (Protected Friend) property ParentViewport (inherited from UserInterfaceBase).
Public property Position The position on sceeen.
Public property RightColor Gets or sets the color of the right face.
Public property RightImage Gets or sets the top face image.
Public property RightRingColor Gets or sets the color of the left ring label.
Public property RightRingLabel Gets or sets the label on the ring for right orientation.
Public property RightText Gets or sets the text of the right face.
Public property ShowRing Gets or sets the visibility of the ring under the view cube.
Public property Size Gets or sets the size in pixels. (inherited from UserInterfaceSymbolBase).
Public property TextColor Gets or sets the color of the texts on the cube faces.
Public property TopColor Gets or sets the color of the top face.
Public property TopImage Gets or sets the top face image.
Public property TopText Gets or sets the text of the top face.
Public property Transformation Gets or sets the transformation applied to the object. (inherited from UserInterfaceSymbolBase).
Public property Visible Gets or sets the visibility status. (inherited from UserInterfaceSymbolBase).
Top
Methods
 
Name Description
Internal protected (Protected Friend) method CheckAndFixDefaultLayerName(Environment) Use this method to check and fix the layer name for internal Meshes when the ui element is assigned to the Viewport. (inherited from UserInterfaceSymbolBase).
Public method Clone() Creates a new object that is a copy of the current instance.
Public method Contains(Point) Tells if a point in screen coordinates is over the ViewCube.
Public method Dispose() Releases unmanaged resources.
Public method Draw(RenderParams) Draws the origin symbol.
Protected method DrawForBitmap(object) (inherited from UserInterfaceSymbolBase).
Internal protected (Protected Friend) method DrawInternal(DrawSceneParams)
Internal protected (Protected Friend) method DrawLabels(DrawSceneParams) (inherited from UserInterfaceSymbolBase).
Public method Equals(Object) Determines whether the specified object is equal to the current object. (inherited from Object).
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (inherited from Object).
Public method GetBounds(Viewport) Gets the bounds rectangle in screen coordinates.
Internal protected (Protected Friend) method GetDefaultLayerName(Environment) Use this method to get the correct layer name for internal Meshes. (inherited from UserInterfaceBase).
Public method Static GetDefaultViewCubeIcon() Gets the default ViewCubeIcon.
Public method GetHashCode Serves as the default hash function. (inherited from Object).
Protected method GetModelViewMatrix(Camera, double) Gets the modelview matrix to draw the user interface symbol.
Protected method GetPosition(Viewport, int[], out int, out int) Gets the position of the ViewCube in camera viewport coordinates (0 on bottom).
Protected method GetProjectionMatrix(DrawSceneParams, double) Gets the projection matrix.
Public method GetThumbnail(Viewport, Size, Color) Gets a thumbnail bitmap of the user interface element. (inherited from UserInterfaceBase).
Public method GetType Gets the Type of the current instance. (inherited from Object).
Protected method MemberwiseClone Creates a shallow copy of the current Object. (inherited from Object).
Internal protected (Protected Friend) method ObservableCollectionPropertyChanged(object, NotifyCollectionChangedEventArgs) For internal use only. (inherited from DisposableBase).
Internal protected (Protected Friend) method OnMouseDown(MouseEventArgs, Viewport) Method called when the mouse is pressed on a UI element.
Internal protected (Protected Friend) method OnMouseDown(MouseButtonEventArgs, Viewport) Method called when the mouse is pressed on a UI element.
Public method OnMouseMove(MouseEventArgs, Viewport, bool) Occurs when the mouse moves over the ViewCubeIcon.
Public method OnMouseMove(MouseEventArgs, Viewport, bool) Occurs when the mouse moves over the ViewCubeIcon.
Internal protected (Protected Friend) method OnMouseUp(MouseEventArgs, Viewport) Method called when the mouse is released on a UI element.
Internal protected (Protected Friend) method OnMouseUp(MouseButtonEventArgs, Viewport) Method called when the mouse is released on a UI element.
Protected method PostDrawOnDepthBuffer(RenderContextBase) Restores previous states at the end of the draw on depth buffer. (inherited from UserInterfaceSymbolBase).
Protected method PreDrawOnDepthBuffer(RenderContextBase) Prepares to draw on the depth buffer. (inherited from UserInterfaceSymbolBase).
Protected method RaisePropertyChangedEvent(object, DependencyProperty) For internal use only. (inherited from DisposableBase).
Public method ResetImages() Resets the images for all the faces.
Public method ScaleForDPI() Scales the element for high DPI settings.
Public method SetImages(ImageSource[]) Sets the images for all the faces.
Protected method SetView(Viewport, viewType) Sets the viewport orientation.
Protected method SetupLights(Viewport, RenderContextBase, float) (inherited from UserInterfaceSymbolBase).
Public method ToString Returns a string that represents the current object. (inherited from Object).
Public method Update(IUserInterfaceElement) Updates the contents of the element with the data from another element.
Top
Events
 
Name Description
Public event Click Occurs when the ViewCubeIcon is clicked.
Public event PropertyChanged For internal use only. (inherited from DisposableBase).
Top
Classes
 
Name Description
Public class ViewCubePartEntity Class that represents a portion of the ViewCubeIcon
Top
Name Description
Public delegate ViewCubeClickEventHandler Represents the method that will handle the ViewCubeIcon.Click event.
Top
Fields
 
Name Description
Internal protected (Protected Friend) field Dragging (inherited from UserInterfaceSymbolBase).
Public field Static FontFamilyProperty
Internal protected (Protected Friend) field PickedEntity The picked part. (inherited from UserInterfaceSymbolBase).
Public field Static PropertyChangedEvent For internal use only. (inherited from DisposableBase).
Top

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition