Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 References  














Abstract graphical data type







Add links
 









Article
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Cite this page
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 


Anabstract graphical data type (AGDT) is an extension of an abstract data type for computer graphics. AGDTs provide the advantages of the ADTs with facilities to build graphical objects in a structured way. Formally, an AGDT may be defined as a "class of graphical objects whose logical behavior is defined by a set of graphical characteristics and a set of graphical operations".

AGDTs were introduced in 1979 by Nadia Magnenat Thalmann and Daniel Thalmann.[1]

The most important tool in this graphical extension is the 3-D graphical type—the figure type. The syntax is described in Figure 2. The word "figure" is a keyword. The formal parameter section, the declaration, and the body are similar to the corresponding elements in a procedure.

To define a figure type, one must

  1. find the characteristics of the figure, which become the parameters;
  2. find the algorithm that allows the user to build the figure with the help of the parameters.

To build the figures, typical graphical statements should be used like: moveabs, moverel, lineabs, and linerel to draw vectors, and include to define an existing figure as part of a new one.

For example, a pyramid with four vertices can be defined as

type PYRAMID = figure (A, B, C, D: VECTOR);
begin
moveabs A; lineabs B, C, A, D, C;
moveabs B; lineabs D
end;

Atree can be defined by 3-D graphical types as

type TREE = figure (var BRANCHES: TEXT; NBRANCHES: INTEGER;
POSITION: VECTOR; HEIGHT, LENGTH:REAL);

where BRANCHES is a file of kinds of branches, NBRANCHES is the number of branches, POSITION is the position of the trunk, HEIGHT is the height of the trunk, and LENGTH is the length of the branches.

A forest of trees can be defined as

var FOREST: array [1..NBTREES] of TREE

Abstract graphical types have been implemented as an extension of the PASCAL programming language called MIRA-3D.[2]

References[edit]

  1. ^ N. Magnenat Thalmann, D. Thalmann, Design and Implementation of Abstract Graphical Data Types, Proc. 3rd International Computer Software and Applications Conference (COMPSAC'79), IEEE, Chicago, USA, 1979, pp.519-524
  • ^ N. Magnenat-Thalmann, D. Thalmann, MIRA-3D: A Three-dimensional Graphical Extension of PASCAL, Software-Practice and Experience, Vol.13, 1983, pp.797-808

  • Retrieved from "https://en.wikipedia.org/w/index.php?title=Abstract_graphical_data_type&oldid=746916741"

    Category: 
    Data types
    Hidden categories: 
    Articles with topics of unclear notability from August 2015
    All articles with topics of unclear notability
     



    This page was last edited on 30 October 2016, at 09:50 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki