CoreViewDoc.tioga
Written by Giordano Bruno Beretta, January 24, 1987 2:40:43 pm PST
gbb, February 4, 1987 4:51:30 pm PST
COREVIEW
CEDAR 6.1 — FOR INTERNAL XEROX USE ONLY
CoreView
A Visualization Package for Viewing Core Data
Giordano Beretta
© Copyright 1987 Xerox Corporation. All rights reserved.
Abstract: CoreView visualizes the geometry in a Core data structure. Two options are available. With the first option a Core cell is recursively traversed and its geometry is painted into a viewer. The same non-linear RGB model as in Nectarine is used, hence the Cedar color map should be used. The second option simply creates an empty viewer, into which rectangles can be added incrementally. Viewers created with the second option are monochrome, every rectangle is labelled. This second option is intended for debugging packages based on Core.
Created by: Giordano Beretta
Keywords: Core, Debugging, Design Automation Tools, Extraction, Illustration, Layout Visualization, Technology Independence, Viewers
XEROX  Xerox Corporation
   Palo Alto Research Center
   3333 Coyote Hill Road
   Palo Alto, California 94304

For Internal Xerox Use Only
Displaying Layout
CoreView implements two private viewer classes with flavours CoreView and LabelledCoreView.
For normal usage, call the procedure GeometryView specifying the Core cell whose geometry you want to visualize. CoreView recursively traverses the Core data structure and creates a tesselation. This tesselation is colored using the same non-linear RGB colour model as in Nectarine, thus allowing users to retain the Cedar color map. Eventually, the tesselation is painted into the viewer.
The viewer can be destroyed by calling DestroyView (or by double-clicking the Destroy menu button).
For debugging, an incremental class is provided. Calling StartIncrementalView one obtains an empty iconic viewer. Rectangles can be added to the viewer incrementally by calling AddRectangle. This procedure accepts as a parameter a reference, which is painted as a label in the monochrome rectangle. As a convenience, CoreView exports a variable debugViewer, which allows a viewer managed in one package to be updated in another package.
User Interface
Vertical resp. horizontal scroll bar:
— Left button: scroll up resp. right
— Right button: scroll down resp. left
— Middle button: thumb
— Middle button & SHIFT: scale down resp. up
— Middle button & CRTL: reset (show whole cell)
— Abort: stop painting