超文本和MHEG标准课件

上传人:94****0 文档编号:241257383 上传时间:2024-06-13 格式:PPT 页数:69 大小:1.84MB
返回 下载 相关 举报
超文本和MHEG标准课件_第1页
第1页 / 共69页
超文本和MHEG标准课件_第2页
第2页 / 共69页
超文本和MHEG标准课件_第3页
第3页 / 共69页
点击查看更多>>
资源描述
第第1313章章 文档、超文本和文档、超文本和MHEGMHEG标准标准Chapter 13 Documents,Hypertext and MHEG 第13章 文档、超文本和MHEG标准Chapter 13 1 文档文档(Documents)(Documents)多媒体文档至少应包含一种连续(依赖于时间)媒体多媒体文档至少应包含一种连续(依赖于时间)媒体和一种离散(不依赖于时间)媒体的信息,不同媒体或信和一种离散(不依赖于时间)媒体的信息,不同媒体或信息单元通过同步关系集成在一起。息单元通过同步关系集成在一起。A multimedia document is a document which is comprised of information coded in at least one continuous(time-dependent)medium and in one discrete(time-independent)medium.文档(Documents)2多媒体多媒体文档与它的生成工具、数据抽象、基本概念和文档文档与它的生成工具、数据抽象、基本概念和文档体系结构环境紧密相关。体系结构环境紧密相关。A multimedia document is closely related to its environment of tools,data abstractions,basic concepts and document architecture.多媒体文档与它的生成工具、数据抽象、基本概念和文档体系结构环3 文档结构文档结构(Document Architecture)交换文档需要交换文档的内容和文档结构。这要求两交换文档需要交换文档的内容和文档结构。这要求两个文档有相同的文档结构。个文档有相同的文档结构。Exchanging documents entails exchanging the document content as well as the document structure.This requires that both documents have the same document architecture.文档结构(Document Architectu4目前已经标准化或正在形成标准的体系结构是标准目前已经标准化或正在形成标准的体系结构是标准通用置标语言通用置标语言(SGML)和开放和开放(OAD)。)。The current standardized,respectively in the progress of standardization,architectures are the Standard Generalized Markup Language(SGML)and the Open Document Architecture(ODA).目前已经标准化或正在形成标准的体系结构是标准通用置标语言(S5信息体系结构使用它们的数据抽象和有关概念。信息体系结构使用它们的数据抽象和有关概念。Information architectures use their data abstractions and concepts.文档体系结构描述了以模型的形式表示的不同元文档体系结构描述了以模型的形式表示的不同元素之间(如描述模型、处理模型)的联系。素之间(如描述模型、处理模型)的联系。A document architecture describes the connections among the individual elements represented as models(e.g.,presentation model,manipulation model).信息体系结构使用它们的数据抽象和有关概念。6文档体系结构中的元素和它们之间的关系如图文档体系结构中的元素和它们之间的关系如图13.113.1所示。所示。The elements in the document architecture and their relations are shown in Figure 13.1.文档体系结构中的元素和它们之间的关系如图13.1所示。7超文本和MHEG标准课件8图图13.213.2给予出了包含单个离散媒体单元和连续给予出了包含单个离散媒体单元和连续媒体单元间关系的多媒体文档体系结构。媒体单元间关系的多媒体文档体系结构。Figure 13.2 shows a multimedia document architecture including relations between individual discrete media units and continuous media units.图13.2给予出了包含单个离散媒体单元和连续媒体单元间关系的9超文本和MHEG标准课件10 超文本和超媒体超文本和超媒体 Hypertext and Hypermedia 超文本、超媒体和多媒体超文本、超媒体和多媒体 Hypertext,Hypermedia and Multimedia 超文本和超媒体111.1.非线性信息链非线性信息链(Non-linear Information Chain)超文本和超媒体有一个主要特征,即非线性的信息连接。超文本和超媒体有一个主要特征,即非线性的信息连接。不仅存在固定的阅读顺序,读者也可以决定自己的阅读路径,不仅存在固定的阅读顺序,读者也可以决定自己的阅读路径,超文本的结构是一个图,由节点和边组成。超文本的结构是一个图,由节点和边组成。Hypertext and hypermedia have as a major property a non-linear information link.There exists not only a reading sequence,but also the reader decides on his/her reading path.A hypertext structure is a graph,consisting of notes and edges.1.非线性信息链(Non-linear Informatio12节点是一个真实的信息单元。例如,文本元素、节点是一个真实的信息单元。例如,文本元素、单个图形、声音或视频单个图形、声音或视频LDULDU。信息单元大多显示在。信息单元大多显示在用户界面上它们自己的窗口中。用户界面上它们自己的窗口中。The notes are the actual information units.They are,for example,the text elements,individual graphics,audio or video LDU s.The information units are shown at the user interface mostly in their own windows.节点是一个真实的信息单元。例如,文本元素、单个图形、声音或视13边提供对其他信息单元的链接。这些通常被称边提供对其他信息单元的链接。这些通常被称为指针或链接。指针大多是一条有向边并且也为指针或链接。指针大多是一条有向边并且也包含它自己的信息。包含它自己的信息。The edges provide links to other information units.They are usually called pointers or links.A pointer is mostly a directed edge and includes its own information too.边提供对其他信息单元的链接。这些通常被称为指针或链接。指针大14 2.锚锚(Anchor)在线性排序过的文档中前移表明对图进行浏览。在用在线性排序过的文档中前移表明对图进行浏览。在用户界面上,指针的原点必须被标出,这样用户可以移到户界面上,指针的原点必须被标出,这样用户可以移到更深的信息单元。指针这个原点称为锚。用户界面有一更深的信息单元。指针这个原点称为锚。用户界面有一个主要因素是锚的概念:锚如何能被恰当地表现个主要因素是锚的概念:锚如何能被恰当地表现?The forward movement in linear sorted documents is called a navigation through the graph.At the user interface,the origin of pointers must be marked,so that the user can move to a further information unit.This origin of a pointer is called an anchor.A main factor of the user interface is the user interface is the concept of the anchor:how can the anchor be represented properly?2.锚(Anchor)15与媒体无关的表现可以通过对一般的图形元素与媒体无关的表现可以通过对一般的图形元素(如按钮)的选择来完成。(如按钮)的选择来完成。A media-independent representation can happen through the selection of general graphical elements,such as buttons.与媒体无关的表现可以通过对一般的图形元素(如按钮)的选择来完16在文本表示方法中,可以用不同词、段落或不同长度的文在文本表示方法中,可以用不同词、段落或不同长度的文本段来表示,鼠标放置在标出的区域,双击这块区域会导本段来表示,鼠标放置在标出的区域,双击这块区域会导致与击打住处相连的目标节点的显示(如图致与击打住处相连的目标节点的显示(如图13.1113.11)In a text,individual words,paragraphs or text sections of different length can be used for representation.The positioning of the pointer to the marked area and double clicking in this area leads to a display of the destination node,connected with the clicked information(e.g.see Figure 13.11).在文本表示方法中,可以用不同词、段落或不同长度的文本段来表示17超文本和MHEG标准课件18对图像而言,特定的图形目标或是简单区域都可对图像而言,特定的图形目标或是简单区域都可以定义成选择目标。可通过颜色或条纹作标志。以定义成选择目标。可通过颜色或条纹作标志。In images,specific graphical objects or simply areas are defined as selection objects.A specific marking can occur through a color or stripe.对运动视频而言,可使用与媒体无关的表现方法,对运动视频而言,可使用与媒体无关的表现方法,也可以使用随时间改变的区域图示。也可以使用随时间改变的区域图示。In a motion video,media-independent representations of the anchor are preferred.There can also be time-changing areas used.对图像而言,特定的图形目标或是简单区域都可以定义成选择目标。19对于声音而言,也是使用与媒体无关的方法,在这对于声音而言,也是使用与媒体无关的方法,在这种情况下宁可显示一段短的、描述性的文字或是图种情况下宁可显示一段短的、描述性的文字或是图标大小的图像。标大小的图像。With respect to audio,a media-independent solution is used.In this case,a short,descriptive text or an image of the size of an icon is preferably shown.对于声音而言,也是使用与媒体无关的方法,在这种情况下宁可显示203.超文本系统超文本系统(Hypertext System)超文本系统主要通过信息的非线性链接决定。不同节点超文本系统主要通过信息的非线性链接决定。不同节点的数据可以一种或几种媒体类型表现,在纯文本系统中的数据可以一种或几种媒体类型表现,在纯文本系统中只有文本部分被链起来,我们把超文本理解为包含多种只有文本部分被链起来,我们把超文本理解为包含多种媒体链接的信息实体。媒体链接的信息实体。A hypertext system is mainly determined through non-linear links of information.Pointers connect the nodes.The data of different nodes can be represented with one or several media types.In a pure text parts are connected.We understand hypertext as an information object which includes links to several media.3.超文本系统(Hypertext System)214.多媒体系统多媒体系统(Multimedia System)多媒体系统包含至少有连接的和离散的介质多媒体系统包含至少有连接的和离散的介质表现的信息。表现的信息。A multimedia system contains information which is coded at least in a continuous and discrete medium.4.多媒体系统(Multimedia System)225.5.超媒体系统超媒体系统(Hypermedia System)超媒体系统包含了超文本系统的非线性信息和多媒超媒体系统包含了超文本系统的非线性信息和多媒体系统的连续和离散媒体。例如,如果一个非线性连接体系统的连续和离散媒体。例如,如果一个非线性连接包含文本和视频数据,那么它就是一个超媒体、多媒体包含文本和视频数据,那么它就是一个超媒体、多媒体和超文本系统。和超文本系统。A hypermedia system includes the non-linear information links of hypertext systems and the continuous and discrete media of multimedia systems.For example,if a non-linear link consists of text and video data,then this is a hypermedia,multimedia and hypertext system.5.超媒体系统(Hypermedia System)23 系统:结构、节点和指针系统:结构、节点和指针 (System:Architecture,Nodes and Pointers)1.1.结构结构(Architecture)超文本系统的结构可以被分成带有不同功能的三层超文本系统的结构可以被分成带有不同功能的三层CG87CG87:The architecture of a hypertext system can be divided into three layers with different functionalities GG87:系统:结构、节点和指针24表现层:在最上面的表现层包含了所有与用户界表现层:在最上面的表现层包含了所有与用户界面有联系的功能。这里,节点和指针被映射到用面有联系的功能。这里,节点和指针被映射到用户界面。户界面。Presentation Layer:At the upper layer,the presentation layer,all functions connected to the user interface are embedded.Here nodes and pointers are mapped to the user interface.表现层:在最上面的表现层包含了所有与用户界面有联系的功能。这25超大型文本抽象机(超大型文本抽象机(HAMHAM):超文工抽象机处于表):超文工抽象机处于表现层和存储层之间,它只考虑下层所提供的在分现层和存储层之间,它只考虑下层所提供的在分布式环境中存储多媒体数据库功能,而不需要考布式环境中存储多媒体数据库功能,而不需要考虑上一层的输入和输出。虑上一层的输入和输出。Hypertext Abstract Machine:The Hypertext Machine(HAM)is placed between the presentation and storage layers.It can expect from the underlying layer database functions for storage of multimedia data in a distributed environment.It does not have to consider input and output of the upper layer.超大型文本抽象机(HAM):超文工抽象机处于表现层和存储层之26存储层:存储层(也称数据库层)是最低一层,存储层:存储层(也称数据库层)是最低一层,与数据存储联系的所有功能(即辅存管理)都属与数据存储联系的所有功能(即辅存管理)都属于这一层,需要考虑不同抽象和连续媒体的特殊于这一层,需要考虑不同抽象和连续媒体的特殊性性。性性。Storage Layer:The storage layer(also called the database layer)is the lowest layer.All functions connected with the storage of data(secondary storage management)belong to this layer.The specific properties of the different discrete and continuous media need to be considered.存储层:存储层(也称数据库层)是最低一层,与数据存储联系的所272.2.节点节点是超文本文档中的住处单元节点节点是超文本文档中的住处单元(LDULDU)A node is an information unit(LDU)in a hypertext.3.指针指针(Pointers)指针是超文本图的边,超文本系统根据边的作用的不同使指针是超文本图的边,超文本系统根据边的作用的不同使用不同的标准进行分类用不同的标准进行分类。Pointers are the edges of a hypertext graph.Hypertext systems are classified according to different criteria with respect to edges.2.节点节点是超文本文档中的住处单元(LDU)284.4.工具工具(Tool)(Tool)超文本系统由几个必需的工具组成。编辑器处理以超文本系统由几个必需的工具组成。编辑器处理以不同的媒体表现的信息,除此之外还要支持指针的产生、不同的媒体表现的信息,除此之外还要支持指针的产生、管理、编辑和删除。管理、编辑和删除。A hypertext system consists of several necessary tools.Editor process information represented in different media.Beside this,the generation,management,editing and deletion of pointers are supported.4.工具(Tool)29捜索工具允许捜索需要的住处当然也必须考虑不同的媒体。捜索工具允许捜索需要的住处当然也必须考虑不同的媒体。Search tools allow the search of desired information.Also,different media need to be considered.浏览器允许简单且清楚地表现节点和边,节点以依赖于媒浏览器允许简单且清楚地表现节点和边,节点以依赖于媒体的方式描述。体的方式描述。Browser allows a shortened but clear representation of the nodes and edges.The nodes are described media-dependently.捜索工具允许捜索需要的住处当然也必须考虑不同的媒体。30 多媒体和超媒体住处编码标准多媒体和超媒体住处编码标准 MHEG 音频、图像、超媒体编码委员会音频、图像、超媒体编码委员会(ISO/IEC/JTC1/SCISO/IEC/JTC1/SC 2929)负责多媒体系统的交换格式的标准化工作。实际的国负责多媒体系统的交换格式的标准化工作。实际的国际准由三个工作组负责制定。在制定过程中,工作组与研际准由三个工作组负责制定。在制定过程中,工作组与研究机构以及工业界进行了广泛的合作。究机构以及工业界进行了广泛的合作。The committee Coding of Audio,Picture,Multimedia and Hypermedia Information(ISO/IEC JTC1/SC29)works on the standardization of the exchange format for multimedia systems.The actual standards are developed at the international level in three working groups cooperating with research and industry.多媒体和超媒体住处编码标准 MHEG31图图13.2413.24表示处理单个媒体的编码和压缩的三个标准表示处理单个媒体的编码和压缩的三个标准.Figure 13.24 shows that the three standards deal with the coding and compression of individual media.图13.24表示处理单个媒体的编码和压缩的三个标准.32超文本和MHEG标准课件33工作组的成果有:工作组的成果有:JPEGJPEG(联合图像专家组)和(联合图像专家组)和MPEGMPEG(活动(活动图像专家组),这两个标准目前已广泛用于多媒体系统领图像专家组),这两个标准目前已广泛用于多媒体系统领域中(见第域中(见第6 6章所述的压缩标准)。章所述的压缩标准)。The results of the working groups:JPEG(the Joint Photographic Expert Group)and MPEG(the Motion Picture Expert Group)are of special importance in the area of multimedia systems(see Chapter 6 on compression.)工作组的成果有:JPEG(联合图像专家组)和MPEG(活动图34 交互多媒体表现的示例交互多媒体表现的示例 Example of an Interactive Multimedia Presentation在给出在给出MHEGMHEG对象的细节描述之前,我们将用一个小场景简对象的细节描述之前,我们将用一个小场景简要说明一个表现的各个元素。图要说明一个表现的各个元素。图13.2513.25给出一个交互多媒给出一个交互多媒体表现的时间图。体表现的时间图。Before a detailed description of the MHEG objects is given,we will briefly examine the individual elements of a presentation using a small scenario.Figure 13.25 presents a time diagram of an interactive multimedia presentation.交互多媒体表现的示例35超文本和MHEG标准课件36表现由某段音乐开始,当音频序列中一出现播音员的声音,表现由某段音乐开始,当音频序列中一出现播音员的声音,一幅图将在屏幕上出现数抄。一幅图将在屏幕上出现数抄。The presentation starts with some music.As soon as the voice of a news-speaker is heard in the audio sequence,a graphic should appear on the screen for a couple of seconds.表现由某段音乐开始,当音频序列中一出现播音员的声音,一幅图将37在图像消失后,观众详细读到一段文字。文字显示结束后,在图像消失后,观众详细读到一段文字。文字显示结束后,一个一个“停止停止”按钮出现在屏幕上。用户可以用该按钮终止按钮出现在屏幕上。用户可以用该按钮终止音频序列。音频序列。After the graphic disappears,the viewer carefully reads a text.After the text presentation ends,a Stop button appears on the screen.With this button the user can abort the audio sequence.在图像消失后,观众详细读到一段文字。文字显示结束后,一个“停38现在,用户用一个显示出来的框输入提示所需的视频序列现在,用户用一个显示出来的框输入提示所需的视频序列的标题。这些视频数据在输入框的个性完成后立即显示出的标题。这些视频数据在输入框的个性完成后立即显示出来。来。Now,using a displayed input field,the user enters the title of a desired video sequence.These video data are displayed immediately after the modification.现在,用户用一个显示出来的框输入提示所需的视频序列的标题。这391.内容内容(Content)(Content)表现由一个信息的序列构成。为表示该信息,要使用表现由一个信息的序列构成。为表示该信息,要使用不同性性的媒体。为了便于以后的重用,应把每个信息不同性性的媒体。为了便于以后的重用,应把每个信息LDULDU作为单独对象录。本例中,表现的内容包括视频序作为单独对象录。本例中,表现的内容包括视频序列音频序列、图像和文本。列音频序列、图像和文本。A presentation consists of a sequence of information representations For the representation of this information,media with very different properties are available.Because of later reuse,it is useful to capture each information LDU as an individual object.The contents in our example are:the video sequence,the audio sequence,the graphics and the text.1.内容(Content)402 2.行为行为(Behavior)行为包含了表示内容的所有信息并定义表现过程。前行为包含了表示内容的所有信息并定义表现过程。前者由者由“开始开始”、“设置音量设置音量”和和“设置位置设置位置”等动作控等动作控制。后者由单独元素间的时序、空间和条件链的定义决制。后者由单独元素间的时序、空间和条件链的定义决定。定。The notion behavior means all information which specifies the representation of the contents as well as defines the run of the presentation.The first part is controlled by the actions start,set volume,set position,etc.The last part is generated by the definition of timely,spatial and conditional links between individual elements.2.行为(Behavior)41如果内容表现的状态变了,这可能导致把某些命令作如果内容表现的状态变了,这可能导致把某些命令作用其他对象上(例如,图像的删除导致文本的显示)。用其他对象上(例如,图像的删除导致文本的显示)。还有一种可能性,表现的行为可以在外部的程序或函还有一种可能性,表现的行为可以在外部的程序或函数(脚本)被调用时决定。数(脚本)被调用时决定。If the state of the content is presentation changes,then this may result in further commands on other objects(e.g.,the deletion of the graphic causes the display of the text).Another possibility,how the behavior of a presentation can be determined,is when external programs or functions(script)are called.如果内容表现的状态变了,这可能导致把某些命令作用其他对象上(423.用户交互用户交互(User Interaction)在上述场景中,动画可由相应的用户交互动作来终在上述场景中,动画可由相应的用户交互动作来终止。可以有两用户交互。第一种是止。可以有两用户交互。第一种是“简单选择简单选择”,它通,它通过一个特定的选择控制表现的流程(例如,按过一个特定的选择控制表现的流程(例如,按“停止停止”按钮)。按钮)。In the discussed scenario,the running animation could be aborted by a corresponding user interaction.There can be two kinds of user interactions.The first one is the simple selection,which controls the run of the presentation through a prespectified choice(e.g.,push the stop button).3.用户交互(User Interaction)43第二种是较复杂的第二种是较复杂的“修改修改”,用户可以在表现的过程中输,用户可以在表现的过程中输入数据(例如,编辑一个数据输入框)。入数据(例如,编辑一个数据输入框)。The second kind is the more complex modification,which gives the user the possibility to enter data during the run of the presentation(e.g.,editing of a data input field)第二种是较复杂的“修改”,用户可以在表现的过程中输入数据(例444.包容体包容体(Container)通过把几种媒体按上述方式合并在一起,就得到了通过把几种媒体按上述方式合并在一起,就得到了一个随时间进行的表现。为能在所涉及的系统中交换该一个随时间进行的表现。为能在所涉及的系统中交换该表现,必须用一个复合元素。该元素类似一个包容体。表现,必须用一个复合元素。该元素类似一个包容体。它把所有元素链接成一个单元。它把所有元素链接成一个单元。Merging together several elements as discussed above,a presentation,which progresses in time,can be achieved.To be able to exchange this presentation between the involved systems,a composite element is necessary.This element is comparable to a container.It links together all the objects into a unit.4.包容体(Container)45对于超文本对于超文本/超媒体文档而言,使用超文本措针,这样超媒体文档而言,使用超文本措针,这样的包容体可以排列成一个复杂结构。的包容体可以排列成一个复杂结构。With respect to hypertext/hypermedia documents,such containers can be ordered to complex structure,if they are linked together through so-called hypertext pointers.对于超文本/超媒体文档而言,使用超文本措针,这样的包容体可以46 内容内容(Contents)1.内容类内容类内容类和其他不同,因为它提供了到实际内容的链按。通内容类和其他不同,因为它提供了到实际内容的链按。通过这个内容类,信息变得更灵活,并在系统中以一种开放过这个内容类,信息变得更灵活,并在系统中以一种开放的方式链接起来。在一个表现中,每个内容对象都表达一的方式链接起来。在一个表现中,每个内容对象都表达一个确切的信息。个确切的信息。The content class differs from the other chasses because it provides the link to the actual contents.Through this content class,this information becomes flexible and is linked together in an open way in the system.Each content object represents exactly one information within a presentation.内容(Contents)472.虚拟坐标系虚拟坐标系 在虚拟坐标空间中,内容对象可相对于坐标进行定义在虚拟坐标空间中,内容对象可相对于坐标进行定义和排序。有三个轴:和排序。有三个轴:X X(宽),(宽),Y Y(高)和(高)和Z Z(深)。坐(深)。坐标值范围为一标值范围为一3276832768到到3276732767。The so-called Generic Space defines a virtual coordination system.Content objects can be defined relative in dimension and ordering to each other.There are three axes:X(width),Y(height)and Z(depth).A value from-32768 to 32767 is assigned to each axis.2.虚拟坐标系48在运行时,虚拟在运行时,虚拟MHEGMHEG坐标要在特定期表现服务(例如,覆坐标要在特定期表现服务(例如,覆盖盖MotifMotif窗口的像素数)中变换成物理坐标。另外还有一窗口的像素数)中变换成物理坐标。另外还有一个带有坐标轴个带有坐标轴T T的时间坐标系。该轴的值域是的时间坐标系。该轴的值域是0 0到无穷的一到无穷的一个间隔,单位是一个微秒。个间隔,单位是一个微秒。During the run-time,a translation from the virtual MHEG coordinates to the physical coordinate system is performed in the particular presentation service(e.g.,the number of pixels which cover a Motif window).Additionally,a time coordinate system exists with its axis T.The defined value set for this axis is an interval from 0 to infinity where the scale unit is a millisecond.在运行时,虚拟MHEG坐标要在特定期表现服务(例如,覆盖Mo493.虚拟视图虚拟视图(Virtual Views)到目前为止,我们假设内容的表现和原始产生出来的相到目前为止,我们假设内容的表现和原始产生出来的相同,实际上同,实际上MHEGMHEG提供一套通过适当参数控制内容表现的提供一套通过适当参数控制内容表现的方法。方法。Until now we assumed that the presentation of the contents occurs exactly as originated,Actually,MHEG provides a set of possibilities which can control a presentation of the content objects through proper parameters.3.虚拟视图(Virtual Views)50例如,动画播放时间、音频序列的音量度的图像的视区都例如,动画播放时间、音频序列的音量度的图像的视区都可以指定。这些参数的制作可以通过编码中的对应命令决可以指定。这些参数的制作可以通过编码中的对应命令决定(参见定(参见ActionAction类)。类)。For example,a movie can be played according to certain time specifications.the volume of an audio sequence can be set or the visual area of a graphic can be specified.The manipulation of these parameters is determined through corresponding commands(see action class)in the coding.例如,动画播放时间、音频序列的音量度的图像的视区都可以指定。51下面的计算机模拟蓝球的例子显示每一个选取手能同时出下面的计算机模拟蓝球的例子显示每一个选取手能同时出现在场上的不同位置。不是把所有可能的表现进行组合并现在场上的不同位置。不是把所有可能的表现进行组合并存为不同的内容对象,而是把参数改变作为一个对象计算存为不同的内容对象,而是把参数改变作为一个对象计算方法进行调用。方法进行调用。The following example of a computer simulated basketball game shows that the same player of each team can occur at different positions of the field at the same time.Instead of storing all possible presentation combinations as separate content objects,the change of the parameter is modeled as a call of an object is method.下面的计算机模拟蓝球的例子显示每一个选取手能同时出现在场上的52在运行时,它们按照实际确定参数值。图在运行时,它们按照实际确定参数值。图13.2713.27给出虚给出虚拟视图的一些例子并解释了复用的可能性。拟视图的一些例子并解释了复用的可能性。During run-time,they fix the parameters according to the representation.Figure 13.27 shows some examples of virtual views and illustrates the reuse possibilities.在运行时,它们按照实际确定参数值。图13.27给出虚拟视图的53图图13.2713.27虚拟视图例子虚拟视图例子(Examples of virtual views)(Examples of virtual views)p1p2p3p4Content ObjectCuttingDimensionPositionFigure 13.27:Examples of virtual views.Figure 13.27:Examples of virtual views.图13.27虚拟视图例子(Examples of virtu54 行为行为(Behavior)(Behavior)1.Action 类类(Action Class)MHEG MHEG 对象的个体行为由对象的个体行为由Action Action 类决定。按面向对象的类决定。按面向对象的术语,术语,Action Action 对象是发给对象是发给MHEG MHEG 对象的消息。目的对象调对象的消息。目的对象调用相应的方法,从而改变对象用相应的方法,从而改变对象ActionAction对象中并未指定目标对象中并未指定目标对象。对象。The behavior of individual MHEG objects is determined with the action class.According to the object-oriented terminology,an action-object is a message which is sent to a MHEG object.By the destination object,a corresponding method is called which performs a change on this object.行为(Behavior)55 状态的状态变换状态的状态变换(States and State Transitions)有些动作会引起有些动作会引起MHEGMHEG对象重要的状态变化。读者应该对象重要的状态变化。读者应该记得前述场景中图像显示结束后显示了一段文字。记得前述场景中图像显示结束后显示了一段文字。Some actions cause state changes on MHEG objects which are very important.The reader should recall the above described scenario where after the ending of the graphics display.状态的状态变换(States and Sta56要指定图像和文字表现的这种关系,在图像的虚拟视要指定图像和文字表现的这种关系,在图像的虚拟视图出现的地方须定义一个状态(图像显示或不显示)。图出现的地方须定义一个状态(图像显示或不显示)。To specify such a relation between the presentation of the graphic and the text,a state needs to be defined where the virtual view of the graphics is captured(graphics is displayed or not displayed).要指定图像和文字表现的这种关系,在图像的虚拟视图出现的地方须572.Link 2.Link 类类(Link Class)(Link Class)LinkLink(链接)类必须完成两个任务。第一,它指(链接)类必须完成两个任务。第一,它指某个行动了送到某个某个行动了送到某个MHEGMHEG对象。第二,指定这一过对象。第二,指定这一过程发生的条件程发生的条件 The link class must fulfill two tasks.First,it specifies which actions are sent to which MHEG objects.second,the conditions are specified under which this process occurs.2.Link 类(Link Class)583.脚本类脚本类(Script Class)(Script Class)决定对象行为和表现流程的另一个因素是脚本类。该类支持在其他运决定对象行为和表现流程的另一个因素是脚本类。该类支持在其他运行环境(例如,行环境(例如,Script/XScript/X)、外部程序(例如,)、外部程序(例如,C C语程序)或函数调语程序)或函数调节器用中进行节器用中进行MHEGMHEG对象的表现。和内容类相似,它支持不同的语言,对象的表现。和内容类相似,它支持不同的语言,语言既可是标准的(语言既可是标准的(MHEGMHEG目录),也可是非标准的(非目录),也可是非标准的(非MHEGMHEG目录)。目录)。Another possibility to determine the behavior of objects or the run of a presentation is the script class.This class was considered to support an MHEG presentation in other run-time environments(e.g.,Script/X),external programs(e.g.
展开阅读全文
相关资源
相关搜索

最新文档


当前位置:首页 > 办公文档 > 教学培训


copyright@ 2023-2025  zhuangpeitu.com 装配图网版权所有   联系电话:18123376007

备案号:ICP2024067431-1 川公网安备51140202000466号


本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知装配图网,我们立即给予删除!