Graph |
The Graph3DController type exposes the following members.
| Name | Description | |
|---|---|---|
| AdjustZNearZFar | Adjusts the zNear and zFar parameter of the camera to make sure that our scene is viewed appropriately, and nothing is cut away. | |
| Apply | Called when the user input has to be applied to the document being controlled. Returns if apply is successful. | |
| Arrange | Arranges the objects so they share a common boundary. | |
| ArrangeBottomToBottom | Arranges the objects so they share the bottom boundary with the bottom boundary of the master element. | |
| ArrangeBottomToTop | Arranges the objects so they share the bottom boundary with the top boundary of the master element. | |
| ArrangeHorizontal | Arranges the objects so they share the vertical middle line of the last selected object. | |
| ArrangeHorizontalTable | Arranges the objects so they their vertical middle line is uniform spaced between the first and the last selected object. | |
| ArrangeLeftToLeft | Arranges the objects so they share the left boundary with the left boundary of the master element. | |
| ArrangeLeftToRight | Arranges the objects so they share the left boundary with the right boundary of the master element. | |
| ArrangeRightToLeft | Arranges the objects so they share the right boundary with the left boundary of the master element. | |
| ArrangeRightToRight | Arranges the objects so they share the right boundary with the right boundary of the master element. | |
| ArrangeSameHorizontalSize | Performs the a rr an ge sa me ho ri zo nt al si z e operation. | |
| ArrangeSameSizeBase | Arranges the same size base. | |
| ArrangeSameVerticalSize | Performs the a rr an ge sa me ve rt ic al si z e operation. | |
| ArrangeTopToBottom | Arranges the objects so they share the top boundary with the bottom boundary of the master element. | |
| ArrangeTopToTop | Arranges the objects so they share the top boundary with the top boundary of the master element. | |
| ArrangeVertical | Arranges the objects so they share the horizontal middle line of the last selected object. | |
| ArrangeVerticalTable | Arranges the objects so they their horizontal middle line is uniform spaced between the first and the last selected object. | |
| BuildNavPoint |
Builds an INavigationPoint for the current position.
(Inherited from AbstractViewContent) | |
| CameraMoveHorizontallyByMouseWheel | Moves the camera horizontally in response to mouse-wheel input. | |
| CameraMoveRelative(Double, Double) | Moves the camera horizontally and vertically. | |
| CameraMoveRelative(CameraBase, Double, Double) | Moves the camera horizontally and vertically. | |
| CameraMoveVerticallyByMouseWheel | Moves the camera vertically in response to mouse-wheel input. | |
| CameraRotateAroundHorizontalAxisByMouseWheel | Rotates the camera around the horizontal axis in response to mouse-wheel input. | |
| CameraRotateAroundVerticalAxisByMouseWheel | Rotates the camera around the vertical axis in response to mouse-wheel input. | |
| CameraRotateDegrees(Double, Double) | Rotates the camera. | |
| CameraRotateDegrees(CameraBase, Double, Double) | Rotates the camera. | |
| CameraZoomByMouseWheel(Double, Double, Double, Double) | Zooms the camera in response to mouse-wheel input. | |
| CameraZoomByMouseWheel(CameraBase, Double, Double, Double, Double) | Calculates a zoomed camera in response to mouse-wheel input. | |
| CanClose |
Determines whether the view content can be closed.
(Inherited from AbstractViewContent) | |
| ClearIsDirty |
Clears the dirty state.
(Inherited from AbstractViewContent) | |
| CmdDelete | Deletes the current selection or, if nothing is selected, the graph document itself. | |
| Copy | Performs the c o p y operation. | |
| CopySelectedObjectsToClipboard | Copies the currently selected objects to the clipboard. | |
| Cut | Performs the c u t operation. | |
| CutSelectedObjectsToClipboard | Cuts the currently selected objects to the clipboard. | |
| Delete | Performs the d el e t e operation. | |
| Dispose |
Is called when the 3D graph is no longer displayed. Used here to free resources.
(Overrides AbstractViewContentDispose) | |
| DrawRootLayerMarkers | Draws the root-layer orientation markers. | |
| EhEditPlotItem | Handles the double click event onto a plot item. | |
| EhEditTextGraphics | Handles the double click event onto a plot item. | |
| EhGraph_BoundsChanged_Unsynchronized | Updates marker geometry after the graph bounds have changed. | |
| EhGraph_Changed | Called if something in the GraphDocument changed. | |
| EhGraph_LayerCollectionChanged | Handler of the event LayerCollectionChanged of the graph document. Forces to check the LayerButtonBar to keep track that the number of buttons match the number of layers. | |
| EhGraph_LayerCollectionChanged_Unsynchronized | Updates controller and view state after the layer collection has changed. | |
| EhGraph_SizeChanged | Handler of the event LayerCollectionChanged of the graph document. Forces to check the LayerButtonBar to keep track that the number of buttons match the number of layers. | |
| EhTitleLocalizationChanged |
Updates the title when the localized title changes.
(Inherited from AbstractViewContent) | |
| EhView_CurrentGraphToolChanged | Raises CurrentGraphToolChanged. | |
| EhView_CurrentLayerChoosen | Handles the selection of the current layer by the user. | |
| EhView_GraphPanelMouseDown | Handles the mouse down event onto the graph in the controller class. | |
| EhView_GraphPanelMouseMove | Handles the mouse move event onto the graph in the controller class. | |
| EhView_GraphPanelMouseUp | Handles the mouse up event onto the graph in the controller class. | |
| EhView_GraphPanelMouseWheel | Handles mouse-wheel input on the graph panel. | |
| EhView_GraphPanelSizeChanged | Handles the event when the size of the graph area is changed. | |
| EhView_ShowDataContextMenu | The controller should show a data context menu (contains all plots of the currentLayer). | |
| EnsureValidityOfCurrentLayerNumber | Ensures that CurrentLayerNumber refers to a valid layer and returns that layer. | |
| EnsureValidityOfCurrentPlotNumber | This ensures that the current plot number is valid. If there is no plot on the currently active layer, the current plot number is set to -1. | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| FindGraphObjectAtPixelPosition | Looks for a graph object at the position given by hitData and returns true if one is found. | |
| GetCoordinateSystemBasedOnLayerPlaneFacingTheCamera | Gets the principal coordinate system that results of the camera facing a layer. The plane of the layer that best faced the camera is used for the calculations. The normal of that layer is returned as z-axis, the vector that best matches the up-vector of the camera is becoming the y-axis, and the x-axis results from the z-axis and the y-axis. | |
| GetCoordinateSystemRlcBasedOnLayerPlaneFacingTheCameraForSelectedObjects | Gets the principal coordinate system that results of the camera facing a layer. The layer is determined from the base layer of all currently selected objects. The plane of the layer that best faced the camera is used for the calculations. The normal of that layer is returned as z-axis, the vector that best matches the up-vector of the camera is becoming the y-axis, and the x-axis results from the z-axis and the y-axis. These vectors are then transformed to root layer coordinates, and packed into a matrix with M11, M21, M31 being the x-axis, M12, M22, M32 being the y-axis and M31, M32, M33 being the z-axis. | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetParentLayerOfSelectedObjects | Determines the parent layer of the selected objects, as far as all selected objects belong to the same layer. | |
| GetService(Type) | Gets the service object of the specified type. (Inherited from AbstractViewContent) | |
| GetServiceT |
Gets a required service of the specified type.
(Inherited from AbstractViewContent) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| GroupSelectedObjects | Groups the selected objects to form a ShapeGroup. | |
| Initialize | Initializes the controller state and optionally reloads document-dependent data. | |
| InitializeDocument | Initializes the controller with the document. | |
| IsCmdCopyEnabled | Determines whether the copy command is currently available. | |
| IsCmdCutEnabled | Determines whether the cut command is currently available. | |
| IsCmdDeleteEnabled | Determines whether the delete command is currently available. | |
| IsCmdPasteEnabled | Determines whether the paste command is currently available. | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| ModelRotateDegrees | Rotates the model around the center of the root layer. | |
| NotifyContentIdChanged |
Can be used to notify the view content that the ContentId maybe has changed.
(Inherited from AbstractViewContent) | |
| OnClose |
Closes the view content.
(Inherited from AbstractViewContent) | |
| OnContentVisibilityChanged | Notifies the view that the content visibility has changed. | |
| OnIsDirtyChanged |
Raises notifications that the dirty state has changed.
(Inherited from AbstractViewContent) | |
| OnPropertyChanged |
Raises the PropertyChanged event.
(Overrides AbstractViewContentOnPropertyChanged(String)) | |
| Paste | Performs the p as t e operation. | |
| PasteObjectsFromClipboard | Pastes supported objects from the clipboard into the active layer. | |
| RemoveSelectedObjects | Removes all currently selected objects from the graph. | |
| Revert | Try to revert changes to the model, i.e. restores the original state of the model. | |
| SelectAll | Performs the s el ec ta l l operation. | |
| SetDirty |
Sets the dirty state.
(Inherited from AbstractViewContent) | |
| SetDisposeInProgress |
Announces that this view content is about to be disposed very soon. The view content should remain passiv (e.g. should not react to events any more),
but should not release its resources yet (this is done later in Dispose).
(Inherited from AbstractViewContent) | |
| SetLocalizedInfoTip |
Sets a localized info tip that will update automatically when the language changes.
(Inherited from AbstractViewContent) | |
| SetLocalizedTitle |
Sets a localized title that will update automatically when the language changes.
(Inherited from AbstractViewContent) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) | |
| UngroupSelectedObjects | Ungroups the selected objects (if they are ShapeGroup objects). | |
| ViewBack | Sets the camera to a back view of the root layer. | |
| ViewBottom | Sets the camera to a bottom view of the root layer. | |
| ViewFront | Sets the camera to a front view of the root layer. | |
| ViewIsometricLeftTop | Sets the camera to an isometric left-top view. | |
| ViewIsometricStandard | Sets the camera to the standard isometric view. | |
| ViewLeft | Sets the camera to a left-side view of the root layer. | |
| ViewRight | Sets the camera to a right-side view of the root layer. | |
| ViewTop | Sets the camera to a top view of the root layer. | |
| ViewToRootLayerCenter | Make the views to look at the root layer center. The scale is choosen so that the size of the plot will be maximal. |