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 
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 
Public methodArrangeSameSizeBase Arranges the same size base.
Public methodArrangeSameVerticalSize 
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
(Inherited from AbstractViewContent)
Protected methodCameraMoveHorizontallyByMouseWheel 
Public methodCameraMoveRelative(Double, Double) Moves the camera horizontally and vertically.
Public methodStatic memberCameraMoveRelative(CameraBase, Double, Double) Moves the camera horizontally and vertically.
Protected methodCameraMoveVerticallyByMouseWheel 
Protected methodCameraRotateAroundHorizontalAxisByMouseWheel 
Protected methodCameraRotateAroundVerticalAxisByMouseWheel 
Public methodCameraRotateDegrees(Double, Double) Rotates the camera.
Public methodStatic memberCameraRotateDegrees(CameraBase, Double, Double) Rotates the camera.
Protected methodCameraZoomByMouseWheel(Double, Double, Double, Double) 
Protected methodStatic memberCameraZoomByMouseWheel(CameraBase, Double, Double, Double, Double) 
Protected methodCanClose
(Inherited from AbstractViewContent)
Public methodClearIsDirty
(Inherited from AbstractViewContent)
Public methodCmdDelete 
Public methodCopy 
Public methodCopySelectedObjectsToClipboard 
Public methodCut 
Public methodCutSelectedObjectsToClipboard 
Public methodDelete 
Public methodDispose Is called when the graph3d is no longer displayed. Used here to free resources
(Overrides AbstractViewContentDispose)
Public methodDrawRootLayerMarkers 
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 
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 
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
(Inherited from AbstractViewContent)
Public methodEhView_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 
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 check the validity of the CurrentLayerNumber and correct it
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)
(Inherited from AbstractViewContent)
Public methodGetServiceT
(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 
Public methodInitializeDocument 
Public methodIsCmdCopyEnabled 
Public methodIsCmdCutEnabled 
Public methodIsCmdDeleteEnabled 
Public methodIsCmdPasteEnabled 
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodStatic memberModelRotateDegrees 
Public methodNotifyContentIdChanged Can be used to notify the view content that the ContentId maybe has changed.
(Inherited from AbstractViewContent)
Protected methodOnClose
(Inherited from AbstractViewContent)
Protected methodOnContentVisibilityChanged 
Public methodOnIsDirtyChanged
(Inherited from AbstractViewContent)
Protected methodOnPropertyChanged
(Overrides AbstractViewContentOnPropertyChanged(String))
Public methodPaste 
Public methodPasteObjectsFromClipboard 
Public methodRemoveSelectedObjects 
Public methodRevert 
Public methodSelectAll 
Public methodSetDirty
(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 
Public methodViewBottom 
Public methodViewFront 
Public methodViewIsometricLeftTop 
Public methodViewIsometricStandard 
Public methodViewLeft 
Public methodViewRight 
Public methodViewTop 
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