Graph3DControllerGetCoordinateSystemRlcBasedOnLayerPlaneFacingTheCameraForSelectedObjects Method |
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.
Namespace: Altaxo.Gui.Graph.Graph3D.ViewingAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public Matrix3x3 GetCoordinateSystemRlcBasedOnLayerPlaneFacingTheCameraForSelectedObjects()
Return Value
Matrix3x3Matrix with the 3 principal vectors, see above for explanation.
See Also