Click or drag to resize

Graph3DController Methods

The Graph3DController type exposes the following members.

Methods
 NameDescription
Public methodAdjustZNearZFar Adjusts the zNear and zFar parameter of the camera to make sure that our scene is viewed appropriately, and nothing is cut away.
Public methodApply Called when the user input has to be applied to the document being controlled. Returns if apply is successful.
Public methodArrange Arranges the objects so they share a common boundary.
Public methodArrangeBottomToBottom Arranges the objects so they share the bottom boundary with the bottom boundary of the master element.
Public methodArrangeBottomToTop Arranges the objects so they share the bottom boundary with the top boundary of the master element.
Public methodArrangeHorizontal Arranges the objects so they share the vertical middle line of the last selected object.
Public methodArrangeHorizontalTable Arranges the objects so they their vertical middle line is uniform spaced between the first and the last selected object.
Public methodArrangeLeftToLeft Arranges the objects so they share the left boundary with the left boundary of the master element.
Public methodArrangeLeftToRight Arranges the objects so they share the left boundary with the right boundary of the master element.
Public methodArrangeRightToLeft Arranges the objects so they share the right boundary with the left boundary of the master element.
Public methodArrangeRightToRight Arranges the objects so they share the right boundary with the right boundary of the master element.
Public methodArrangeSameHorizontalSize Performs the a rr an ge sa me ho ri zo nt al si z e operation.
Public methodArrangeSameSizeBase Arranges the same size base.
Public methodArrangeSameVerticalSize Performs the a rr an ge sa me ve rt ic al si z e operation.
Public methodArrangeTopToBottom Arranges the objects so they share the top boundary with the bottom boundary of the master element.
Public methodArrangeTopToTop Arranges the objects so they share the top boundary with the top boundary of the master element.
Public methodArrangeVertical Arranges the objects so they share the horizontal middle line of the last selected object.
Public methodArrangeVerticalTable Arranges the objects so they their horizontal middle line is uniform spaced between the first and the last selected object.
Public methodBuildNavPoint Builds an INavigationPoint for the current position.
(Inherited from AbstractViewContent)
Protected methodCameraMoveHorizontallyByMouseWheel Moves the camera horizontally in response to mouse-wheel input.
Public methodCameraMoveRelative(Double, Double) Moves the camera horizontally and vertically.
Public methodStatic memberCameraMoveRelative(CameraBase, Double, Double) Moves the camera horizontally and vertically.
Protected methodCameraMoveVerticallyByMouseWheel Moves the camera vertically in response to mouse-wheel input.
Protected methodCameraRotateAroundHorizontalAxisByMouseWheel Rotates the camera around the horizontal axis in response to mouse-wheel input.
Protected methodCameraRotateAroundVerticalAxisByMouseWheel Rotates the camera around the vertical axis in response to mouse-wheel input.
Public methodCameraRotateDegrees(Double, Double) Rotates the camera.
Public methodStatic memberCameraRotateDegrees(CameraBase, Double, Double) Rotates the camera.
Protected methodCameraZoomByMouseWheel(Double, Double, Double, Double) Zooms the camera in response to mouse-wheel input.
Protected methodStatic memberCameraZoomByMouseWheel(CameraBase, Double, Double, Double, Double) Calculates a zoomed camera in response to mouse-wheel input.
Protected methodCanClose Determines whether the view content can be closed.
(Inherited from AbstractViewContent)
Public methodClearIsDirty Clears the dirty state.
(Inherited from AbstractViewContent)
Public methodCmdDelete Deletes the current selection or, if nothing is selected, the graph document itself.
Public methodCopy Performs the c o p y operation.
Public methodCopySelectedObjectsToClipboard Copies the currently selected objects to the clipboard.
Public methodCut Performs the c u t operation.
Public methodCutSelectedObjectsToClipboard Cuts the currently selected objects to the clipboard.
Public methodDelete Performs the d el e t e operation.
Public methodDispose Is called when the 3D graph is no longer displayed. Used here to free resources.
(Overrides AbstractViewContentDispose)
Public methodDrawRootLayerMarkers Draws the root-layer orientation markers.
Protected methodStatic memberEhEditPlotItem Handles the double click event onto a plot item.
Protected methodStatic memberEhEditTextGraphics Handles the double click event onto a plot item.
Protected methodEhGraph_BoundsChanged_Unsynchronized Updates marker geometry after the graph bounds have changed.
Protected methodEhGraph_Changed Called if something in the GraphDocument changed.
Protected methodEhGraph_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.
Protected methodEhGraph_LayerCollectionChanged_Unsynchronized Updates controller and view state after the layer collection has changed.
Protected methodEhGraph_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.
Protected methodEhTitleLocalizationChanged Updates the title when the localized title changes.
(Inherited from AbstractViewContent)
Public methodEhView_CurrentGraphToolChanged Raises CurrentGraphToolChanged.
Public methodEhView_CurrentLayerChoosen Handles the selection of the current layer by the user.
Public methodEhView_GraphPanelMouseDown Handles the mouse down event onto the graph in the controller class.
Public methodEhView_GraphPanelMouseMove Handles the mouse move event onto the graph in the controller class.
Public methodEhView_GraphPanelMouseUp Handles the mouse up event onto the graph in the controller class.
Public methodEhView_GraphPanelMouseWheel Handles mouse-wheel input on the graph panel.
Public methodEhView_GraphPanelSizeChanged Handles the event when the size of the graph area is changed.
Public methodEhView_ShowDataContextMenu The controller should show a data context menu (contains all plots of the currentLayer).
Public methodEnsureValidityOfCurrentLayerNumber Ensures that CurrentLayerNumber refers to a valid layer and returns that layer.
Public methodEnsureValidityOfCurrentPlotNumber 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.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodFindGraphObjectAtPixelPosition Looks for a graph object at the position given by hitData and returns true if one is found.
Public methodStatic memberGetCoordinateSystemBasedOnLayerPlaneFacingTheCamera 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.
Public methodGetCoordinateSystemRlcBasedOnLayerPlaneFacingTheCameraForSelectedObjects 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.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetParentLayerOfSelectedObjects Determines the parent layer of the selected objects, as far as all selected objects belong to the same layer.
Public methodGetService(Type)Gets the service object of the specified type.
(Inherited from AbstractViewContent)
Public methodGetServiceT Gets a required service of the specified type.
(Inherited from AbstractViewContent)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodGroupSelectedObjects Groups the selected objects to form a ShapeGroup.
Protected methodInitialize Initializes the controller state and optionally reloads document-dependent data.
Public methodInitializeDocument Initializes the controller with the document.
Public methodIsCmdCopyEnabled Determines whether the copy command is currently available.
Public methodIsCmdCutEnabled Determines whether the cut command is currently available.
Public methodIsCmdDeleteEnabled Determines whether the delete command is currently available.
Public methodIsCmdPasteEnabled Determines whether the paste command is currently available.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodStatic memberModelRotateDegrees Rotates the model around the center of the root layer.
Public methodNotifyContentIdChanged Can be used to notify the view content that the ContentId maybe has changed.
(Inherited from AbstractViewContent)
Protected methodOnClose Closes the view content.
(Inherited from AbstractViewContent)
Protected methodOnContentVisibilityChanged Notifies the view that the content visibility has changed.
Public methodOnIsDirtyChanged Raises notifications that the dirty state has changed.
(Inherited from AbstractViewContent)
Protected methodOnPropertyChanged Raises the PropertyChanged event.
(Overrides AbstractViewContentOnPropertyChanged(String))
Public methodPaste Performs the p as t e operation.
Public methodPasteObjectsFromClipboard Pastes supported objects from the clipboard into the active layer.
Public methodRemoveSelectedObjects Removes all currently selected objects from the graph.
Public methodRevert Try to revert changes to the model, i.e. restores the original state of the model.
Public methodSelectAll Performs the s el ec ta l l operation.
Public methodSetDirty Sets the dirty state.
(Inherited from AbstractViewContent)
Public methodSetDisposeInProgress 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)
Protected methodSetLocalizedInfoTip Sets a localized info tip that will update automatically when the language changes.
(Inherited from AbstractViewContent)
Protected methodSetLocalizedTitle Sets a localized title that will update automatically when the language changes.
(Inherited from AbstractViewContent)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodUngroupSelectedObjects Ungroups the selected objects (if they are ShapeGroup objects).
Public methodViewBack Sets the camera to a back view of the root layer.
Public methodViewBottom Sets the camera to a bottom view of the root layer.
Public methodViewFront Sets the camera to a front view of the root layer.
Public methodViewIsometricLeftTop Sets the camera to an isometric left-top view.
Public methodViewIsometricStandard Sets the camera to the standard isometric view.
Public methodViewLeft Sets the camera to a left-side view of the root layer.
Public methodViewRight Sets the camera to a right-side view of the root layer.
Public methodViewTop Sets the camera to a top view of the root layer.
Public methodViewToRootLayerCenter Make the views to look at the root layer center. The scale is choosen so that the size of the plot will be maximal.
Top
See Also