DIRECTORY Imager USING [Context], ImagerBasic USING [Vec, IntVec, ImagingSpace], ImagerInternalDefs USING [TransformRecord, Transformation, TransformType]; ImagerTransform: CEDAR DEFINITIONS = BEGIN Vec: TYPE = ImagerBasic.Vec; -- ( [x, y: REAL] ) IntVec: TYPE = ImagerBasic.IntVec; -- ( [x, y: INTEGER] ) Context: TYPE = Imager.Context; TransformRecord: TYPE = ImagerInternalDefs.TransformRecord; Transformation: TYPE = ImagerInternalDefs.Transformation; ImagingSpace: TYPE = ImagerBasic.ImagingSpace; TransformType: TYPE = ImagerInternalDefs.TransformType; TransformTypeNone: SIGNAL; SetTransform: PROC [context: Context, transformSpace: ImagingSpace, transform: TransformRecord]; GetTransform: PROC [context: Context, transformSpace: ImagingSpace] RETURNS [TransformRecord]; ConcatToContext: PROC [context: Context, transformSpace: ImagingSpace, transform: Transformation]; Transform: PROC [transform: TransformRecord, p: Vec] RETURNS [Vec]; InverseTransform: PROC [transform: TransformRecord, p: Vec] RETURNS [Vec]; TransformVec: PROC [transform: TransformRecord, p: Vec] RETURNS [Vec]; InverseTransformVec: PROC [transform: TransformRecord, p: Vec] RETURNS [Vec]; IntTransform: PROC [transform: TransformRecord, p: IntVec] RETURNS [IntVec]; InverseIntTransform: PROC [transform: TransformRecord, p: IntVec] RETURNS [IntVec]; TransformIntVec: PROC [transform: TransformRecord, p: IntVec] RETURNS [IntVec]; InverseTransformIntVec: PROC [transform: TransformRecord, p: IntVec] RETURNS [IntVec]; END. 2ImagerTransform.mesa This interface provides the internal view of the procedures, structures, etc. involved in setting, modifying and using transformations in the imager. Last Edited by: Crow, June 18, 1983 10:22 am fast for setting common types of flips and rotates for rolling your own transforms ΚΘ˜headšœ™J™•J™šœ™Jšœ™—unitšΟk ˜ Jšœ œ ˜Jšœ  œ˜2Jšœœ2˜J——head3šœ"˜"Jšœ˜J˜Jšœœ"œ˜2Jšœœœœ˜:Jšœ œ œ˜Jšœœ&˜;Jšœœ%˜9Jšœœ˜.Jšœœ$˜7Lšœœ˜L˜—šΟn œœ2˜DJšœ#˜#J™2—šž œœ1˜CJšœœ˜—šžœœL˜bJ™—Lšž œœ$ œ˜CJšžœœ$ œ˜JJšž œœ$ œ˜FJšžœœ$ œ˜MJšž œœ' œ ˜LJšžœœ' œ ˜SJšžœœ' œ ˜Ošžœœ' œ ˜VJ˜—Jšœ˜—…—ϊτ