File: TFO3d.mesa (Text Fileout)
Last edited by Bier on July 30, 1984 0:45:37 am 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
GraphicsColor,
IO,
Rope,
SV2d,
SV3d,
SVModelTypes,
SVSceneTypes;
TFO3d: DEFINITIONS =
BEGIN
Assembly: TYPE = SVSceneTypes.Assembly;
Color: TYPE = GraphicsColor.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;
FileoutBOOL: PROC [f: IO.STREAM, bool: BOOL];
FileoutMatrix: PROC [f: IO.STREAM, mat: Matrix4by4];
FileoutMatrix3by3: PROC [f: IO.STREAM, mat: Matrix3by3];
FileoutPoint3d: PROC [f: IO.STREAM, point3d: Point3d];
FileoutPoint3dAsPoint2d: PROC [f: IO.STREAM, point3d: Point3d];
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];
FileoutClippingPlanes: PROC [f: IO.STREAM, clippingPlanes: LIST OF Plane];
FileoutPlane: PROC [f: IO.STREAM, plane: Plane];
FileoutStyle: PROC [f: IO.STREAM, style: DrawStyle];
FileoutFrame: PROC [f: IO.STREAM, frame: FrameBox];
FileoutPoint2d: PROC [f: IO.STREAM, point2d: Point2d];
FileoutListOfRope: PROC [f: IO.STREAM, ropeList: LIST OF Rope.ROPE];
FileoutVisibleAssemblies: PROC [f: IO.STREAM, assemblyList: LIST OF Assembly];
END.