TubeDisplay.mesa
Copyright © 1985 by Xerox Corporation. All rights reserved.
Bloomenthal, November 21, 1986 10:44:47 pm PST
DIRECTORY Controls, Rope, TubeDefs;
~
BEGIN
OPEN TubeDefs;
DrawTube:
PUBLIC PROC [tube: Tube, context: Context, details: Details, view: Matrix];
Draw entire tube according to the details; splines as solid, if selected, or dotted, otherwise.
DrawSkeleton:
PUBLIC PROC [tube: Tube, context: Context, view: Matrix];
Draw the entire tube with straight lines.
DrawSplines:
PUBLIC
PROC [tube: Tube, context: Context, view: Matrix];
Draw splines as solid, if selected, or dotted, otherwise.
DrawSplineEnds:
PUBLIC
PROC [
tube: Tube, context: Context, view: Matrix, mark: MarkType ← dot];
Draw ends of splines with mark.
DrawContours:
PUBLIC PROC [tube: Tube, context: Context, view: Matrix];
Draw circles.
DrawLines:
PUBLIC PROC [tube: Tube, context: Context, view: Matrix];
Draw lines.
DrawFrames:
PUBLIC
PROC [tube: Tube, context: Context, view: Matrix, label:
BOOL];
Draw frames.
DrawNormals:
PUBLIC
PROC [tube: Tube, context: Context, view: Matrix, label:
BOOL];
Draw normals to the tube.
DrawCurvature:
PUBLIC
PROC [tube: Tube, context: Context, view: Matrix, label:
BOOL];
Draw curvature vectors.
DrawVelocity:
PUBLIC
PROC [tube: Tube, context: Context, view: Matrix, label:
BOOL];
Draw tangent vectors.
DrawAcceleration:
PUBLIC
PROC [tube: Tube, context: Context, view: Matrix, label:
BOOL];
Draw acceleration vectors.
NVectors:
PUBLIC PROC [tube: Tube, details: Details]
RETURNS [
INTEGER];
Count number of vectors to draw.