.. vale off :class:`MechanicalCameraWrapper` ================================ .. py:class:: ansys.mechanical.stubs.v241.Ansys.ACT.Common.Graphics.MechanicalCameraWrapper Bases: :py:obj:`object` Wrapper for Camera in Mechanical. .. !! processed by numpydoc !! .. py:currentmodule:: MechanicalCameraWrapper Overview -------- .. tab-set:: .. tab-item:: Methods .. list-table:: :header-rows: 0 :widths: auto * - :py:attr:`~Rotate` - Rotates the camera about an axis. * - :py:attr:`~SetSpecificViewOrientation` - Sets a specific view orientation. * - :py:attr:`~SetFit` - Fits the view to the specified selection. If null is supplied, fits the view to the entire model. * - :py:attr:`~GetAsString` - Retrieves the view commands as related to the application type as a string. * - :py:attr:`~Zoom` - Zooms in or out on the model. * - :py:attr:`~Pan` - Shifts the camera position horizontally or vertically based on x and y quantities. .. tab-item:: Properties .. list-table:: :header-rows: 0 :widths: auto * - :py:attr:`~FocalPoint` - The focal point of the camera (coordinates are in the global coordinate system). * - :py:attr:`~UpVector` - The vector pointing up from the focal point. * - :py:attr:`~ViewVector` - The vector pointing from the focal point to the camera. * - :py:attr:`~SceneHeight` - Specifies the scene height (in length units) that will be projected and fit to the viewport. * - :py:attr:`~SceneWidth` - Specifies the scene width (in length units) that will be projected and fit to the viewport. Property detail --------------- .. py:property:: FocalPoint :no-index: :type: Optional[Ansys.Mechanical.Graphics.Point] The focal point of the camera (coordinates are in the global coordinate system). .. !! processed by numpydoc !! .. py:property:: UpVector :no-index: :type: Optional[Ansys.ACT.Math.Vector3D] The vector pointing up from the focal point. .. !! processed by numpydoc !! .. py:property:: ViewVector :no-index: :type: Optional[Ansys.ACT.Math.Vector3D] The vector pointing from the focal point to the camera. .. !! processed by numpydoc !! .. py:property:: SceneHeight :no-index: :type: Optional[Ansys.Core.Units.Quantity] Specifies the scene height (in length units) that will be projected and fit to the viewport. .. !! processed by numpydoc !! .. py:property:: SceneWidth :no-index: :type: Optional[Ansys.Core.Units.Quantity] Specifies the scene width (in length units) that will be projected and fit to the viewport. .. !! processed by numpydoc !! Method detail ------------- .. py:method:: Rotate(angle: System.Double, axis: Ansys.Mechanical.DataModel.Enums.CameraAxisType) -> System.Void :no-index: Rotates the camera about an axis. .. !! processed by numpydoc !! .. py:method:: SetSpecificViewOrientation(type: Ansys.Mechanical.DataModel.Enums.ViewOrientationType) -> System.Void :no-index: Sets a specific view orientation. .. !! processed by numpydoc !! .. py:method:: SetFit(sel: Ansys.ACT.Interfaces.Common.ISelectionInfo) -> System.Void :no-index: Fits the view to the specified selection. If null is supplied, fits the view to the entire model. .. !! processed by numpydoc !! .. py:method:: GetAsString(appType: Ansys.Mechanical.DataModel.Enums.ApplicationType) -> System.String :no-index: Retrieves the view commands as related to the application type as a string. .. !! processed by numpydoc !! .. py:method:: Zoom(zoomVal: System.Double) -> System.Void :no-index: Zooms in or out on the model. .. !! processed by numpydoc !! .. py:method:: Pan(x: Ansys.Core.Units.Quantity, y: Ansys.Core.Units.Quantity) -> System.Void :no-index: Shifts the camera position horizontally or vertically based on x and y quantities. .. !! processed by numpydoc !! .. vale on