File: SVToolObject.mesa
Created: July 2, 1984 1:03:38 pm PDT
Copyright © 1984 by Xerox Corporation. All rights reserved.
Last edited by: Eric Bier on August 6, 1984 1:52:46 pm PDT
Contents: Defines the master object class "tool". A tool draws itself as from 1 to 3 orthogonal rectangles (even for ray tracing). Any assembly can be made into a tool temporarily, and can draw itself in wireframe normally but ray trace as a tool to allow easy pointing to important object planes.
DIRECTORY
Rope,
SVSceneTypes;
SVToolObject: CEDAR DEFINITIONS =
BEGIN
Slice: TYPE = SVSceneTypes.Slice;
MasterObject: TYPE = SVSceneTypes.MasterObject;
ToolData: TYPE = SVSceneTypes.ToolData;
ToolMakeMasterObject: PROC [name: Rope.ROPE, toolData: ToolData] RETURNS [mo: MasterObject];
SizeToFit: PROC [toolData: ToolData, assembly: Slice];
JackMakeMasterObject: PROC [name: Rope.ROPE] RETURNS [mo: MasterObject];
END.