CN-121996122-A - Interaction method and system
Abstract
The invention relates to the technical field of Computer Aided Design (CAD), in particular to an interaction method and an interaction system, wherein the method comprises the steps of displaying a three-dimensional model in a three-dimensional scene and displaying an indicator for indicating the three-dimensional model, wherein the indicator comprises a plurality of orthogonal faces, a plurality of edge faces and a plurality of vertex faces which are connected, the orthogonal faces and/or the edge faces are set to limit a rotation mode, preset axes are arranged on the orthogonal faces and/or the edge faces in the limit rotation mode, when a user is identified to keep the selected orthogonal faces and/or edge faces and trigger a dragging signal, the corresponding preset axes are selected to serve as rotation axes, rotation parameters are determined according to the dragging signal, the observation position of the user is enabled to rotate around the rotation axes according to the rotation parameters, and display data of the three-dimensional model are switched according to the change of the observation position. The invention can greatly improve the observation efficiency of a user when observing a large three-dimensional model such as a house and the like.
Inventors
- LIU JINGYI
- LIN BO
Assignees
- 上海浩科数智软件技术有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20260126
- Priority Date
- 20260115
Claims (10)
- 1. An interaction method, comprising: S201, displaying a three-dimensional model in a three-dimensional scene, and displaying an indicator for indicating the three-dimensional model, wherein the indicator comprises a plurality of orthogonal surfaces, a plurality of edge surfaces and a plurality of vertex surfaces which are connected, and the orthogonal surfaces, the edge surfaces and the vertex surfaces respectively correspond to one observation view angle of the three-dimensional model; S202, when the fact that the user keeps selecting the orthogonal surface and/or the edge surface and triggers a dragging signal is identified, selecting the corresponding preset shaft as a rotating shaft, and determining a rotating parameter according to the dragging signal, wherein the rotating parameter comprises at least one of a rotating direction, a rotating speed and a rotating angle; and S203, rotating the observation direction of the user around the rotation axis according to the rotation parameter, and switching the display data of the three-dimensional model according to the change of the observation direction.
- 2. The interaction method of claim 1, wherein the vertex surface is set to a free-wheeling mode, and correspondingly, prior to S203, the method further comprises: when the fact that the user keeps selecting the vertex surface and a dragging signal is triggered is recognized, determining a rotating path according to the dragging signal, and determining a rotating shaft according to the rotating path; And determining a rotation parameter according to the dragging signal, wherein the rotation parameter comprises at least one of a rotation direction, a rotation speed and a rotation angle.
- 3. The interaction method of claim 1, further comprising: In response to a first switching signal input by a user, the faces of the indicators are each set to a free-turning mode.
- 4. The interaction method of claim 1, wherein the predetermined axis of the orthogonal face is perpendicular to the orthogonal face and passes through a center region of the orthogonal face.
- 5. The interaction method of claim 1, wherein the predetermined axis of the edge face is parallel to the edge face.
- 6. The method of interaction of claim 1, wherein the step of representing the selected face comprises: when the operating point of the user is positioned in the area of one of the faces, a trigger signal is sent out through the trigger, and the user is considered to select the face.
- 7. The method of interaction of claim 6, further comprising the step of: when the trigger signal is stopped, the user is indicated to stop selecting the face.
- 8. The interaction method of claim 1, wherein a rotation parameter is determined from the drag signal with a fixed amplitude, comprising the steps of: Calculating a drag angle or drag distance operated by a user according to the drag signal; and when the dragging angle or the dragging distance belongs to a set dragging angle interval or a dragging distance interval, correspondingly generating at least one standard rotation angle as a rotation parameter, wherein the standard rotation angle has a set rotation amplitude.
- 9. The interaction method of claim 1 wherein the indicator comprises at least 26 faces and/or wherein the indicator comprises at least 6 orthogonal faces, 12 edge faces, 8 vertex faces.
- 10. An interactive system, comprising: The display module is used for displaying a three-dimensional model in a three-dimensional scene and displaying an indicator for indicating the three-dimensional model, and the indicator comprises a plurality of orthogonal surfaces, a plurality of edge surfaces and a plurality of vertex surfaces which are connected, wherein the orthogonal surfaces, the edge surfaces and the vertex surfaces correspond to one observation view angle of the three-dimensional model; The identification module is used for selecting the corresponding preset shaft as a rotating shaft when the fact that the user keeps selecting the orthogonal surface and/or the edge surface and triggering a dragging signal is identified, and determining a rotating parameter according to the dragging signal, wherein the rotating parameter comprises at least one of a rotating direction, a rotating speed and a rotating angle; And the switching module is used for enabling the observation direction of the user to rotate around the rotation axis according to the rotation parameter and switching the display data of the three-dimensional model according to the change of the observation direction.
Description
Interaction method and system Technical Field The invention relates to the field of Computer aided design (Computer AIDED DESIGN, CAD), in particular to an interaction method and an interaction system. Background Many computer systems process graphical data to display a model of an object on a screen. For example, a computer aided design ("CAD") system may display a graphical model of a physical object to be designed. Typically, the user needs to change the view of the model displayed on the screen. For example, in a CAD environment, a user may wish to be able to view a model from different angles or different directions in order to better view the shape, size, and configuration of the model. Thus, existing CAD systems may be configured with navigation tools. 1. By clicking on the various faces, corners or edges of the navigation tool, one-touch switching to the corresponding standard view (e.g., front view, top view, etc.), for example, U.S. patent application Ser. No. 13/910,808 discloses a configurable view box controller (Configurable viewcube controller) that views the scene/model from front, back, left, right, top left, top right, etc. viewing angles of the camera by providing a cube to view the existing scene or model in the viewport. For another example, the invention patent application number US11/729,211 discloses a Three-dimensional direction indicator and controller (Three-dimensional orientation indicator and controller) that can select the corresponding view direction by clicking on different areas on the cube. However, when the three-dimensional model is complicated, the requirements of the abstract imagination of the user are gradually increased by the switching method. 2. Three-dimensional navigation through auxiliary markers is disclosed, for example, in U.S. patent application Ser. No. 10/627,974, which discloses a three-dimensional scene direction indicating system (3D scene orientation indicator system with scene orientation change capability) with scene direction changing capability that can change scene direction by selecting a conical handle as an auxiliary marker. However, such auxiliary markers (e.g., tapered handles) have a relatively weak visual association with the three-dimensional model in three-dimensional space, and thus the user has a greater difficulty in making a direction selection (because of the greater difficulty in space imagination) when faced with the auxiliary three-dimensional model. 3. For example, chinese patent application CN103124986A discloses a 3D model view navigation device, which uses a cube coated with a 3D model as a view navigation device and uses the faces, edges and vertexes of the cube as control objects. See the invention patent of U.S. patent application Ser. No. 16/014,922, which discloses a graphical user interface tool (GRAPHICAL USER INTERFACE TOOL FOR ORIENTING COMPUTER-AIDED DESIGN model) for orienting a computer-aided design model. The graphical user interface tool has two operation modes, namely, a mode of controlling a coordinate system (such as a display X, Y, Z shaft) to switch views for a user, and a mode of providing a transparent container to encapsulate a reduced three-dimensional model to further assist the user in selecting a view direction. Similarly, the applicant believes that, with the above indication method, the user is faced with a three-dimensional model of a complex structure and an irregular form (such as a large building model), and the difficulty in performing space perception or view direction selection is very high. Therefore, there is a need for a view navigation method that is easy to operate and can be adapted to complex three-dimensional scenes. Disclosure of Invention The invention aims to provide an interaction method which partially solves or alleviates the defects in the prior art and can optimize user experience. In order to solve the technical problems, the invention adopts the following technical scheme: in a first aspect of the present invention, there is provided an interaction method, including: S201, displaying a three-dimensional model in a three-dimensional scene, and displaying an indicator for indicating the three-dimensional model, wherein the indicator comprises a plurality of orthogonal surfaces, a plurality of edge surfaces and a plurality of vertex surfaces which are connected, and the orthogonal surfaces, the edge surfaces and the vertex surfaces respectively correspond to one observation view angle of the three-dimensional model; S202, when the fact that the user keeps selecting the orthogonal surface and/or the edge surface and triggers a dragging signal is identified, selecting the corresponding preset shaft as a rotating shaft, and determining a rotating parameter according to the dragging signal, wherein the rotating parameter comprises at least one of a rotating direction, a rotating speed and a rotating angle; and S203, rotating the observation direction of the user around the rotatio