Module Import alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore ListLoad Str Str Expr Call AttributeLoad NameLoad attr Str NameLoad ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Assign NameStore BinOpAdd Call NameLoad NameLoad ListLoad Call NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpAdd Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Str decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults kwarg body Expr Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign SubscriptStore SubscriptLoad NameLoad Index Call NameLoad NameLoad Index Str AttributeLoad AttributeLoad NameLoad attr attr Assign SubscriptStore SubscriptLoad NameLoad Index Call NameLoad NameLoad Index Str AttributeLoad NameLoad attr Assign SubscriptStore SubscriptLoad NameLoad Index Call NameLoad NameLoad Index Str AttributeLoad NameLoad attr Assign SubscriptStore SubscriptLoad NameLoad Index Call NameLoad NameLoad Index Str AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Assign NameStore BinOpAdd Call NameLoad NameLoad ListLoad Call NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpAdd BinOpAdd AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults kwarg body Expr Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign SubscriptStore SubscriptLoad NameLoad Index Call NameLoad NameLoad Index Str AttributeLoad AttributeLoad NameLoad attr attr Assign SubscriptStore SubscriptLoad NameLoad Index Call NameLoad NameLoad Index Str AttributeLoad NameLoad attr Assign SubscriptStore SubscriptLoad NameLoad Index Call NameLoad NameLoad Index Str AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list
N/A N/A warnings utils PyDyUserWarning shapes Shape visualization_frame VisualizationFrame N/A __all__ N/A PerspectiveCamera OrthoGraphicCamera N/A N/A N/A warnings simplefilter once PyDyUserWarning PerspectiveCamera N/A VisualizationFrame N/A N/A Creates a perspective camera for use in a scene. The camera is inherited
    from ``VisualizationFrame``, and thus behaves similarly. It can be attached
    to dynamics objects, hence we can get a moving camera. All the
    transformation matrix generation methods are applicable to a
    ``PerspectiveCamera``.

     __init__ N/A N/A self N/A args kwargs N/A N/A Initialises a PerspectiveCamera object. To initialize a
        PerspectiveCamera, one needs to supply a name (optional), a reference
        frame, a point, field of view (fov) (optional), near plane distance
        (optional) and far plane distance (optional).

        Like ``VisualizationFrame``, it can also be initialized using one of
        these three argument sequences:

        Rigidbody
        ``PerspectiveCamera(rigid_body)``
        ReferenceFrame, Point
        ``PerspectiveCamera(ref_frame, point)``
        ReferenceFrame, Particle
        ``PerspectiveCamera(ref_frame, particle)``

        Note that you can also supply and optional name as the first positional
        argument, e.g.::

           ``PerspectiveCamera('camera_name', rigid_body)``

        Additional optional keyword arguments are below:

        Parameters
        ==========
        fov : float, default=45.0
            Field Of View, It determines the angle between the top and bottom
            of the viewable area (in degrees).
        near : float
            The distance of near plane of the PerspectiveCamera. All objects
            closer to this distance are not displayed.
        far : int or float
            The distance of far plane of the PerspectiveCamera. All objects
            farther than this distance are not displayed.

        Examples
        ========

        >>> from sympy import symbols
        >>> from sympy.physics.mechanics import (ReferenceFrame, Point,
        ...                                      RigidBody, Particle,
        ...                                      inertia)
        >>> from pydy.viz import PerspectiveCamera
        >>> I = ReferenceFrame('I')
        >>> O = Point('O')

        >>> # initializing with reference frame, point
        >>> camera1 = PerspectiveCamera('frame1', I, O)

        >>> # Initializing with a RigidBody
        >>> Ixx, Iyy, Izz, mass = symbols('Ixx Iyy Izz mass')
        >>> i = inertia(I, Ixx, Iyy, Izz)
        >>> rbody = RigidBody('rbody', O, I, mass, (inertia, O))
        >>> camera2 = PerspectiveCamera('frame2', rbody)

        >>> # initializing with Particle, reference_frame
        >>> Pa = Particle('Pa', O, mass)
        >>> camera3 = PerspectiveCamera('frame3', I, Pa)

         N/A args N/A N/A list args N/A N/A Shape N/A N/A N/A N/A super PerspectiveCamera self __init__ args N/A N/A self fov 45.0 N/A N/A self near 1.0 N/A N/A self far 1000.0 N/A N/A k v N/A N/A kwargs items N/A N/A N/A setattr self k v N/A __str__ N/A N/A self N/A N/A N/A N/A PerspectiveCamera:  N/A self name N/A __repr__ N/A N/A self N/A N/A N/A PerspectiveCamera N/A fov N/A N/A self N/A N/A N/A N/A self _fov N/A property fov N/A N/A self new_fov N/A N/A N/A N/A self _fov N/A float new_fov N/A N/A fov setter near N/A N/A self N/A N/A N/A N/A self _near N/A property near N/A N/A self new_near N/A N/A N/A N/A self _near N/A float new_near N/A N/A near setter far N/A N/A self N/A N/A N/A N/A self _far N/A property far N/A N/A self new_far N/A N/A N/A N/A self _far N/A float new_far N/A N/A far setter generate_scene_dict N/A N/A self N/A kwargs N/A N/A This method generates information for a static visualization in the
        initial conditions, in the form of dictionary. This contains camera
        parameters followed by an init_orientation key.

        Before calling this method, all the transformation matrix generation
        methods should be called, or it will give an error.

        Returns
        =======
        A dict with following Keys:

        1. name: name for the camera
        2. fov: Field of View value of the camera
        3. near: near value of the camera
        4. far: far value of the camera
        5. init_orientation: Initial orientation of the camera

         N/A scene_dict N/A N/A N/A super PerspectiveCamera self generate_scene_dict kwargs N/A N/A N/A scene_dict N/A N/A id self N/A type N/A N/A self __class__ __name__ N/A N/A N/A scene_dict N/A N/A id self N/A fov N/A self fov N/A N/A N/A scene_dict N/A N/A id self N/A near N/A self near N/A N/A N/A scene_dict N/A N/A id self N/A far N/A self far N/A scene_dict N/A N/A OrthoGraphicCamera N/A VisualizationFrame N/A N/A Creates a orthographic camera for use in a scene. The camera is
    inherited from ``VisualizationFrame``, and thus behaves similarly. It can
    be attached to dynamics objects, hence we can get a moving camera. All the
    transformation matrix generation methods are applicable to a
    ``OrthoGraphicCameraCamera``.


     __init__ N/A N/A self N/A args kwargs N/A N/A Initialises a OrthoGraphicCameraCamera object. To initialize a
        OrthoGraphicCameraCamera, one needs to supply a name (optional), a
        reference frame, a point, field of view (fov) (optional), near plane
        distance (optional) and far plane distance (optional).

        Like ``VisualizationFrame``, it can also be initialized using one of
        these three argument sequences:

        Rigidbody
           ``OrthoGraphicCameraCamera(rigid_body)``
        ReferenceFrame, Point
           ``OrthoGraphicCameraCamera(ref_frame, point)``
        ReferenceFrame, Particle
           ``OrthoGraphicCameraCamera(ref_frame, particle)``

        Note that you can also supply and optional name as the first positional
        argument, e.g.::

            OrthoGraphicCameraCamera('camera_name', rigid_body)

        Additional optional keyword arguments are below:

        Parameters
        ==========
        near : float
            The distance of near plane of the OrthoGraphicCameraCamera. All
            objects closer to this distance are not displayed.
        far : int or float
            The distance of far plane of the OrthoGraphicCameraCamera. All
            objects farther than this distance are not displayed.

        Examples
        ========

        >>> from sympy import symbols
        >>> from sympy.physics.mechanics import (ReferenceFrame, Point,
        ...                                      RigidBody, Particle,
        ...                                      inertia)
        >>> from pydy.viz import OrthoGraphicCameraCamera
        >>> I = ReferenceFrame('I')
        >>> O = Point('O')

        >>> # initializing with reference frame, point
        >>> camera1 = OrthoGraphicCameraCamera('frame1', I, O)

        >>> # Initializing with a RigidBody
        >>> Ixx, Iyy, Izz, mass = symbols('Ixx Iyy Izz mass')
        >>> i = inertia(I, Ixx, Iyy, Izz)
        >>> rbody = RigidBody('rbody', O, I, mass, (inertia, O))
        >>> camera2 = OrthoGraphicCameraCamera('frame2', rbody)

        >>> # initializing with Particle, reference_frame
        >>> Pa = Particle('Pa', O, mass)
        >>> camera3 = OrthoGraphicCameraCamera('frame3', I, Pa)

         N/A args N/A N/A list args N/A N/A Shape N/A N/A N/A N/A super OrthoGraphicCamera self __init__ args N/A N/A self near 1.0 N/A N/A self far 1000.0 N/A N/A k v N/A N/A kwargs items N/A N/A N/A setattr self k v N/A __str__ N/A N/A self N/A N/A N/A N/A N/A N/A N/A self __class__ __name__ :  N/A self name N/A __repr__ N/A N/A self N/A N/A N/A N/A N/A self __class__ __name__ N/A near N/A N/A self N/A N/A N/A N/A self _near N/A property near N/A N/A self new_near N/A N/A N/A N/A self _near N/A float new_near N/A N/A near setter far N/A N/A self N/A N/A N/A N/A self _far N/A property far N/A N/A self new_far N/A N/A N/A N/A self _far N/A float new_far N/A N/A far setter generate_scene_dict N/A N/A self N/A kwargs N/A N/A 
        This method generates information for a static visualization in the
        initial conditions, in the form of dictionary. This contains camera
        parameters followed by an init_orientation Key.

        Returns
        =======
        scene_dict : dictionary
           A dict with following Keys:

              1. name: name for the camera
              2. near: near value of the camera
              3. far: far value of the camera
              4. init_orientation: Initial orientation of the camera

         N/A scene_dict N/A N/A N/A super OrthoGraphicCamera self generate_scene_dict kwargs N/A N/A N/A scene_dict N/A N/A id self N/A type N/A N/A self __class__ __name__ N/A N/A N/A scene_dict N/A N/A id self N/A near N/A self near N/A N/A N/A scene_dict N/A N/A id self N/A far N/A self far N/A scene_dict N/A N/A