SlideShare a Scribd company logo
S.RAJAPRIYA
Assistant Professor of IT
rajapriya@vvvcollege.org
 Graphics programs use several kinds of input
data.
 Picture specification need values for
Coordinate positions
Character string parameters
Scalar values for transformation
Menu options
Identification of picture parts
 There are six logical device classification used
by PHIGS and GKS.
LOCATOR devices
STROKE devices
STRING devices
VALUATOR devices
CHOICE devices
PICK devices
 A device for specifying a coordinate
position(x,y)
 Positioning the screen cursor at some
location in a displayed scene
 Example of physical device: mouse, trackball,
space-ball, thumbwheels,dials etc.,
 Keyboards can be used for locator input in
several device.
 Light pens have also been used.
 To input a sequence of coordinate positions
 Physical device for generating locator input
 Translate continuous movement of cursor
positioning device, such as mouse, into a
series of input coordinate values
 The graphics tablet is one of the more
common stroke device.
 Button activation can be used to place the
tablet in continuous mode
 Primary physical device used for string input
– keyboard.
 Used for picture or graph labelling in
computer-graphics applications
 To set the scalar value for geometric
transformations, viewing parameters and
illumination parameters
 Also used for setting physical parameter such as
temperature, voltage levels, stress factors,etc.,
 Example of physical device:
a panel of control dials, joystick, tablet
 Other technique for providing valuator input:
Display the graphical representation of
sliders, buttons, rotating scales and menu on the
video monitor
 Menus, typically used in graphics programs to select
processing options, parameterValues and object shape
 Cursor positioning device are commonly choice device for
a selecting menu
 Determine a menu item is selected by the cursor position
(x,y) :
•For a menu item with vertical and horizontal boundaries
(xmin,xmax,ymin,ymax)
•If the cursor position satisfy the condition
xmin<=x<=xmax ymin<=y<=ymax
•The menu is selected with the cursor position
• The other choice devices are keyboard an voice entry.
 To select a part of a scene that is to be
transformed or edited in some way
 Picking can be performed by positioning the
screen cursor and pressing a button or key to
record the pixel coordinates
 Example of physical device: mouse, joystick,
keyboard
 Other pick methods include highlighting
schemes, selecting object by name or a
combination of methods
 Coordinate-extent tests do not uniquely identify a pick
object
 Approach 1:Compute the distances from the pick position to
individual line segments
 Calculate the perpendicular distance squared from a pick
position to the line position to the line
 For a line segment with endpoints (x1, y1) , (x2, y2),the
perpendicular distance squared from a pick position (x, y) is
 Approach 2:
 Associate a pick window with a selected cursor position–the
pick window is centered on the cursor position
 Example: A pick window with center (x,y), width w and
height h
Highlighting
 other method used to facilitate picking
 other method used to facilitate picking successively highlight
those objects whose coordinate extent overlap a pick
position (or pick window)
 user could issue accept or reject action after the object is
highlighted

More Related Content

What's hot

Computer graphics basic transformation
Computer graphics basic transformationComputer graphics basic transformation
Computer graphics basic transformation
Selvakumar Gna
 
Character attributes
Character attributesCharacter attributes
Character attributes
shalinikarunakaran1
 
Hidden surface removal
Hidden surface removalHidden surface removal
Hidden surface removal
Punyajoy Saha
 
Intro to scan conversion
Intro to scan conversionIntro to scan conversion
Intro to scan conversionMohd Arif
 
Computer graphics chapter 4
Computer graphics chapter 4Computer graphics chapter 4
Computer graphics chapter 4
PrathimaBaliga
 
3D Transformation
3D Transformation3D Transformation
3D Transformation
SwatiHans10
 
Window to viewport transformation
Window to viewport transformationWindow to viewport transformation
Window to viewport transformation
Ankit Garg
 
Visible surface detection in computer graphic
Visible surface detection in computer graphicVisible surface detection in computer graphic
Visible surface detection in computer graphicanku2266
 
Character Attribute in computer graphics
Character Attribute in computer graphicsCharacter Attribute in computer graphics
Character Attribute in computer graphics
HariTharshiniBscIT1
 
UNIT-IV
UNIT-IVUNIT-IV
Polygon clipping
Polygon clippingPolygon clipping
Polygon clippingMohd Arif
 
Cohen sutherland line clipping
Cohen sutherland line clippingCohen sutherland line clipping
Cohen sutherland line clipping
Mani Kanth
 
Overview of the graphics system
Overview of the graphics systemOverview of the graphics system
Overview of the graphics system
Kamal Acharya
 
Video display devices
Video display devicesVideo display devices
Video display devices
shalinikarunakaran1
 
Raster scan system & random scan system
Raster scan system & random scan systemRaster scan system & random scan system
Raster scan system & random scan system
shalinikarunakaran1
 
Hidden surface removal algorithm
Hidden surface removal algorithmHidden surface removal algorithm
Hidden surface removal algorithm
KKARUNKARTHIK
 
Window to viewport transformation&amp;matrix representation of homogeneous co...
Window to viewport transformation&amp;matrix representation of homogeneous co...Window to viewport transformation&amp;matrix representation of homogeneous co...
Window to viewport transformation&amp;matrix representation of homogeneous co...
Mani Kanth
 
3D transformation in computer graphics
3D transformation in computer graphics3D transformation in computer graphics
3D transformation in computer graphics
SHIVANI SONI
 
Composite transformations
Composite transformationsComposite transformations
Composite transformationsMohd Arif
 
Mid point circle algorithm
Mid point circle algorithmMid point circle algorithm
Mid point circle algorithm
Mani Kanth
 

What's hot (20)

Computer graphics basic transformation
Computer graphics basic transformationComputer graphics basic transformation
Computer graphics basic transformation
 
Character attributes
Character attributesCharacter attributes
Character attributes
 
Hidden surface removal
Hidden surface removalHidden surface removal
Hidden surface removal
 
Intro to scan conversion
Intro to scan conversionIntro to scan conversion
Intro to scan conversion
 
Computer graphics chapter 4
Computer graphics chapter 4Computer graphics chapter 4
Computer graphics chapter 4
 
3D Transformation
3D Transformation3D Transformation
3D Transformation
 
Window to viewport transformation
Window to viewport transformationWindow to viewport transformation
Window to viewport transformation
 
Visible surface detection in computer graphic
Visible surface detection in computer graphicVisible surface detection in computer graphic
Visible surface detection in computer graphic
 
Character Attribute in computer graphics
Character Attribute in computer graphicsCharacter Attribute in computer graphics
Character Attribute in computer graphics
 
UNIT-IV
UNIT-IVUNIT-IV
UNIT-IV
 
Polygon clipping
Polygon clippingPolygon clipping
Polygon clipping
 
Cohen sutherland line clipping
Cohen sutherland line clippingCohen sutherland line clipping
Cohen sutherland line clipping
 
Overview of the graphics system
Overview of the graphics systemOverview of the graphics system
Overview of the graphics system
 
Video display devices
Video display devicesVideo display devices
Video display devices
 
Raster scan system & random scan system
Raster scan system & random scan systemRaster scan system & random scan system
Raster scan system & random scan system
 
Hidden surface removal algorithm
Hidden surface removal algorithmHidden surface removal algorithm
Hidden surface removal algorithm
 
Window to viewport transformation&amp;matrix representation of homogeneous co...
Window to viewport transformation&amp;matrix representation of homogeneous co...Window to viewport transformation&amp;matrix representation of homogeneous co...
Window to viewport transformation&amp;matrix representation of homogeneous co...
 
3D transformation in computer graphics
3D transformation in computer graphics3D transformation in computer graphics
3D transformation in computer graphics
 
Composite transformations
Composite transformationsComposite transformations
Composite transformations
 
Mid point circle algorithm
Mid point circle algorithmMid point circle algorithm
Mid point circle algorithm
 

Similar to Input of graphical data

Input devices
Input devicesInput devices
Input devices
Input devicesInput devices
Input devices
Rajanivetha G
 
Input devices
Input devicesInput devices
Input devices
RajThakuri
 
hardware.pptx
hardware.pptxhardware.pptx
hardware.pptx
PinkiNayak1
 
Graphics inputdevices
Graphics inputdevicesGraphics inputdevices
Graphics inputdevices
BCET
 
ToolStone: Effective Use of The Physical Manipulation Vocabularies of Input D...
ToolStone: Effective Use of The Physical Manipulation Vocabularies of Input D...ToolStone: Effective Use of The Physical Manipulation Vocabularies of Input D...
ToolStone: Effective Use of The Physical Manipulation Vocabularies of Input D...Jun Rekimoto
 
CSE868 - Week 07 - Interaction Devices (1).pdf
CSE868 - Week 07 - Interaction Devices (1).pdfCSE868 - Week 07 - Interaction Devices (1).pdf
CSE868 - Week 07 - Interaction Devices (1).pdf
sofiamuhammad2
 
UNIT 1 Computer Aided Design.pptx
UNIT 1 Computer Aided Design.pptxUNIT 1 Computer Aided Design.pptx
UNIT 1 Computer Aided Design.pptx
Aditya Dhobale
 
graphics hardware input devices
graphics hardware input devicesgraphics hardware input devices
graphics hardware input devices
Tabeer12
 
Input Devices
Input DevicesInput Devices
Input Devices
AmitSrivastava464
 
Assignment on Input and output devices
Assignment on Input and output devicesAssignment on Input and output devices
Assignment on Input and output devices
Mahmudur Rahman Shojib
 
Interaction,input devices
Interaction,input devicesInteraction,input devices
Interaction,input devices
ADITYASNIRGUND
 
Presentation(Input,output,stoarage)
Presentation(Input,output,stoarage)Presentation(Input,output,stoarage)
Presentation(Input,output,stoarage)
Maribel subteniente
 
B.c.a dept ppt
B.c.a dept pptB.c.a dept ppt
B.c.a dept ppt
Amit847522
 
Input Devices .docx
Input Devices                      .docxInput Devices                      .docx
Input Devices .docx
Kamran Abdullah
 
RCB_16T3_AB2_ID063_AADIL
RCB_16T3_AB2_ID063_AADILRCB_16T3_AB2_ID063_AADIL
RCB_16T3_AB2_ID063_AADILAadil Sukry
 
Scmad Chapter06
Scmad Chapter06Scmad Chapter06
Scmad Chapter06
Marcel Caraciolo
 
computer Graphics
computer Graphics computer Graphics
computer Graphics
Rozi khan
 
Input output devices
Input output devicesInput output devices
Input output devices
Vijay Kumar
 

Similar to Input of graphical data (20)

Input devices
Input devicesInput devices
Input devices
 
Input devices
Input devicesInput devices
Input devices
 
Input devices
Input devicesInput devices
Input devices
 
Input devices
Input devicesInput devices
Input devices
 
hardware.pptx
hardware.pptxhardware.pptx
hardware.pptx
 
Graphics inputdevices
Graphics inputdevicesGraphics inputdevices
Graphics inputdevices
 
ToolStone: Effective Use of The Physical Manipulation Vocabularies of Input D...
ToolStone: Effective Use of The Physical Manipulation Vocabularies of Input D...ToolStone: Effective Use of The Physical Manipulation Vocabularies of Input D...
ToolStone: Effective Use of The Physical Manipulation Vocabularies of Input D...
 
CSE868 - Week 07 - Interaction Devices (1).pdf
CSE868 - Week 07 - Interaction Devices (1).pdfCSE868 - Week 07 - Interaction Devices (1).pdf
CSE868 - Week 07 - Interaction Devices (1).pdf
 
UNIT 1 Computer Aided Design.pptx
UNIT 1 Computer Aided Design.pptxUNIT 1 Computer Aided Design.pptx
UNIT 1 Computer Aided Design.pptx
 
graphics hardware input devices
graphics hardware input devicesgraphics hardware input devices
graphics hardware input devices
 
Input Devices
Input DevicesInput Devices
Input Devices
 
Assignment on Input and output devices
Assignment on Input and output devicesAssignment on Input and output devices
Assignment on Input and output devices
 
Interaction,input devices
Interaction,input devicesInteraction,input devices
Interaction,input devices
 
Presentation(Input,output,stoarage)
Presentation(Input,output,stoarage)Presentation(Input,output,stoarage)
Presentation(Input,output,stoarage)
 
B.c.a dept ppt
B.c.a dept pptB.c.a dept ppt
B.c.a dept ppt
 
Input Devices .docx
Input Devices                      .docxInput Devices                      .docx
Input Devices .docx
 
RCB_16T3_AB2_ID063_AADIL
RCB_16T3_AB2_ID063_AADILRCB_16T3_AB2_ID063_AADIL
RCB_16T3_AB2_ID063_AADIL
 
Scmad Chapter06
Scmad Chapter06Scmad Chapter06
Scmad Chapter06
 
computer Graphics
computer Graphics computer Graphics
computer Graphics
 
Input output devices
Input output devicesInput output devices
Input output devices
 

More from Rajapriya82

Applications of IoTs in Home,City,Health
Applications of IoTs in Home,City,HealthApplications of IoTs in Home,City,Health
Applications of IoTs in Home,City,Health
Rajapriya82
 
MD5 ALGORITHM.pptx
MD5 ALGORITHM.pptxMD5 ALGORITHM.pptx
MD5 ALGORITHM.pptx
Rajapriya82
 
contiguous memory allocation.pptx
contiguous memory allocation.pptxcontiguous memory allocation.pptx
contiguous memory allocation.pptx
Rajapriya82
 
SHA 1 Algorithm.ppt
SHA 1 Algorithm.pptSHA 1 Algorithm.ppt
SHA 1 Algorithm.ppt
Rajapriya82
 
File System Implementation.pptx
File System Implementation.pptxFile System Implementation.pptx
File System Implementation.pptx
Rajapriya82
 
Consensus Algorithms.pptx
Consensus Algorithms.pptxConsensus Algorithms.pptx
Consensus Algorithms.pptx
Rajapriya82
 
Security services and mechanisms
Security services and mechanismsSecurity services and mechanisms
Security services and mechanisms
Rajapriya82
 
Wireless transmission
Wireless transmissionWireless transmission
Wireless transmission
Rajapriya82
 
Guided Transmission Media
Guided  Transmission MediaGuided  Transmission Media
Guided Transmission Media
Rajapriya82
 
Clipping
ClippingClipping
Clipping
Rajapriya82
 
Heaptree
HeaptreeHeaptree
Heaptree
Rajapriya82
 
Deadlock
DeadlockDeadlock
Deadlock
Rajapriya82
 
Deadlock
DeadlockDeadlock
Deadlock
Rajapriya82
 

More from Rajapriya82 (13)

Applications of IoTs in Home,City,Health
Applications of IoTs in Home,City,HealthApplications of IoTs in Home,City,Health
Applications of IoTs in Home,City,Health
 
MD5 ALGORITHM.pptx
MD5 ALGORITHM.pptxMD5 ALGORITHM.pptx
MD5 ALGORITHM.pptx
 
contiguous memory allocation.pptx
contiguous memory allocation.pptxcontiguous memory allocation.pptx
contiguous memory allocation.pptx
 
SHA 1 Algorithm.ppt
SHA 1 Algorithm.pptSHA 1 Algorithm.ppt
SHA 1 Algorithm.ppt
 
File System Implementation.pptx
File System Implementation.pptxFile System Implementation.pptx
File System Implementation.pptx
 
Consensus Algorithms.pptx
Consensus Algorithms.pptxConsensus Algorithms.pptx
Consensus Algorithms.pptx
 
Security services and mechanisms
Security services and mechanismsSecurity services and mechanisms
Security services and mechanisms
 
Wireless transmission
Wireless transmissionWireless transmission
Wireless transmission
 
Guided Transmission Media
Guided  Transmission MediaGuided  Transmission Media
Guided Transmission Media
 
Clipping
ClippingClipping
Clipping
 
Heaptree
HeaptreeHeaptree
Heaptree
 
Deadlock
DeadlockDeadlock
Deadlock
 
Deadlock
DeadlockDeadlock
Deadlock
 

Recently uploaded

PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
PedroFerreira53928
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
Vivekanand Anglo Vedic Academy
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
Nguyen Thanh Tu Collection
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
Celine George
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
PedroFerreira53928
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
bennyroshan06
 
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
AzmatAli747758
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
EduSkills OECD
 

Recently uploaded (20)

PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
 
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
 

Input of graphical data

  • 1. S.RAJAPRIYA Assistant Professor of IT rajapriya@vvvcollege.org
  • 2.  Graphics programs use several kinds of input data.  Picture specification need values for Coordinate positions Character string parameters Scalar values for transformation Menu options Identification of picture parts
  • 3.  There are six logical device classification used by PHIGS and GKS. LOCATOR devices STROKE devices STRING devices VALUATOR devices CHOICE devices PICK devices
  • 4.  A device for specifying a coordinate position(x,y)  Positioning the screen cursor at some location in a displayed scene  Example of physical device: mouse, trackball, space-ball, thumbwheels,dials etc.,  Keyboards can be used for locator input in several device.  Light pens have also been used.
  • 5.  To input a sequence of coordinate positions  Physical device for generating locator input  Translate continuous movement of cursor positioning device, such as mouse, into a series of input coordinate values  The graphics tablet is one of the more common stroke device.  Button activation can be used to place the tablet in continuous mode
  • 6.  Primary physical device used for string input – keyboard.  Used for picture or graph labelling in computer-graphics applications
  • 7.  To set the scalar value for geometric transformations, viewing parameters and illumination parameters  Also used for setting physical parameter such as temperature, voltage levels, stress factors,etc.,  Example of physical device: a panel of control dials, joystick, tablet  Other technique for providing valuator input: Display the graphical representation of sliders, buttons, rotating scales and menu on the video monitor
  • 8.  Menus, typically used in graphics programs to select processing options, parameterValues and object shape  Cursor positioning device are commonly choice device for a selecting menu  Determine a menu item is selected by the cursor position (x,y) : •For a menu item with vertical and horizontal boundaries (xmin,xmax,ymin,ymax) •If the cursor position satisfy the condition xmin<=x<=xmax ymin<=y<=ymax •The menu is selected with the cursor position • The other choice devices are keyboard an voice entry.
  • 9.  To select a part of a scene that is to be transformed or edited in some way  Picking can be performed by positioning the screen cursor and pressing a button or key to record the pixel coordinates  Example of physical device: mouse, joystick, keyboard  Other pick methods include highlighting schemes, selecting object by name or a combination of methods
  • 10.  Coordinate-extent tests do not uniquely identify a pick object  Approach 1:Compute the distances from the pick position to individual line segments  Calculate the perpendicular distance squared from a pick position to the line position to the line  For a line segment with endpoints (x1, y1) , (x2, y2),the perpendicular distance squared from a pick position (x, y) is
  • 11.  Approach 2:  Associate a pick window with a selected cursor position–the pick window is centered on the cursor position  Example: A pick window with center (x,y), width w and height h Highlighting  other method used to facilitate picking  other method used to facilitate picking successively highlight those objects whose coordinate extent overlap a pick position (or pick window)  user could issue accept or reject action after the object is highlighted