Claims (60)
1. Система в вычислительной среде, содержащая механизм, который интерпретирует разметку для построения элементного дерева из элементов, причем, по меньшей мере, некоторые из элементов элементного дерева имеют связанные с ними данные свойств и соответствуют объектной модели элементов, уровень интерфейсов графа сцены, содержащий множество из, по меньшей мере, одного интерфейса, который заполняет граф сцены объектами в ответ на запросы на создание объектов, причем объекты соответствуют объектной модели графа сцены, и транслятор, который транслирует, по меньшей мере, некоторые из элементов и данных свойств в элементном дереве в запросы к уровню интерфейсов графа сцены для создания объектов в графе сцены.1. A system in a computing environment containing a mechanism that interprets markup for constructing an element tree from elements, at least some of the elements of the element tree have property data associated with them and correspond to the object model of the elements, the level of the interfaces of the scene graph containing many from at least one interface that fills the scene graph with objects in response to requests for creating objects, the objects corresponding to the object model of the scene graph, and a translator that nsliruet, at least some of the elements and property data in the element tree into requests to the scene graph interface level to create objects in the scene graph.
2. Система по п.1, отличающаяся тем, что элементы объектной модели элементов существенно коррелируют с объектами объектной модели графа сцены.2. The system according to claim 1, characterized in that the elements of the object model of elements substantially correlate with the objects of the object model of the scene graph.
3. Система по п.1, отличающаяся тем, что разметка включает в себя встроенный текст, содержащий строку, которая задает свойство элемента, и транслятор связывается с преобразователем типов для преобразования строки в свойство объекта.3. The system according to claim 1, characterized in that the markup includes embedded text containing a string that sets the property of the element, and the translator communicates with the type converter to convert the string to an object property.
4. Система по п.1, отличающаяся тем, что разметка содержит встроенный текст, содержащий сложный синтаксис свойств.4. The system according to claim 1, characterized in that the markup contains embedded text containing a complex syntax of properties.
5. Система по п.4, отличающаяся тем, что встроенный текст идентифицируется посредством ссылки, которая ссылается на другое место разметки.5. The system according to claim 4, characterized in that the embedded text is identified by a link that refers to another place markup.
6. Система по п.4, отличающаяся тем, что встроенный текст идентифицируется посредством ссылки, по которой происходит переход к файлу.6. The system according to claim 4, characterized in that the embedded text is identified by a link through which the transition to the file.
7. Система по п.4, отличающаяся тем, что встроенный текст идентифицируется посредством ссылки, которая соответствует файлу, который можно загружать из удаленного пункта сети.7. The system according to claim 4, characterized in that the embedded text is identified by a link that corresponds to a file that can be downloaded from a remote network location.
8. Система по п.1, отличающаяся тем, что разметка содержит встроенный текст, содержащий сложный синтаксис свойств, соответствующий графическому ресурсу.8. The system according to claim 1, characterized in that the markup contains embedded text containing complex property syntax corresponding to a graphic resource.
9. Система по п.8, отличающаяся тем, что графический ресурс описывает объект “кисть визуала”, транслятор обеспечивает данные уровня ресурсов для непосредственной связи с уровнем интерфейсов графа сцены для создания объекта раскраски визуала, соответствующего элементу, описанному сложным синтаксисом свойств.9. The system of claim 8, characterized in that the graphic resource describes a visual brush object, the translator provides resource level data for direct connection with the level of the graph interface of the scene to create a visual coloring object corresponding to an element described by a complex property syntax.
10. Система по п.9, отличающаяся тем, что данные уровня ресурсов идентифицируются посредством ссылки, которая ссылается на другое место в разметке.10. The system according to claim 9, characterized in that the resource level data is identified by a link that refers to another place in the markup.
11. Система по п.9, отличающаяся тем, что данные уровня ресурсов идентифицируются посредством ссылки, по которой происходит переход к файлу.11. The system according to claim 9, characterized in that the data of the resource level are identified by means of a link by which a transition to a file takes place.
12. Система по п.9, отличающаяся тем, что данные уровня ресурсов идентифицируются посредством ссылки, которая ссылается на файл, который можно загружать из удаленного пункта сети.12. The system according to claim 9, characterized in that the resource level data is identified by a link that refers to a file that can be downloaded from a remote point in the network.
13. Система по п.1, отличающаяся тем, что один из элементов объектной модели элементов включает в себя элемент “изображение”.13. The system according to claim 1, characterized in that one of the elements of the object model of elements includes the element "image".
14. Система по п.1, отличающаяся тем, что один из элементов объектной модели элементов включает в себя элемент “видео”.14. The system according to claim 1, characterized in that one of the elements of the object model of elements includes the element "video".
15. Система по п.1, отличающаяся тем, что один из элементов объектной модели элементов включает в себя элемент “холст”, который содержит элемент “форма”.15. The system according to claim 1, characterized in that one of the elements of the object model of elements includes an element "canvas", which contains the element "shape".
16. Система по п.1, отличающаяся тем, что один из элементов объектной модели элементов включает в себя элемент “форма”.16. The system according to claim 1, characterized in that one of the elements of the object model of elements includes an element of "form".
17. Система по п.16, отличающаяся тем, что элемент “форма” включает в себя элемент “прямоугольник”.17. The system according to clause 16, wherein the element "shape" includes the element "rectangle".
18. Система по п.16, отличающаяся тем, что элемент “форма” включает в себя элемент “полилиния”.18. The system according to clause 16, wherein the element “shape” includes the element “polyline".
19. Система по п.16, отличающаяся тем, что элемент “форма” включает в себя элемент “многоугольник”.19. The system according to clause 16, wherein the element "shape" includes the element "polygon".
20. Система по п.16, отличающаяся тем, что элемент “форма” включает в себя элемент “путь”.20. The system according to clause 16, wherein the element “form” includes the element “path”.
21. Система по п.16, отличающаяся тем, что элемент “форма” включает в себя элемент “линия”.21. The system according to clause 16, wherein the element “shape” includes the element “line”.
22. Система по п.16, отличающаяся тем, что элемент “форма” включает в себя элемент “эллипс”.22. The system of claim 16, wherein the “shape” element includes an “ellipse” element.
23. Система по п.16, отличающаяся тем, что элемент “форма” включает в себя элемент “круг”.23. The system of clause 16, wherein the element “shape” includes the element “circle”.
24. Система по п.16, отличающаяся тем, что элемент “форма” содержит данные свойства “заливка”.24. The system according to clause 16, wherein the “form” element contains data of the “fill” property.
25. Система по п.16, отличающаяся тем, что элемент “форма” содержит данные свойства “обводка”.25. The system according to clause 16, characterized in that the element “form” contains these properties “stroke”.
26. Система по п.16, отличающаяся тем, что элемент “форма” содержит данные свойства “отсечение”.26. The system of clause 16, wherein the “form” element contains the data of the “clipping” property.
27. Система по п.16, отличающаяся тем, что элемент “форма” содержит данные свойства “трансформация”.27. The system according to clause 16, wherein the element “form” contains these properties of the “transformation”.
28. Система по п.16, отличающаяся тем, что элемент “форма” содержит данные эффекта (воздействия).28. The system according to clause 16, wherein the element “form” contains data of the effect (impact).
29. Система по п.16, отличающаяся тем, что элемент “форма” содержит данные непрозрачности.29. The system of clause 16, wherein the “form” element contains opacity data.
30. Система по п.16, отличающаяся тем, что элемент “форма” содержит данные режима смешивания.30. The system according to clause 16, wherein the element "form" contains the data of the mixing mode.
31. Система по п.1, отличающаяся тем, что дополнительно содержит машину, которая обрабатывает структуру данных графа сцены и передает команды, по меньшей мере, одному графическому компоненту более низкого уровня.31. The system according to claim 1, characterized in that it further comprises a machine that processes the data structure of the scene graph and transmits commands to at least one lower-level graphic component.
32. Система по п.31, отличающаяся тем, что машина обходит структуру данных графа сцены.32. The system according to p. 31, characterized in that the machine bypasses the data structure of the scene graph.
33. Система по п.31, отличающаяся тем, что машина передает структуру данных графа сцены.33. The system according to p, characterized in that the machine transmits the data structure of the scene graph.
34. Система по п.1, отличающаяся тем, что транслятор запрашивает установку, по меньшей мере, одного построителя для создания объектов.34. The system according to claim 1, characterized in that the translator requests the installation of at least one builder to create objects.
35. Способ, реализуемый на компьютере, содержащий этапы, на которых анализируют разметку, причем разметка содержит тэги и связанные с ними данные свойств, согласно объектной модели, интерпретируют тэг в разметке, чтобы определить, адресован ли тэг уровню элементов или уровню ресурсов, и а) если тэг адресован уровню элементов, то создают элемент на основании тэга и данных свойств, связанных с тэгом, и добавляют элемент к элементному дереву для дальнейшей трансляции в объект графа сцены в структуре данных графа сцены, и b) если тэг адресован уровню ресурсов, то обеспечивают данные для непосредственного создания объекта графа сцены в структуре данных графа сцены посредством интерфейса со структурой данных графа сцены.35. A method implemented on a computer, comprising the steps of analyzing the markup, the marking containing tags and associated property data, according to the object model, interpret the tag in the markup to determine if the tag is addressed to the element level or resource level, and ) if the tag is addressed to the level of the elements, then create an element based on the tag and the properties data associated with the tag, and add the element to the element tree for further translation into the scene graph object in the scene graph data structure, and b) if the tag is addressed to nu resources, provide data to directly create a scene graph object in a scene graph data structure via an interface to the scene graph data structure.
36. Способ по п.35, отличающийся тем, что объекты объектной модели элементов существенно коррелируют с объектами в структуре данных графа сцены.36. The method according to claim 35, characterized in that the objects of the object model of the elements substantially correlate with the objects in the data structure of the scene graph.
37. Способ по п.35, отличающийся тем, что разметка содержит встроенный текст для значения свойства тэга и способ дополнительно содержит этап, на котором связываются с преобразователем типов, чтобы преобразовать встроенный текст в свойство объекта.37. The method according to clause 35, wherein the markup contains embedded text for the value of the tag property, and the method further comprises contacting a type converter to convert the embedded text to an object property.
38. Способ по п.35, отличающийся тем, что разметка содержит встроенный текст для значения свойства тэга, имеющий ссылку на другой текст в разметке, и на этапе интерпретации значения свойства тега интерпретируют другой текст.38. The method according to clause 35, wherein the markup contains embedded text for the value of the tag property that has a link to another text in the markup, and at the stage of interpretation of the value of the tag property interpret another text.
39. Способ по п.35, отличающийся тем, что разметка содержит тэги, содержащие сложный синтаксис свойств для элемента, и на этапе интерпретации тэгов интерпретируют сложный синтаксис свойств, чтобы определить, что тэги адресованы уровню элементов.39. The method according to clause 35, wherein the markup contains tags containing complex property syntax for the element, and at the stage of tag interpretation interpret complex property syntax to determine that the tags are addressed to the element level.
40. Способ по п.35, отличающийся тем, что разметка содержит тэги, задающие сложный синтаксис свойств для элемента, и на этапе интерпретации тэгов интерпретируют сложный синтаксис свойств, чтобы определить, что элемент адресован уровню ресурсов.40. The method according to clause 35, wherein the markup contains tags that specify the complex syntax of the properties for the element, and at the stage of interpretation of the tags interpret the complex syntax of the properties to determine that the element is addressed to the resource level.
41. Способ по п.40, отличающийся тем, что на этапе интерпретации сложного синтаксиса свойств определяют, что сложный синтаксис свойств описывает свойство, соответствующее объекту “кисть визуала”.41. The method according to p. 40, characterized in that at the stage of interpretation of the complex syntax of the properties determines that the complex syntax of the properties describes the property corresponding to the object "visual brush".
42. Способ по п.40, отличающийся тем, что элемент в элементном дереве ссылается на тэги, задающие объект “кисть визуала”.42. The method according to p. 40, characterized in that the element in the element tree refers to tags that define the object "visual brush".
43. Считываемый компьютером носитель, содержащий выполняемые компьютером команды для осуществления способа по п.35.43. Computer-readable media containing computer-executable instructions for implementing the method of claim 35.
44. Считываемый компьютером носитель, на котором хранится структура данных, содержащая первый набор данных, содержащий первый набор тэгов и данные свойств, в котором контекст, в котором интерпретируется первый набор тэгов указывает, что первый набор тэгов адресован уровню элементов, второй набор данных, содержащий второй набор тэгов и вторые данные свойств, в котором контекст, в котором интерпретируется второй набор тэгов, соответствует сложному синтаксису свойств и указывает, что второй набор тэгов адресован уровню ресурсов, и при интерпретации структуры данных, первый набор данных приводит к данным, соответствующим первому набору тэгов, создаваемым и вставляемым в дерево уровня элементов на основании первой информации в первом наборе текста, и второй набор данных приводит к данным, соответствующим второму набору тэгов, предоставляемым для непосредственного создания объекта графа сцены в структуре данных графа сцены на уровне ресурсов посредством интерфейса со структурой данных графа сцены, на основании второй информации во втором наборе текста.44. A computer-readable medium that stores a data structure comprising a first data set containing a first set of tags and property data, in which a context in which the first set of tags is interpreted indicates that the first set of tags is addressed to the element level, the second data set containing the second set of tags and the second property data, in which the context in which the second set of tags is interpreted corresponds to the complex syntax of the properties and indicates that the second set of tags is addressed to the resource level, and when of rotation of the data structure, the first data set results in data corresponding to the first set of tags created and inserted into the element level tree based on the first information in the first text set, and the second data set leads to data corresponding to the second set of tags provided for direct creation of the object the scene graph in the data structure of the scene graph at the resource level through an interface with the data structure of the scene graph, based on the second information in the second set of text.
45. Считываемый компьютером носитель по п.44, отличающийся тем, что структура данных дополнительно содержит третий набор данных, содержащий строку, соответствующую значению свойства.45. The computer-readable medium of claim 44, wherein the data structure further comprises a third data set containing a string corresponding to a property value.
46. Считываемый компьютером носитель по п.44, отличающийся тем, что первый набор тэгов задает идентификатор, и структура данных дополнительно содержит третий набор данных, которые ссылаются на идентификатор.46. The computer-readable medium of claim 44, wherein the first set of tags defines an identifier, and the data structure further comprises a third set of data that refers to the identifier.
47. Считываемый компьютером носитель по п.46, отличающийся тем, что при интерпретации третий набор данных приводит к данным, соответствующим первому набору тэгов, добавляемым к дереву уровня элементов в том месте дерева, которое предназначено для третьего набора данных.47. The computer-readable medium of claim 46, wherein, when interpreted, the third data set results in data corresponding to the first set of tags added to the element level tree in that place of the tree that is intended for the third data set.
48. Считываемый компьютером носитель по п.44, отличающийся тем, что второй набор тэгов содержит идентификатор, и структура данных дополнительно содержит третий набор данных, которые ссылаются на идентификатор.48. The computer-readable medium of claim 44, wherein the second set of tags contains an identifier, and the data structure further comprises a third set of data that refers to the identifier.
49. Считываемый компьютером носитель по п.44, отличающийся тем, что второй набор тэгов содержит данные, форматированные в сложном синтаксисе свойств, встроенном в разметке.49. The computer-readable medium of claim 44, wherein the second set of tags contains data formatted in a complex property syntax embedded in the markup.
50. Считываемый компьютером носитель по п.49, отличающийся тем, что сложный синтаксис свойств описывает элемент уровня ресурсов, свойство “заливка” которого соответствует объекту “раскраска визуала”.50. The computer-readable medium of claim 49, wherein the complex property syntax describes an element of a resource level whose “fill” property corresponds to the “visual coloring” object.
51. Считываемый компьютером носитель по п.49, отличающийся тем, что сложный синтаксис свойств описывает свойства элемента “изображение”.51. The computer-readable medium of claim 49, wherein the complex property syntax describes the properties of the image element.
52. Считываемый компьютером носитель по п.49, отличающийся тем, что сложный синтаксис свойств описывает свойства элемента “видео”.52. The computer-readable medium of claim 49, wherein the complex property syntax describes the properties of the video element.
53. Считываемый компьютером носитель по п.44, отличающаяся тем, что сложный синтаксис свойств описывает свойства элемента “форма”.53. The computer-readable medium of claim 44, wherein the complex property syntax describes the properties of the form element.
54. Считываемый компьютером носитель по п.53, отличающийся тем, что дополнительно содержит данные в структуре данных, которые описывают элемент “холст”, включающий в себя элемент “форма”.54. The computer-readable medium of claim 53, further comprising data in a data structure that describes a canvas element, including a shape element.
55. Считываемый компьютером носитель по п.53, отличающийся тем, что свойства элемента “форма” содержат данные свойства “заливка”.55. The computer-readable medium according to claim 53, wherein the properties of the “form” element contain these “fill” properties.
56. Считываемый компьютером носитель по п.53, отличающийся тем, что свойства элемента “форма” содержат данные свойства “обводка”.56. The computer-readable medium of claim 53, wherein the properties of the form element contain these properties of the stroke.
57. Считываемый компьютером носитель по п.44, отличающийся тем, что свойства первого элемента содержат данные отсечения.57. Machine-readable medium according to item 44, wherein the properties of the first element contain clipping data.
58. Считываемый компьютером носитель по п.44, отличающийся тем, что свойства первого элемента содержат данные трансформации.58. Machine-readable medium according to item 44, wherein the properties of the first element contain transformation data.
59. Считываемый компьютером носитель по п.44, отличающийся тем, что свойства первого элемента содержат данные непрозрачности.59. Machine-readable medium according to item 44, wherein the properties of the first element contain opacity data.
60. Считываемый компьютером носитель по п.44, отличающийся тем, что свойства первого элемента содержат данные режима смешивания.60. The computer-readable medium of claim 44, wherein the properties of the first element comprise mixing mode data.