Method and system for applying 3D switch panel in instant messaging tool
First Claim
Patent Images
1. A method for applying 3D switch panel in an instant messaging tool, comprising following steps:
- creating a window and creating a plane model according to the window;
receiving a command for triggering rotation; and
rotating the plane model to drive an interface window of the instant messaging tool contained in the created window to rotate;
wherein the step of creating a plane model comprises creating a Viewport3D which has the same size as the created window and covers the created window, setting transparency of the Viewport3D as 0, and creating the plane model in the Viewport3D;
wherein the step of creating the plane model in the Viewport3D comprises;
creating in a three-dimensional coordinate system of the Viewport3D a rectangle, of which a center coincides with an origin of the coordinate system;
calculating a scaling which enables a height of an image of the rectangle in the Viewport3D is the same as a height of the interface window of the instant messaging tool;
scaling the rectangle according to the scaling to form the plane model;
taking a screenshot of an interface presented to users by the instant messaging tool, and pasting the screenshot on a front of the plane model; and
taking a screenshot of an interface needed to be presented after the interface window of the instant messaging tool is rotated, and pasting the screenshot of the interface needed to be presented after the interface window of the instant messaging tool is rotated on a back of the plane model.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and system for applying 3D switch panel in instant messaging tool. The method includes creating a window, and creating a plane model according to the window; receiving a command for triggering rotation; and rotating the plane model to drive the interface window of the instant messaging tool to rotate. The adoption of the method and the system provided can use the 3D to switch panels of the instant messaging tool, which can satisfy users'"'"' individual demands and improves the usability of the instant messaging tool.
7 Citations
9 Claims
-
1. A method for applying 3D switch panel in an instant messaging tool, comprising following steps:
-
creating a window and creating a plane model according to the window; receiving a command for triggering rotation; and rotating the plane model to drive an interface window of the instant messaging tool contained in the created window to rotate; wherein the step of creating a plane model comprises creating a Viewport3D which has the same size as the created window and covers the created window, setting transparency of the Viewport3D as 0, and creating the plane model in the Viewport3D; wherein the step of creating the plane model in the Viewport3D comprises; creating in a three-dimensional coordinate system of the Viewport3D a rectangle, of which a center coincides with an origin of the coordinate system; calculating a scaling which enables a height of an image of the rectangle in the Viewport3D is the same as a height of the interface window of the instant messaging tool; scaling the rectangle according to the scaling to form the plane model; taking a screenshot of an interface presented to users by the instant messaging tool, and pasting the screenshot on a front of the plane model; and taking a screenshot of an interface needed to be presented after the interface window of the instant messaging tool is rotated, and pasting the screenshot of the interface needed to be presented after the interface window of the instant messaging tool is rotated on a back of the plane model. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A computer-implemented system for applying 3D switch panel in an instant messaging tool, wherein the computer-implemented system comprises one or more processors coupled to a memory storing instructions, for executing by the one or more processors, configured to
create a window; -
create a plane model according to the window; receive a command for triggering rotation; and when receiving the command for triggering rotation, rotate the plane model to drive an interface window of the instant messaging tool contained in the created window; wherein the one or more processors are further configured to create a Viewport3D which has the same size as the created window and cover the created window, create in a three-dimensional coordinate system of the Viewport3D a rectangle of which a center coincides with an origin of the coordinate system, and create the plane model according to heights of the created rectangle and the interface window of the instant messaging tool; wherein the one or more processors are further configured to set transparency of the Viewport3D as 0 after the Viewport3D is created by the model creation module. - View Dependent Claims (7, 8, 9)
-
Specification