ITSE 2317 Intermediate Java Controlling Image Rotation with a Slider and Affine Transforms Lecture # 10 Run: Wed Sep 15 14:32:15 CDT 2010 Baldwin Slides aa - Welcome to Intermediate Java ab - ITSE 2317 Intermediate Java ac - Controlling Image Rotation with a Slider and Affine Transforms ad - Figures ae - Listings af - Preview ag - Specification of the rotation angle ah - Program output at startup ai - Corners barely graze inner-edges of the frame's borders aj - Program output for slider at zero degrees ak - Program output for slider at 240 degrees al - Brief program specifications am - Brief program specifications (cont'd) an - General background information ao - The most significant difference... ap - I will explain the code... aq - Discussion and sample code ar - Beginning of the class named Prob10Runner as - Beginning of the constructor for the Prob10Runner class at - Not much that is new here au - Construct the GUI for the slider av - Rotate and display the butterfly aw - Register a ChangeListener on the slider ax - Register a ChangeListener on the slider (cont'd) ay - Register a ChangeListener on the slider (cont'd) az - Register a ChangeListener on the slider (cont'd) ba - Register a ChangeListener on the slider (cont'd) bb - End of the constructor bc - Beginning of the rotatePicture method bd - Beginning of the rotatePicture method (cont'd) be - Beginning of the rotatePicture method (cont'd) bf - Set up the rotation transform bg - Overloaded versions of the rotate method bh - Overloaded versions of the rotate method (cont'd) bi - Convert from degrees to radians bj - Specify the rotation anchor point bk - Set up the translation transform bl - Not much that's new here bm - The translation transform object... bn - Concatenate the transforms bo - The resulting composite transform bp - The order of operations is very important bq - Transform and draw the butterfly br - The end of the program bs - Run the program bt - Summary bu - Complete program listing bv - End of slides |
-end-