Marti Hearst SIMS 247 SIMS 247 Lecture 16 Pan and Zoom March 12, 1998.

25
Marti Hearst SIMS 247 SIMS 247 Lecture 16 SIMS 247 Lecture 16 Pan and Zoom Pan and Zoom March 12, 1998 March 12, 1998
  • date post

    22-Dec-2015
  • Category

    Documents

  • view

    220
  • download

    3

Transcript of Marti Hearst SIMS 247 SIMS 247 Lecture 16 Pan and Zoom March 12, 1998.

Marti HearstSIMS 247

SIMS 247 Lecture 16SIMS 247 Lecture 16Pan and ZoomPan and Zoom

March 12, 1998March 12, 1998

Marti HearstSIMS 247

TodayToday

• Panning and ZoomingPanning and Zooming– Space-Scale Diagrams

– Semantic Zoom

– How useful it is?

• Discuss PadDrawDiscuss PadDraw

• Discuss Midterm ProjectDiscuss Midterm Project

Marti HearstSIMS 247

Pan and ZoomPan and Zoom

How to show a lot of information in a How to show a lot of information in a small space?small space?– Distortion-based techniques

• Keep a steady overview, make some objects larger while simultaneously shrinking others

– Alternative: Multiple Levels of Resolution• The view changes depending on the

“distance” from the viewer to the objects

Marti HearstSIMS 247

Pad++Pad++

• An infinite 2D planeAn infinite 2D plane• Can get infinitely close to the surface tooCan get infinitely close to the surface too• Navigate by panning and zoomingNavigate by panning and zooming• Pan: Pan:

– move around on the plane

• Zoom:Zoom:– move closer to and farther from the plane

Marti HearstSIMS 247

Revisit Assignment 2Revisit Assignment 2

• Why wasn’t using the scrollbars in Why wasn’t using the scrollbars in Spotfile an example of zooming?Spotfile an example of zooming?– More like a filter– Only changed one axis at a time– Both x and y should change together– Real zoom was built in (right mouse)

Marti HearstSIMS 247

Space-Scale DiagramsSpace-Scale Diagrams(Furnas & Bederson 95)(Furnas & Bederson 95)

• Original figure, shown at various scalesOriginal figure, shown at various scales• Horizontal axis is standard, vertical is Horizontal axis is standard, vertical is

scalescale

Marti HearstSIMS 247

Space-Scale DiagramsSpace-Scale Diagrams(Furnas & Bederson 95)(Furnas & Bederson 95)

• User has a fixed-sized viewing windowUser has a fixed-sized viewing window• Moving it through 3D space yields all Moving it through 3D space yields all

possible sequences of pan & zoompossible sequences of pan & zoom

Marti HearstSIMS 247

Space-Scale DiagramsSpace-Scale Diagrams(Furnas & Bederson 95)(Furnas & Bederson 95)

• A point is transformed to a rayA point is transformed to a ray• Circular regions become conesCircular regions become cones

Marti HearstSIMS 247

Space-Scale DiagramsSpace-Scale Diagrams(Furnas & Bederson 95)(Furnas & Bederson 95)

• If you move the origin of the 2D plane, the If you move the origin of the 2D plane, the properties of the original 2D picture do not properties of the original 2D picture do not changechange

• Therefore, the absolute angles between the Therefore, the absolute angles between the rays should not be assigned any meaningrays should not be assigned any meaning

Marti HearstSIMS 247

Space-Scale DiagramsSpace-Scale Diagrams(Furnas & Bederson 95)(Furnas & Bederson 95)

• We can think of this in terms of 1D tooWe can think of this in terms of 1D too• When zoomed out, you can see wider When zoomed out, you can see wider

set of pointsset of points

Marti HearstSIMS 247

Space-Scale DiagramsSpace-Scale Diagrams(Furnas & Bederson 95)(Furnas & Bederson 95)

• Pure pan (a)Pure pan (a)• Pure zoom (b)Pure zoom (b)• Pan and zoom keeping q in same Pan and zoom keeping q in same

position in the viewing window (c) position in the viewing window (c)

Marti HearstSIMS 247

How to Pan While Zooming?How to Pan While Zooming?

Marti HearstSIMS 247

How to Pan While Zooming?How to Pan While Zooming?

Marti HearstSIMS 247

Space-Scale DiagramsSpace-Scale Diagrams(Furnas & Bederson 95)(Furnas & Bederson 95)

What about panning and zooming at What about panning and zooming at the same time?the same time?– Panning is linear– Zooming is logarithmic– The two effects interact

• If you compute the two separately and run them in parallel you get problems

• When zooming in, things go exponentially fast• Panning can’t keep up

– The target “runs away” out of view

Marti HearstSIMS 247

Space-Scale DiagramsSpace-Scale Diagrams(Furnas & Bederson 95)(Furnas & Bederson 95)

• Solution: space-scale diagramSolution: space-scale diagram• Goal: go from (x1,z1) to (x2,z2)Goal: go from (x1,z1) to (x2,z2)• Must stay within the parallelogramMust stay within the parallelogram

if you go out onthis side, thetarget x2is further fromx1 than when you began

if you go out onthis side, you overshot the target

if you go out onthe top, you zoomed past x2

if you go out onthe bottom, you backed up from x1

Marti HearstSIMS 247

Navigation in Pad++Navigation in Pad++

• How to keep from getting lost?How to keep from getting lost?– Animate the traversal from one object

to another using “hyperlinks”• If the target is more than one screen

away, zoom out, pan over, and zoom back in

– Goal: help user maintain context

Marti HearstSIMS 247

Space-Scale DiagramsSpace-Scale Diagrams(Furnas & Bederson 95)(Furnas & Bederson 95)

• Zooming covers more ground faster than Zooming covers more ground faster than panningpanning– zooming is logarithmic, panning is linear

• Alternative way to navigate:Alternative way to navigate:– Instead of a long pan– Do a big zoom, a short pan, a big zoom– (count the number of arrows each way)

Marti HearstSIMS 247

Space-Scale DiagramsSpace-Scale Diagrams(Furnas & Bederson 95)(Furnas & Bederson 95)

• Combining space-scale zooming Combining space-scale zooming and distortion-based techniquesand distortion-based techniques– Instead of a horizontal slice through scale-

space, take a step up and a step down– The points in the middle have more room;

those on the periphery are squished together

Marti HearstSIMS 247

Space-Scale DiagramsSpace-Scale Diagrams(Furnas & Bederson 95)(Furnas & Bederson 95)

• Combining space-scale zooming Combining space-scale zooming and distortion-based techniquesand distortion-based techniques

• The original fisheye view:The original fisheye view:

Marti HearstSIMS 247

Space-Scale DiagramsSpace-Scale Diagrams(Furnas & Bederson 95)(Furnas & Bederson 95)

• Implementing semantic zoomingImplementing semantic zooming

standardgeometriczooming(a grey line)

semantic zoom:too far, see nothingzoom in, see dashed lineget closer, see solid lineget too close, see nothing

Marti HearstSIMS 247

Semantic ZoomingSemantic Zooming

• Geometric (standard) zooming:Geometric (standard) zooming:– The view depends on the physical

properties of what is being viewed

• Semantic Zooming:Semantic Zooming:– When zooming away, instead of seeing

a scaled-down version of an object, see a different representation

– The representation shown depends on the meaning to be imparted.

Marti HearstSIMS 247

Examples of Semantic ZoomExamples of Semantic Zoom

• Infinitely scalable painting programInfinitely scalable painting program– close in, see flecks of paint– farther away, see paint strokes– farther still, see the wholistic

impression of the painting– farther still, see the artist sitting at

the easel

Marti HearstSIMS 247

Examples of Semantic ZoomExamples of Semantic Zoom

• Information MapsInformation Maps– zoom into restaurant

• see the interior• see what is served there

– maybe zoom based on price instead!• see expensive restaurants first• keep zooming till you get to your price range

• Browsing an information serviceBrowsing an information service– Charge user successively higher rates for

successively more detailed information

Marti HearstSIMS 247

The Role of PortalsThe Role of Portals• All this panning and zooming can get All this panning and zooming can get

confusing (maybe even dizzying)confusing (maybe even dizzying)• Portals allow for zooming a small piece of Portals allow for zooming a small piece of

the dataset while keeping everything else the dataset while keeping everything else in the same positionin the same position– Pad++ is one big stretchy sheet– A portal is more like a special window into a

piece of the sheet – That window behaves independently of the

rest

Marti HearstSIMS 247

Panning and ZoomingPanning and Zooming

• Is it actually useful?Is it actually useful?– Is it better to show multiple

simultaneous views?– Is it better to use distortion

techniques?

• Would keeping a separate global Would keeping a separate global overview help with navigation?overview help with navigation?