[go: up one dir, main page]

CN115131463A - Method, device, equipment and storage medium for drawing primitive - Google Patents

Method, device, equipment and storage medium for drawing primitive Download PDF

Info

Publication number
CN115131463A
CN115131463A CN202210855014.6A CN202210855014A CN115131463A CN 115131463 A CN115131463 A CN 115131463A CN 202210855014 A CN202210855014 A CN 202210855014A CN 115131463 A CN115131463 A CN 115131463A
Authority
CN
China
Prior art keywords
primitive
sub
primitives
size
reference points
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210855014.6A
Other languages
Chinese (zh)
Other versions
CN115131463B (en
Inventor
李闪磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Youzhuju Network Technology Co Ltd
Original Assignee
Beijing Youzhuju Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Youzhuju Network Technology Co Ltd filed Critical Beijing Youzhuju Network Technology Co Ltd
Priority to CN202210855014.6A priority Critical patent/CN115131463B/en
Publication of CN115131463A publication Critical patent/CN115131463A/en
Application granted granted Critical
Publication of CN115131463B publication Critical patent/CN115131463B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/12Geometric CAD characterised by design entry means specially adapted for CAD, e.g. graphical user interfaces [GUI] specially adapted for CAD
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/13Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2111/00Details relating to CAD techniques
    • G06F2111/20Configuration CAD, e.g. designing by assembling or positioning modules selected from libraries of predesigned modules

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Geometry (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Architecture (AREA)
  • Structural Engineering (AREA)
  • Civil Engineering (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

根据本公开的实施例,提供了绘制图元的方法、装置、设备和存储介质。在此描述的方法包括:响应于检测到改变第一图元在目标空间的布局图中的第一尺寸的输入,确定改变后的第二尺寸,第一图元表示目标空间中的目标元素,并且第一图元包括第一数目的子图元;基于第二尺寸,确定子图元的第二数目;基于针对第一数目的子图元的第一组参考点和第二数目,确定针对第二数目的子图元中的至少一部分的第二组参考点;以及基于第二组参考点,在布局图中呈现表示目标元素的第二图元以替换第一图元,第二图元包括第二数目的子图元。这样,可以灵活调整空间布局图中图元的尺寸、角度和形状,提高了空间布局图的制作效率和呈现效果。

Figure 202210855014

According to embodiments of the present disclosure, methods, apparatuses, devices, and storage media for drawing primitives are provided. The methods described herein include determining a changed second size in response to detecting an input that changes a first size of a first primitive representing a target element in the target space in a layout map of the target space, And the first primitive includes a first number of sub primitives; based on the second size, a second number of sub primitives is determined; based on the first set of reference points and the second number for the first number of sub primitives, it is determined a second set of reference points for at least a portion of the second number of sub-primitives; and based on the second set of reference points, presenting a second primitive representing the target element in the layout to replace the first primitive, the second primitive A second number of sub-primitives are included. In this way, the size, angle and shape of the primitives in the space layout diagram can be flexibly adjusted, which improves the production efficiency and presentation effect of the space layout diagram.

Figure 202210855014

Description

Method, device, equipment and storage medium for drawing primitive
Technical Field
Example embodiments of the present disclosure relate generally to the field of computers and, more particularly, to a method, apparatus, device, and computer-readable storage medium for drawing primitives.
Background
In a scenario of drawing a planar layout, in order to truly reflect the spatial structure and area, the position orientation, the use function, and other information of each subspace, it is generally necessary to represent various elements in the space by using corresponding primitives according to the measurement data of the space. Currently, floor plans can be produced by means of computers. However, when drawing some elements in the planar layout, the primitives are still adjusted by directly stretching the picture of the elements. This will inevitably cause errors between the dimensions and proportions in the floor plan and the measurement data.
Disclosure of Invention
In a first aspect of the disclosure, a method of drawing a primitive is provided. The method comprises the following steps: in response to detecting an input that changes a first size of a first primitive in a layout diagram of a target space, determining a changed second size, the first primitive representing a target element in the target space and the first primitive including a first number of sub-primitives; determining a second number of sub-primitives based on a second size; determining a second set of reference points for at least a portion of the second number of sub-primitives based on the first set of reference points and the second number for the first number of sub-primitives; and rendering, based on the second set of reference points, a second primitive representing the target element in the layout diagram to replace the first primitive, the second primitive including a second number of sub-primitives.
In a second aspect of the disclosure, an apparatus for drawing primitives is provided. The device includes: a size determination module configured to determine a changed second size in response to detecting an input that changes a first size of a first primitive in a layout diagram of a target space, the first primitive representing a target element in the target space and the first primitive including a first number of sub-primitives; a sub-primitive determination module configured to determine a second number of sub-primitives based on a second size; a reference point determination module configured to determine a second set of reference points for at least a portion of a second number of sub-primitives based on the first set of reference points and the second number for the first number of sub-primitives; and a rendering module configured to render a second primitive representing the target element in the layout map to replace the first primitive based on the second set of reference points, the second primitive including a second number of sub-primitives.
In a third aspect of the disclosure, an electronic device is provided. The electronic device comprises at least one processing unit; and at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit. The instructions, when executed by the at least one processing unit, cause the electronic device to perform the method of the first aspect.
In a fourth aspect of the disclosure, a computer-readable storage medium is provided. The computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements the method of the first aspect.
It should be understood that the statements herein set forth in this summary are not intended to limit the essential or critical features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. In the drawings, like or similar reference characters designate like or similar elements, and wherein:
FIG. 1 illustrates a schematic diagram of an example environment in which embodiments of the present disclosure can be implemented;
FIG. 2 illustrates an interaction diagram of a process for generating a three-dimensional model, according to some embodiments of the present disclosure;
3A-3D illustrate schematic diagrams of user interfaces rendering example primitives, according to some embodiments of the present disclosure;
4A-4D illustrate schematic diagrams of a user interface rendering another example primitive, in accordance with some embodiments of the present disclosure;
FIG. 5 illustrates a block diagram of an apparatus for drawing primitives, in accordance with some embodiments of the present disclosure; and
FIG. 6 illustrates a block diagram of a device capable of implementing various embodiments of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are illustrated in the accompanying drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
In describing embodiments of the present disclosure, the terms "include" and its derivatives should be interpreted as being inclusive, i.e., "including but not limited to. The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions are also possible below.
It will be appreciated that the data involved in the subject technology, including but not limited to the data itself, the acquisition or use of the data, should comply with the requirements of the corresponding laws and regulations and related regulations.
In the description of the embodiments of the present disclosure, the terms "first", "second", and the like are used merely for distinguishing between different elements, objects, targets, units, and do not imply an order or difference in time, space, priority of the elements, objects, targets, units.
It is understood that before the technical solutions disclosed in the embodiments of the present disclosure are used, the user should be informed of the type, the use range, the use scene, etc. of the personal information related to the present disclosure and obtain the authorization of the user through an appropriate manner according to the relevant laws and regulations.
For example, in response to receiving an active request from a user, a prompt message is sent to the user to explicitly prompt the user that the requested operation to be performed would require the acquisition and use of personal information to the user. Thus, the user can autonomously select whether to provide personal information to software or hardware such as an electronic device, an application program, a server, or a storage medium that performs the operations of the disclosed technical solution, according to the prompt information.
As an optional but non-limiting implementation manner, in response to receiving an active request of the user, the prompt information is sent to the user, for example, a pop-up window manner may be used, and the prompt information may be presented in a text manner in the pop-up window. In addition, a selection control for providing personal information to the electronic device by the user selecting "agree" or "disagree" can be carried in the pop-up window.
It is understood that the above notification and user authorization process is only illustrative and is not intended to limit the implementation of the present disclosure, and other ways of satisfying the relevant laws and regulations may be applied to the implementation of the present disclosure.
An exemplary application scenario for floor plan is a house floor plan, where elements may include walls, doors, windows, stairs, etc. The house layout is used for reflecting house area, house layout, wall distribution, room orientation, functional partition, house lighting and other information. In general, when a house layout is drawn, it is necessary to refer to images taken at a house site and measured data. However, when some elements in the plane layout are drawn, the corresponding primitives cannot be generated by the computer, and the primitives are adjusted by scaling the picture equally.
For example, when drawing a straight ladder, the ladder size can only be adjusted by scaling the picture equally. This approach does not allow the step number and width to be dynamically adjusted to the premises. Further, when a picture is stretched, picture distortion may be caused. In addition to house-type drawings, other scenes for drawing spatial layout drawings face similar problems. Therefore, it is desirable to improve the manufacturing process of the spatial layout so as to flexibly adjust various primitives in the spatial layout.
Embodiments of the present disclosure propose schemes for drawing primitives. The method can parameterize the attribute of the space element, so that the size and the shape of the graphic element in the space layout can be accurately adjusted according to the parameter. In addition, the scheme also provides a user interface for drawing the primitives and supports adjusting the primitives in a flexible interactive manner. In this way, the manufacturing efficiency of the spatial layout diagram can be improved, the accuracy of the spatial layout diagram is guaranteed, and the presentation effect is enhanced.
Embodiments of the present disclosure will be described hereinafter in conjunction with the scenario of a house layout. However, it should be understood that the house floor plan is only one of many application scenarios for embodiments of the present disclosure, and that embodiments of the present disclosure are equally applicable to other scenarios, such as engineering, city planning, traffic management, and so forth. Accordingly, the scope of embodiments of the present disclosure is not so limited.
Furthermore, embodiments will be described below with reference to several example states of a User Interface (UI). It should be understood that these UIs and interactions are merely illustrative and that a variety of interface designs and interaction styles may exist in practice. Additionally, the controls included in these UIs may be implemented using any currently known or later developed UI elements and techniques. Further, the type, form, manner of operation, layout, arrangement in the UI, etc. of these controls are illustrative and not intended to limit the scope of the present disclosure in any way.
FIG. 1 illustrates a schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented. In the example environment 100, the terminal device 110 may be used to make a floor plan for a target space. In some embodiments, the target space may be a house, a building, or the like. Accordingly, the floor plan may be a house floor plan, a building floor plan, or the like. Of course, in other embodiments, the target space may be any other suitable physical or virtual space. Accordingly, embodiments of the disclosure are not limited in this regard.
In some embodiments, live-action pictures, modeling images used to make floor plans may be taken or generated by a user through terminal device 110. In other embodiments, the live action pictures or modeling images may come from any other data source. Further, in some embodiments, measurement data for the target space may be uploaded by the user 102 or may be obtained from any other data source.
In some embodiments, the terminal device 110 may be installed with an application 120 for making floor plans. In some embodiments, the application 120 may present a user interface for user-making floor plans to the user 102, as will be described in detail below in conjunction with fig. 2, 3A-3D, and 4A-4D.
The terminal device 110 may be any type of mobile terminal, fixed terminal, or portable terminal including a mobile handset, desktop computer, laptop computer, notebook computer, netbook computer, tablet computer, media computer, multimedia tablet, Personal Communication System (PCS) device, personal navigation device, Personal Digital Assistant (PDA), audio/video player, digital camera/camcorder, positioning device, television receiver, radio broadcast receiver, electronic book device, gaming device, or any combination of the preceding, including accessories and peripherals of these devices, or any combination thereof. In some embodiments, terminal devices 110 and 120 can also support any type of interface to the user (such as "wearable" circuitry, etc.).
The terminal device 110 may communicate with a remote device (not shown) to enable storage, updating and access to floor plan data for the target space. For example, the remote device may be used to extend the storage and processing capabilities of terminal device 110. In some embodiments, the remote device may be various types of computing systems/servers capable of providing computing power, including but not limited to mainframes, edge computing nodes, electronic devices in a cloud environment, and so forth.
Herein, the picture, the measurement data, and the floor plan of the target space may have any data format. Embodiments of the present disclosure are not limited in this respect. It should also be understood that the description of the structure and functionality of the environment 100 is for exemplary purposes only and is not meant to imply any limitation as to the scope of the disclosure.
Reference will now be made to fig. 2, which illustrates a flow diagram of a process 200 for drawing primitives, in accordance with some embodiments of the present disclosure. Process 200 may be implemented at terminal device 110. Of course, process 200 may be implemented at any suitable device. For ease of discussion, the process 200 will be described with reference to the environment 100 of fig. 1.
In the example of fig. 2, the user 102 makes a floor plan for the target space through the terminal device 110. As previously described, the target space may be a real space or a virtual space, and has therein elements capable of reflecting attributes of the structural layout, area, position, orientation, area, usage function, etc. of the space, including but not limited to stairs, doors, windows, walls, etc. The elements may be represented in the floor plan by corresponding primitives, and the proportion of the primitives in the floor plan is substantially the same as the proportion of the elements in the target space.
In process 200, terminal device 110 adjusts for the primitives in the map. By way of example, user 102 may adjust the size, angle, shape, etc. of various graphical elements in the layout drawing through a user interface of application 120 presented in terminal device 110.
Fig. 3A-3D illustrate schematic diagrams of user interfaces for drawing primitives in which a straight ladder primitive is presented and has a first number of sub-primitives representing rectangular ladders of a straight ladder, according to some embodiments of the present disclosure. As shown in FIG. 3A, the user interface 300 includes an element control 310, and the user 102 can activate a child control of the element control 310 representing a corresponding element by a gesture, such as a click, a drag, or the like, to add a primitive to the layout. In the example of FIG. 3A, a first graphical element 320 is added to the layout diagram by activating a child control representing a vertical ladder.
The user interface 300 also includes controls 312 for manipulating the layout, and respective operations on the layout can be triggered by activating respective ones of the controls 312. It should be understood that the child controls in control 312 are merely exemplary. In practice, different child controls than those in the user interface 300 may be provided as desired, and this disclosure is not repeated in this regard.
The user interface 300 also includes an information area 330 and an operation area 340 for the target element. Information area 330 presents the properties and size parameters of the target element and includes type control 331 and size controls 333, 335, 337, and 338. The type of primitive currently being rendered may be altered by activating the type control 331. The size parameters of length 332, width 334, angle 336, etc. of the primitive may be adjusted accordingly by activating controls 333, 335, 337, and 338. In the example of fig. 3A, controls 333, 335, and 337 are illustrated as slider controls, and user 102 resizes the corresponding dimensional parameter by dragging the slider left or right. In addition, control 338 provides several child controls for a predetermined angle. The user 102 may set the first graphical element 320 to a corresponding predetermined angle by activating one of the child controls of the control 338. The operation region 340 includes controls 341 to 343 for performing operations of left-right mirroring, inside-outside mirroring, deleting elements, and the like with respect to the first primitive.
It should be understood that the types and numbers of properties, operations, and controls presented for different target elements may be different. Accordingly, the layout of the user interface 300 and the controls therein are merely illustrative and are not intended to limit the scope of the present disclosure in any way.
At block 210, terminal device 110 detects for an input that changes a first size of a first primitive in a layout diagram in a target space. In some embodiments, the input may be a touch gesture to a screen of terminal device 110, including, but not limited to, a drag gesture, a pinch gesture, and the like. Additionally or alternatively, in other embodiments, the input may be to input a size parameter for the primitive's length control 332, width control 334, angle control 336.
In response to detecting an input to change the first size of the first primitive 320 in the layout drawing in the target space, at block 220, the terminal device 110 determines a changed second size. The first primitive 320 represents a target element in a target space and the first primitive includes a first number of sub-primitives. In some embodiments, the target element is a straight staircase and the sub-primitives represent rectangular ladders of the straight staircase, the first size comprising at least one of: the length, width and height of the straight ladder or the rectangular ladder.
In the example of fig. 3A to 3D, the length of the sub-primitive is 300 mm. In user interface 301 shown in FIG. 3B, terminal device 110 detects a drag gesture by user 102 with respect to widget 335, thereby determining that the width of first graphical element 320 changed from a first size of "1000 mm" to a second size of "2000 mm". As shown in fig. 3B, terminal device 110 may, in turn, scale first primitive 320 to a second primitive 322 having a second size as the gesture is dragged.
In some embodiments, the input to change the first size only changes the size of sub-primitives in the first primitive and does not change the first number of sub-primitives. For example, in the example of FIG. 3B, the first primitive 320 and the second primitive 322 have the same number of sub-primitives. The second graphical element 322 represents a wider vertical ladder in the target space than the first graphical element 320.
Additionally or alternatively, in other embodiments, an input that changes the first size will cause a change in the first number of driver primitives. Depending on the size of the second size, it may happen that the last sub-element does not have the full size. In this case, the last sub-image element needs to be rendered to full size. In user interface 302 shown in FIG. 3C, terminal device 110 detects a drag gesture by user 102 with respect to control 333, thereby determining that the length of first graphical element 324 changes from the first size "1200 mm" to the second size "2600 mm". In this case, the altered second size corresponds to a larger sub-primitive than the first size, but the last sub-primitive 325 is only 200mm in length. In practice, such sub-primitives need to be drawn as full sub-primitives of length 300 mm.
At block 230, terminal device 110 determines a second number of sub-primitives based on a second size.
In some embodiments, in response to the second size corresponding to a non-integer number of sub-primitives, terminal device 110 may determine a remainder based on the second size and the size of the sub-primitives. Terminal device 110 may then determine a second number based on the second size and the remainder. In particular, assume that the width of the straight ladder (e.g., corresponding to the width of the first primitive) is represented by W, the height (e.g., corresponding to the length of the first primitive) is represented by H, and the height of each ladder (e.g., corresponding to the length of each sub-primitive) is m. Terminal device 110 may determine the remainder, represented by R, based on equation (1) below:
R=H%m (1)
then, the terminal device 110 may determine the number of complete sub-primitives corresponding to the vertical ladder height, which is represented by N, based on the following equation (2):
N=(H-R)/m (2)
as previously mentioned, the second number of sub-primitives is determined to be N +1, since the remainder, i.e. R ≠ 0, occurs, and the last staircase should be represented by the complete sub-primitive.
In the example of fig. 3C, m is 300mm, H is 2600mm, so R is 200, N is 8, and accordingly the second number is determined to be 9.
At block 240, terminal device 110 determines a second set of reference points for at least a portion of the second number of sub-primitives based on the first set of reference points and the second number for the first number of sub-primitives.
In some embodiments, the first and second sets of reference points each comprise a vertex of at least one sub-primitive. For example, in case the target element is a straight ladder, the vertices of the sub-elements may be the vertices of a rectangular ladder. As another example, where the target element is a circle ladder, the vertices of the sub-elements may be the vertices of a fan ladder.
At block 250, terminal device 110 renders a second primitive in the layout map to replace the first primitive based on the second set of reference points.
In some embodiments, in response to the first number being less than the second number, terminal device 110 may connect the second set of reference points to render the second primitive based on the first predetermined order. FIG. 3D illustrates a second primitive 326 rendered based on input to the control 333 in FIG. 3C. In contrast to sub-primitive 325 in FIG. 3C, in user interface 303, the last sub-primitive 327 of the second primitive 326 is rendered as a complete sub-primitive having a length of 300 mm. Additionally or alternatively, as an example implementation, since the first number is less than the second number, the second set of reference points may be vertices of a second number of sub-primitives that are more sub-primitives than the first number of sub-primitives. Accordingly, terminal device 110 may connect the second set of reference points based on the first predetermined order to cycle through drawing rectangular sub-primitives (e.g., drawing rectangles with a vector graphics renderer) on the basis of the first number of sub-primitives until a second number of rectangular sub-primitives is obtained.
Additionally or alternatively, in other embodiments, in response to the first number being greater than the second number, terminal device 110 may determine a difference from the first number and the second number as the third number. Terminal device 110 may then render the second primitive by removing a third number of sub-primitives from the first primitive.
In some embodiments, terminal device 110 may smoothly display the second graphical element with the input. Additionally or alternatively, in other embodiments, terminal device 110 may display the second primitive after the size change reaches a certain length.
In some embodiments, the target element is a gyrotron and the sub-elements represent fanshaped steps of the gyrotron, the first dimension comprising at least one of: the length, width, height and convolution angle of the convolution ladder or the fan-shaped ladder. Fig. 4A-4D illustrate schematic diagrams of user interfaces for drawing primitives in which a representation clothoid primitive is presented and the clothoid primitive has a first number of sub-primitives representing fantasy steps of the clothoid, in accordance with some embodiments of the present disclosure.
As shown in fig. 4A, user interface 400 includes element controls 410 similar to user interfaces 300, 301, 302, and 303, controls 412 for manipulating the layout, and controls 441 through 443 in operation area 440. Therefore, the description thereof is omitted.
User interface 400 also includes an information area 430 for the target element in which the properties, size, and distortion parameters of the target element are presented, and includes type controls 431, size controls 433 and 435, and distortion controls 437 and 439. The type of primitive currently being rendered may be altered by activating type control 431. The length 432, width 434, angular range 436, etc. parameters of the primitive may be adjusted accordingly by activating controls 433, 435, and 437. In the example of FIG. 4A, controls 433, 435, and 437 are shown as slider controls, and user 102 changes the size of the size parameter or the distortion parameter by dragging the slider left or right. In addition, control 439 provides several sub-controls for predetermined angles. The user 102 may set the first primitive 420 to a corresponding predetermined angle by activating one of the child controls of the control 439. Additionally or alternatively, user 102 may enter respective parameters in length control 432, width control 434, angle range control 436, and angle control 438 to adjust the rendered primitives.
It should be understood that the types and numbers of properties, operations, and controls presented for different target elements may be different. Accordingly, the layout of the user interface 400 and the controls therein are merely illustrative and are not intended to limit the scope of the present disclosure in any way.
In the user interface 401 shown in FIG. 4B, the user 102 drags the control 433 to change the length of the first graphical element 420. The terminal device 110 detects the input of the changed length, and determines that the changed length is "3200 mm". In the example of fig. 4A and 4B, since the length parameter of the first graphical element corresponds to the diameter of the clothoid, the width parameter of the first graphical element also varies proportionally with the length parameter. As shown in FIG. 4B, in the user interface 401, the first graphical element 420 is scaled to a larger diameter second graphical element 422 with the drag gesture. In this case, the input of varying length only varies the size of the sub-primitives representing the fan staircase, and not the number of sub-primitives.
In the user interface 402 shown in FIG. 4C, the user 102 drags the control 437 to change the angular extent of the first graphical element 420. In an embodiment of the present disclosure, the angular range represents a convolution magnitude of the convolution ladder. The terminal device 110 detects the input of the changed angle range, and determines that the changed angle range is "80%", which corresponds to 288 degrees. Thus, in the example of FIG. 4C, an input that changes the angular range will cause a change in the first number of sub-primitives representing the fan-shaped staircase. Depending on the size of the angular range, it may happen that the last sub-element does not have the full size. In this case, the last sub-image element needs to be rendered to full size.
In the example of FIG. 4C, the altered angular range corresponds to a greater number of sub-primitives than the original angular range. However, in the example of FIGS. 4A-4D, the angular extent of the sub-primitives is 22.5 degrees, in which case the angular extent of the last sub-primitive 424 is only 18 degrees. In practice, such sub-primitives need to be rendered as full sub-primitives of length 22.5 degrees.
In some embodiments, terminal device 110 may determine an integer number of sub-primitives, i.e., a second number of sub-primitives, corresponding to the changed angular range based on equations (1) and (2). Terminal device 110 may then determine a second set of reference points for at least a portion of the second number of sub-primitives based on the first set of reference points and the second number of the first number of sub-primitives. As an example, the first and second sets of reference points may be represented by coordinates of four corner points of the sector sub-primitives representing the respective sector staircase.
In some embodiments, terminal device 110 can scale first graphical element 420 to a second graphical element of a larger angular range as a drag gesture applied by user 102 at control 437. Additionally, as an example implementation, in user interface 403 shown in FIG. 4D, terminal device 110 may render last sub-primitive 424 as complete sub-primitive 426 upon detecting that user 102 released the drag gesture applied to control 437.
In some embodiments, in the example of fig. 4D, terminal device 110 may connect the second set of reference points based on a second predetermined order to cycle through the drawing of the fan-shaped sub-primitives on the basis of the first number of sub-primitives (e.g., drawing the fan-shaped based on the angular range of the fan-shaped sub-primitives drawing straight lines and arcs) until a second number of fan-shaped sub-primitives is reached.
In some embodiments, terminal device 110 may smoothly display the second graphical element with the input. Additionally or alternatively, in other embodiments, terminal device 110 may display the second graphical element after the size change reaches a certain angle.
According to some embodiments of the present disclosure, a scheme for drawing primitives is provided. The method can parameterize the attribute and the size of the space element, so that the size, the angle and the shape of the graphic elements in the space layout can be flexibly adjusted by changing the parameters. The solution also provides a user interface for drawing primitives and supports adjusting primitives in a visualized interactive manner. Through the scheme, the manufacturing process of the layout can be simplified, and the labor cost is saved. In addition, the scheme can also guarantee the accuracy of the spatial layout and enhance the presentation effect of the layout.
Fig. 5 illustrates a schematic block diagram of an apparatus 500 for drawing primitives, according to some embodiments of the present disclosure. Apparatus 500 may be embodied as or included in terminal device 110. The various modules/components in apparatus 500 may be implemented by hardware, software, firmware, or any combination thereof.
As shown, apparatus 500 includes a size determination module 510 configured to determine a second size after the change in response to detecting an input that changes a first size of a first primitive in a layout diagram in a target space, the first primitive representing a target element in the target space and the first primitive including a first number of sub-primitives; a sub-primitive determination module 520 configured to determine a second number of sub-primitives based on a second size; a reference point determination module 530 configured to determine a second set of reference points for at least a portion of the second number of sub-primitives based on the first set of reference points and the second number for the first number of sub-primitives; and a rendering module 540 configured to render a second primitive representing the target element in the layout map to replace the first primitive based on the second set of reference points, the second primitive including a second number of sub-primitives.
In some embodiments, sub-primitive determination module 520 includes: a remainder determination module configured to determine a remainder based on the second size and the size of the sub-primitive in response to the second size corresponding to a non-integer number of sub-primitives; and a number determination module configured to determine a second number based on the second size and the remainder.
In some embodiments, the first set of reference points and the second set of reference points each comprise vertices of at least one sub-primitive.
In some embodiments, the presentation module 540 comprises: a reference point connection module configured to connect a second set of reference points based on a predetermined order to render a second primitive in response to the first number being less than the second number.
In some embodiments, the presentation module 540 comprises: a third number determination module configured to determine a difference between the first number and the second number as a third number in response to the first number being greater than the second number; and a sub-primitive removal module configured to render the second primitive by removing a third number of sub-primitives from the first primitive.
In some embodiments, the target element is a straight staircase and the sub-primitives represent rectangular ladders of the straight staircase, the first size comprising at least one of: the length, width and height of the straight ladder or the rectangular ladder.
In some embodiments, the target element is a gyrotron and the sub-elements represent sector steps of the gyrotron, the first dimension comprising at least one of: the length, width, height and convolution angle of the convolution ladder or the fan-shaped ladder.
In some embodiments, the input is a drag gesture, and the presenting module 540 comprises: a scaling module configured to scale the first primitive to the second primitive in accordance with the drag gesture.
FIG. 6 illustrates a block diagram that shows an electronic device 600 in which one or more embodiments of the disclosure may be implemented. It should be understood that the electronic device 600 illustrated in FIG. 6 is merely exemplary and should not be construed as limiting in any way the functionality and scope of the embodiments described herein. The electronic device 600 shown in fig. 6 may be used to implement the terminal device 110 of fig. 1.
As shown in fig. 6, the electronic device 600 is in the form of a general electronic device. The components of electronic device 600 may include, but are not limited to, one or more processors or processing units 610, memory 620, storage 630, one or more communication units 640, one or more input devices 650, and one or more output devices 660. The processing unit 610 may be a real or virtual processor and can perform various processes according to programs stored in the memory 620. In a multi-processor system, multiple processing units execute computer-executable instructions in parallel to improve the parallel processing capabilities of the electronic device 600.
Electronic device 600 typically includes a number of computer storage media. Such media may be any available media that is accessible by electronic device 600 and includes, but is not limited to, volatile and non-volatile media, removable and non-removable media. Memory 620 may be volatile memory (e.g., registers, cache, Random Access Memory (RAM)), non-volatile memory (e.g., read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. Storage 630 may be a removable or non-removable medium and may include a machine-readable medium, such as a flash drive, a diskette, or any other medium, which may be capable of being used to store information and/or data (e.g., training data for training) and which may be accessed within electronic device 600.
The electronic device 600 may further include additional removable/non-removable, volatile/nonvolatile storage media. Although not shown in FIG. 6, a magnetic disk drive for reading from and writing to a removable, non-volatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, non-volatile optical disk may be provided. In these cases, each drive may be connected to a bus (not shown) by one or more data media interfaces. Memory 620 may include a computer program product 625 having one or more program modules configured to perform the various methods or acts of the various embodiments of the disclosure.
The communication unit 640 enables communication with other electronic devices through a communication medium. Additionally, the functionality of the components of the electronic device 600 may be implemented in a single computing cluster or multiple computing machines, which are capable of communicating over a communications connection. Thus, the electronic device 600 may operate in a networked environment using logical connections to one or more other servers, network Personal Computers (PCs), or another network node.
The input device 650 may be one or more input devices such as a mouse, keyboard, trackball, or the like. Output device 660 may be one or more output devices such as a display, speakers, printer, or the like. Electronic device 600 may also communicate with one or more external devices (not shown), such as storage devices, display devices, etc., as desired through communication unit 640, with one or more devices that enable a user to interact with electronic device 600, or with any device (e.g., network card, modem, etc.) that enables electronic device 600 to communicate with one or more other electronic devices. Such communication may be performed via input/output (I/O) interfaces (not shown).
According to an exemplary implementation of the present disclosure, a computer-readable storage medium having stored thereon computer-executable instructions is provided, wherein the computer-executable instructions are executed by a processor to implement the above-described method. According to an exemplary implementation of the present disclosure, there is also provided a computer program product, tangibly stored on a non-transitory computer-readable medium and comprising computer-executable instructions, which are executed by a processor to implement the method described above.
Various aspects of the present disclosure are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus, devices and computer program products implemented in accordance with the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer-readable program instructions may be provided to a processing unit of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processing unit of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer-readable program instructions may also be stored in a computer-readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer-readable medium storing the instructions comprises an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various implementations of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The foregoing has described implementations of the present disclosure, and the above description is illustrative, not exhaustive, and not limited to the implementations disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described implementations. The terminology used herein was chosen in order to best explain the principles of various implementations, the practical application, or improvements to the technology in the marketplace, or to enable others of ordinary skill in the art to understand various implementations disclosed herein.

Claims (18)

1.一种绘制图元的方法,包括:1. A method of drawing primitives, comprising: 响应于检测到改变第一图元在目标空间的布局图中的第一尺寸的输入,确定改变后的第二尺寸,所述第一图元表示所述目标空间中的目标元素,并且所述第一图元包括第一数目的子图元;determining a changed second size in response to detecting an input that changes a first size of a first primitive representing a target element in the target space in the layout map of the target space, and the the first primitive includes a first number of sub primitives; 基于所述第二尺寸,确定所述子图元的第二数目;based on the second size, determining a second number of the sub-primitives; 基于针对所述第一数目的子图元的第一组参考点和所述第二数目,确定针对所述第二数目的子图元中的至少一部分的第二组参考点;以及determining a second set of reference points for at least a portion of the second number of sub-primitives based on the first set of reference points for the first number of sub-primitives; and 基于所述第二组参考点,在所述布局图中呈现表示所述目标元素的第二图元以替换所述第一图元,所述第二图元包括所述第二数目的所述子图元。Based on the second set of reference points, a second primitive representing the target element is presented in the layout to replace the first primitive, the second primitive comprising the second number of the sub-entity. 2.根据权利要求1所述的方法,其中确定所述第二数目包括:2. The method of claim 1, wherein determining the second number comprises: 响应于所述第二尺寸对应于非整数个所述子图元,基于所述第二尺寸和所述子图元的尺寸确定余数;In response to the second size corresponding to a non-integer number of the sub-primitives, determining a remainder based on the second size and the size of the sub-primitives; 基于所述第二尺寸和所述余数,确定所述第二数目。The second number is determined based on the second size and the remainder. 3.根据权利要求1所述的方法,其中所述第一组参考点和所述第二组参考点分别包括至少一个所述子图元的顶点。3. The method of claim 1, wherein the first set of reference points and the second set of reference points each comprise a vertex of at least one of the sub-primitives. 4.根据权利要求1所述的方法,其中呈现所述第二图元包括:4. The method of claim 1, wherein rendering the second primitive comprises: 响应于所述第一数目小于所述第二数目,基于第一预定顺序连接所述第二组参考点,以呈现所述第二图元。In response to the first number being less than the second number, the second set of reference points are connected based on a first predetermined order to render the second primitive. 5.根据权利要求1所述的方法,其中呈现所述第二图元包括:5. The method of claim 1, wherein rendering the second primitive comprises: 响应于所述第一数目大于所述第二数目,确定与所述第一数目和所述第二数目之差作为第三数目;以及In response to the first number being greater than the second number, determining a difference from the first number and the second number as a third number; and 通过从所述第一图元中移除所述第三数目的所述子图元来呈现所述第二图元。The second primitive is rendered by removing the third number of the sub-primitives from the first primitive. 6.根据权利要求1所述的方法,其中所述目标元素为直梯,并且所述子图元表示所述直梯的矩形阶梯,所述第一尺寸包括以下至少一项:所述直梯或所述矩形阶梯的长、宽、高。6. The method of claim 1, wherein the target element is a straight ladder, and the sub-primitive represents a rectangular ladder of the straight ladder, the first dimension comprising at least one of: the straight ladder or the length, width and height of the rectangular ladder. 7.根据权利要求1所述的方法,其中所述目标元素为回旋梯,并且所述子图元表示所述回旋梯的扇形阶梯,所述第一尺寸包括以下至少一项:所述回旋梯或所述扇形阶梯的长、宽、高、回旋角度。7. The method of claim 1, wherein the target element is a roundabout, and the sub-primitive represents a fan-shaped staircase of the roundabout, the first dimension comprising at least one of: the roundabout Or the length, width, height and rotation angle of the fan-shaped ladder. 8.根据权利要求1所述的方法,其中所述输入为拖动手势,并且呈现所述第二图元包括:8. The method of claim 1, wherein the input is a drag gesture, and presenting the second primitive comprises: 随所述拖动手势将所述第一图元按比例缩放为所述第二图元。The first primitive is scaled to the second primitive with the drag gesture. 9.一种用于绘制图元的装置,包括:9. An apparatus for drawing primitives, comprising: 尺寸确定模块,被配置为响应于检测到改变第一图元在目标空间的布局图中的第一尺寸的输入,确定改变后的第二尺寸,所述第一图元表示所述目标空间中的目标元素,并且所述第一图元包括第一数目的子图元;a size determination module configured to determine a changed second size in response to detecting an input that changes a first size of a first primitive in the layout of the target space, the first primitive representing the target space The target element of , and the first primitive includes a first number of sub primitives; 子图元确定模块,被配置为基于所述第二尺寸,确定所述子图元的第二数目;a sub-picture element determination module configured to determine a second number of the sub-picture elements based on the second size; 参考点确定模块,被配置为基于针对所述第一数目的子图元的第一组参考点和所述第二数目,确定针对所述第二数目的子图元中的至少一部分的第二组参考点;以及a reference point determination module configured to determine a second set of reference points for at least a portion of the second number of sub-picture elements based on the first set of reference points for the first number of sub-picture elements group reference point; and 呈现模块,被配置为基于所述第二组参考点,在所述布局图中呈现表示所述目标元素的第二图元以替换所述第一图元,所述第二图元包括所述第二数目的所述子图元。a rendering module configured to render, based on the second set of reference points, a second primitive representing the target element in the layout to replace the first primitive, the second primitive comprising the a second number of said sub-primitives. 10.根据权利要求9所述的装置,其中所述子图元确定模块包括:10. The apparatus of claim 9, wherein the sub-primitive determination module comprises: 余数确定模块,被配置为响应于所述第二尺寸对应于非整数个所述子图元,基于所述第二尺寸和所述子图元的尺寸确定余数;以及a remainder determination module configured to, in response to the second size corresponding to a non-integer number of the sub-primitives, determine a remainder based on the second size and the size of the sub-primitives; and 数目确定模块,被配置为基于所述第二尺寸和所述余数,确定所述第二数目。A number determination module configured to determine the second number based on the second size and the remainder. 11.根据权利要求9所述的装置,其中所述第一组参考点和所述第二组参考点分别包括至少一个所述子图元的顶点。11. The apparatus of claim 9, wherein the first set of reference points and the second set of reference points each comprise a vertex of at least one of the sub-primitives. 12.根据权利要求9所述的装置,其中所述呈现模块包括:12. The apparatus of claim 9, wherein the presentation module comprises: 参考点连接模块,被配置为响应于所述第一数目小于所述第二数目,基于预定顺序连接所述第二组参考点,以呈现所述第二图元。A reference point connection module configured to connect the second set of reference points based on a predetermined order to present the second primitive in response to the first number being less than the second number. 13.根据权利要求9所述的装置,其中所述呈现模块包括:13. The apparatus of claim 9, wherein the presentation module comprises: 第三数目确定模块,被配置为响应于所述第一数目大于所述第二数目,确定与所述第一数目和所述第二数目之差作为第三数目;以及a third number determination module configured to determine a difference from the first number and the second number as a third number in response to the first number being greater than the second number; and 子图元移除模块,被配置为通过从所述第一图元中移除所述第三数目的所述子图元来呈现所述第二图元。A sub-primitive removal module configured to render the second primitive by removing the third number of the sub-primitives from the first primitive. 14.根据权利要求9所述的装置,其中所述目标元素为直梯,并且所述子图元表示所述直梯的矩形阶梯,所述第一尺寸包括以下至少一项:所述直梯或所述矩形阶梯的长、宽、高。14. The apparatus of claim 9, wherein the target element is a straight ladder, and the sub-element represents a rectangular ladder of the straight ladder, the first dimension comprising at least one of: the straight ladder or the length, width and height of the rectangular ladder. 15.根据权利要求9所述的装置,其中所述目标元素为回旋梯,并且所述子图元表示所述回旋梯的扇形阶梯,所述第一尺寸包括以下至少一项:所述回旋梯或所述扇形阶梯的长、宽、高、回旋角度。15. The apparatus of claim 9, wherein the target element is a roundabout, and the sub-primitive represents a fan-shaped staircase of the roundabout, the first dimension comprising at least one of: the roundabout Or the length, width, height and rotation angle of the fan-shaped ladder. 16.根据权利要求9所述的装置,其中所述输入为拖动手势,并且所述呈现模块包括:16. The apparatus of claim 9, wherein the input is a drag gesture, and the presentation module comprises: 缩放模块,被配置为随所述拖动手势将所述第一图元按比例缩放为所述第二图元。A scaling module configured to scale the first primitive to the second primitive with the drag gesture. 17.一种电子设备,包括:17. An electronic device comprising: 至少一个处理单元;以及at least one processing unit; and 至少一个存储器,所述至少一个存储器被耦合到所述至少一个处理单元并且存储用于由所述至少一个处理单元执行的指令,所述指令在由所述至少一个处理单元执行时使所述电子设备执行根据权利要求1至8中任一项所述的方法。at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit that, when executed by the at least one processing unit, cause the electronic The device performs the method according to any one of claims 1 to 8. 18.一种计算机可读存储介质,其上存储有计算机程序,所述程序被处理器执行时实现根据权利要求1至8中任一项所述的方法。18. A computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 8.
CN202210855014.6A 2022-07-19 2022-07-19 Methods, apparatus, devices, and storage media for drawing primitives Active CN115131463B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210855014.6A CN115131463B (en) 2022-07-19 2022-07-19 Methods, apparatus, devices, and storage media for drawing primitives

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210855014.6A CN115131463B (en) 2022-07-19 2022-07-19 Methods, apparatus, devices, and storage media for drawing primitives

Publications (2)

Publication Number Publication Date
CN115131463A true CN115131463A (en) 2022-09-30
CN115131463B CN115131463B (en) 2025-12-05

Family

ID=83383820

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210855014.6A Active CN115131463B (en) 2022-07-19 2022-07-19 Methods, apparatus, devices, and storage media for drawing primitives

Country Status (1)

Country Link
CN (1) CN115131463B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115248944A (en) * 2022-07-19 2022-10-28 北京有竹居网络技术有限公司 Method, device, equipment and storage medium for drawing primitive

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0992942A1 (en) * 1998-10-05 2000-04-12 Agfa-Gevaert N.V. Method for smoothing staircase effect in enlarged low resolution images
US20070165031A1 (en) * 2004-05-04 2007-07-19 Fisher-Rosemount Systems, Inc. Scripted graphics in a process environment
CN101027679A (en) * 2004-09-09 2007-08-29 奥普提克斯晶硅有限公司 System and method for representing a general two dimensional spatial transformation
CN101833289A (en) * 2009-03-13 2010-09-15 费舍-柔斯芒特系统股份有限公司 The compound shape convergent-divergent of man-machine graphical interfaces
CN103793881A (en) * 2012-10-26 2014-05-14 晨星半导体股份有限公司 Image file processing method and image file processing device
JP2015225576A (en) * 2014-05-29 2015-12-14 旭化成ホームズ株式会社 Stair design device and stair design method
CN107742314A (en) * 2017-09-08 2018-02-27 阿里巴巴集团控股有限公司 Image generation method, device and equipment
US20190259210A1 (en) * 2016-09-16 2019-08-22 Christopher Ghaleb A floorplan visualisation system
CN110704932A (en) * 2019-10-09 2020-01-17 北京中外建建筑设计有限公司 Revit software-based prefabricated staircase detailed graph rapid plotting method
CN113297764A (en) * 2021-05-25 2021-08-24 湖南汽车工程职业学院 Finite element parametric model modeling method, system and storage medium
CN114219448A (en) * 2021-12-20 2022-03-22 中国农业银行股份有限公司 A process modeling method, device, equipment and medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0992942A1 (en) * 1998-10-05 2000-04-12 Agfa-Gevaert N.V. Method for smoothing staircase effect in enlarged low resolution images
US20070165031A1 (en) * 2004-05-04 2007-07-19 Fisher-Rosemount Systems, Inc. Scripted graphics in a process environment
CN101027679A (en) * 2004-09-09 2007-08-29 奥普提克斯晶硅有限公司 System and method for representing a general two dimensional spatial transformation
CN101833289A (en) * 2009-03-13 2010-09-15 费舍-柔斯芒特系统股份有限公司 The compound shape convergent-divergent of man-machine graphical interfaces
CN103793881A (en) * 2012-10-26 2014-05-14 晨星半导体股份有限公司 Image file processing method and image file processing device
JP2015225576A (en) * 2014-05-29 2015-12-14 旭化成ホームズ株式会社 Stair design device and stair design method
US20190259210A1 (en) * 2016-09-16 2019-08-22 Christopher Ghaleb A floorplan visualisation system
CN107742314A (en) * 2017-09-08 2018-02-27 阿里巴巴集团控股有限公司 Image generation method, device and equipment
CN110704932A (en) * 2019-10-09 2020-01-17 北京中外建建筑设计有限公司 Revit software-based prefabricated staircase detailed graph rapid plotting method
CN113297764A (en) * 2021-05-25 2021-08-24 湖南汽车工程职业学院 Finite element parametric model modeling method, system and storage medium
CN114219448A (en) * 2021-12-20 2022-03-22 中国农业银行股份有限公司 A process modeling method, device, equipment and medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
浦炜: "利用AutoCAD实现建筑设计图库的开发", 常熟高专学报, no. 02, 15 March 2004 (2004-03-15), pages 81 - 84 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115248944A (en) * 2022-07-19 2022-10-28 北京有竹居网络技术有限公司 Method, device, equipment and storage medium for drawing primitive

Also Published As

Publication number Publication date
CN115131463B (en) 2025-12-05

Similar Documents

Publication Publication Date Title
CN114041111B (en) Handwriting drawing method, device, electronic device, medium and program product
WO2014117559A1 (en) 3d-rendering method and device for logical window
CN114170381B (en) Three-dimensional path display method, device, readable storage medium and electronic device
WO2022235291A1 (en) Method and apparatus for constructing a 3d geometry
WO2018205493A1 (en) Graphic drawing method, apparatus and device
CN115311397B (en) Method, apparatus, device and storage medium for image rendering
CN115131463B (en) Methods, apparatus, devices, and storage media for drawing primitives
CN106814933B (en) Window shadow display method and device
CN114385061B (en) Operation method, apparatus, electronic device, and computer-readable storage medium
CN113724331B (en) Video processing method, video processing apparatus, and non-transitory storage medium
CN109242941B (en) Three-dimensional object synthesis using visual guidance as part of a two-dimensional digital image
CN115248944A (en) Method, device, equipment and storage medium for drawing primitive
CN111159593A (en) Method and device for generating flow chart, storage medium and electronic equipment
WO2024060949A1 (en) Method and apparatus for augmented reality, device, and storage medium
US12106443B2 (en) Responsive video canvas generation
CN115131532A (en) Method, apparatus, device and storage medium for generating a three-dimensional model
CN114265583B (en) VR content development optimization method, apparatus, electronic device and readable storage medium
CN115619904A (en) Image processing method, device and equipment
CN115202792A (en) Method, apparatus, device and storage medium for scene switching
CN115100359A (en) Image processing method, device, equipment and storage medium
CN115617221A (en) Presentation method, device, equipment and storage medium
CN111563956A (en) A three-dimensional display method, device, equipment and medium of a two-dimensional picture
CN113487704A (en) Method and device for drawing dovetail arrow head, storage medium and terminal equipment
CN113313800B (en) Texture-based pixel count determination
CN120852462A (en) Method, apparatus, device and storage medium for image processing

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Room 802, Information Building, 13 Linyin North Street, Pinggu District, Beijing, 101299

Applicant after: Beijing youzhuju Network Technology Co.,Ltd.

Address before: 101299 Room 802, information building, No. 13, linmeng North Street, Pinggu District, Beijing

Applicant before: Beijing youzhuju Network Technology Co.,Ltd.

GR01 Patent grant