File: SVParseOut.mesa
Last edited by Bier on July 16, 1987 2:54:19 pm PDT
Copyright © 1984 by Xerox Corporation. All rights reserved.
Contents: Useful functions for creating text files to describe 3d objects and scenes. (used by Fileout3dImpl, BasicObject3dImpl and intended for use by programs which define other master objects to implement their FileoutProc [see DisplayList3d]).
DIRECTORY
Imager, IO, Rope, SV2d, SV3d, SVModelTypes, SVSceneTypes;
SVParseOut: CEDAR DEFINITIONS =
BEGIN
Artwork: TYPE = SVModelTypes.Artwork;
Color: TYPE = Imager.Color;
DrawStyle: TYPE = SVModelTypes.DrawStyle;
FileCamera: TYPE = SVSceneTypes.FileCamera;
FrameBox: TYPE = SVModelTypes.FrameBox;
Material: TYPE = SVModelTypes.Material;
Matrix3by3: TYPE = SV2d.Matrix3by3;
Matrix4by4: TYPE = SV3d.Matrix4by4;
OMap: TYPE = SVModelTypes.OMap;
Plane: TYPE = SV3d.Plane;
Point2d: TYPE = SV2d.Point2d;
Point3d: TYPE = SV3d.Point3d;
SMap: TYPE = SVModelTypes.SMap;
Slice: TYPE = SVSceneTypes.Slice;
FileoutMatrix: PROC [f: IO.STREAM, mat: Matrix4by4];
FileoutMatrix3by3: PROC [f: IO.STREAM, mat: Matrix3by3];
FileoutPoint2d: PROC [f: IO.STREAM, point2d: Point2d];
FileoutPoint3d: PROC [f: IO.STREAM, point3d: Point3d];
FileoutPoint3dAsPoint2d: PROC [f: IO.STREAM, point3d: Point3d];
FileoutPlane: PROC [f: IO.STREAM, plane: Plane];
FileoutColor: PROC [f: IO.STREAM, color: Color];
FileoutSurface: PROC [f: IO.STREAM, surface: REF ANY];
FileoutMaterial: PROC [f: IO.STREAM, material: Material];
FileoutSMap: PROC [f: IO.STREAM, sMap: SMap];
FileoutOMap: PROC [f: IO.STREAM, oMap: OMap];
FileoutCamera: PROC [f: IO.STREAM, fileCamera: FileCamera];
FileoutFrame: PROC [f: IO.STREAM, frame: FrameBox];
FileoutClippingPlanes: PROC [f: IO.STREAM, clippingPlanes: LIST OF Plane];
FileoutVisibleAssemblies: PROC [f: IO.STREAM, assemblyList: LIST OF Slice];
FileoutStyle: PROC [f: IO.STREAM, style: DrawStyle];
WriteArtwork: PROC [f: IO.STREAM, artwork: Artwork];
FileoutListOfRope: PROC [f: IO.STREAM, ropeList: LIST OF Rope.ROPE];
END.