@staticmethod<EOL><INDENT>def mesh_stable_pose(mesh, T_obj_table,<EOL>T_table_world=RigidTransform(from_frame='<STR_LIT>', to_frame='<STR_LIT>'),<EOL>style='<STR_LIT>', smooth=False, color=(<NUM_LIT:0.5>,<NUM_LIT:0.5>,<NUM_LIT:0.5>),<EOL>dim=<NUM_LIT>, plot_table=True, plot_com=False, name=None):<DEDENT>
T_obj_table = T_obj_table.as_frames('<STR_LIT>', '<STR_LIT>')<EOL>T_obj_world = T_table_world * T_obj_table<EOL>Visualizer3D.mesh(mesh, T_obj_world, style=style, smooth=smooth, color=color, name=name)<EOL>if plot_table:<EOL><INDENT>Visualizer3D.table(T_table_world, dim=dim)<EOL><DEDENT>if plot_com:<EOL><INDENT>Visualizer3D.points(Point(np.array(mesh.center_mass), '<STR_LIT>'), T_obj_world, scale=<NUM_LIT>)<EOL><DEDENT>return T_obj_world<EOL>
Visualize a mesh in a stable pose.

        Parameters
        ----------
        mesh : trimesh.Trimesh
            The mesh to visualize.
        T_obj_table : autolab_core.RigidTransform
            Pose of object relative to table.
        T_table_world : autolab_core.RigidTransform
            Pose of table relative to world.
        style : str
            Triangular mesh style, either 'surface' or 'wireframe'.
        smooth : bool
            If true, the mesh is smoothed before rendering.
        color : 3-tuple
            Color tuple.
        dim : float
            The side-length for the table.
        plot_table : bool
            If true, a table is visualized as well.
        plot_com : bool
            If true, a ball is visualized at the object's center of mass.
        name : str
            A name for the object to be added.

        Returns
        -------
        autolab_core.RigidTransform
            The pose of the mesh in world frame.