




已阅读5页,还剩48页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
4 23Dtransformations Translate 平移 transformationsScale 缩放 transformationsShear 错切 transformationsRotate 旋转 transformationsReflect 反射 transformationsComposition 复合 of3Dtransformations 与二维平移变换类似地使用齐次坐标表示为 记为 其中 Translatetransformation 记为 Scaletransformation Aboutorigin Cont Aboutarbitrarypoint Thearbitraryreferencepointis Cont Aboutarbitrarypoint Thearbitraryreferencepointis Cont 则变换矩阵为 Sheartransformations Dependenceaxis 依赖轴 correspondingcoordinateisremainedDirectionaxis 方向轴 correspondingcoordinateischangedlinearlyRepresentations 变换的一般表达式是 Sheartransformations Parameters rotateaxis rotateangle二维旋转变换是三维空间中绕Z轴的旋转 记为 Rotatetransformation RotateaboutXaxis Equallywithchangingthecoordinatesystem x y z tothecoordinatesystem y z x RotateaboutYaxis Changingsystem x y z tosystem z x y aboutarbitraryline 是关于某直线或平面进行的关于某个轴进行的反射变换等同于关于该轴做180度的旋转变换Forinstance aboutZaxis Reflecttransformation 反射变换 aboutarbitrarysymmetryaxis Cont 当反射平面是坐标平面时 等同于进行左 右手坐标系的互换 相应变换矩阵是把第三维坐标值取反Forinstance aboutXOYplane Aboutarbitrarysymmetryplane Forinstance rotatingaboutarbitrarylineOverlappingarbitrarylinewithZaxisResolvingaseriesofproblemsReflectaboutanarbitrarysymmetrylineReflectaboutanarbitrarysymmetryplane Compositiontransformations 旋转轴不与坐标轴重合时变换的实现 经复合变换使旋转轴与某坐标轴重合绕指定轴进行旋转变换还原坐标系 Rotateaboutarbitraryline 1 translateP1tooverlaporigin 不妨设P1P2为方向单位矢量 P2点坐标为 a b c Cont P1 P2 Cont Cont 2 rotateaboutXaxistoputthelineonXOZ X Y Z Cont 2 rotateaboutXaxistoputthelineonXOZ X Y Z Cont 2 rotateaboutXaxistoputthelineonXOZ X Y Z Cont 2 rotateaboutXaxistoputthelineonXOZ X Y Z Cont 2 rotateaboutXaxistoputthelineonXOZ X Y Z Cont 2 rotateaboutXaxistoputthelineonXOZ X Y Z Cont 2 rotateaboutXaxistoputthelineonXOZ X Y Z Cont 2 rotateaboutXaxistoputthelineonXOZ ThenP2is a 0 d Transformationmatrix 变换矩阵 Cont 3 RotateaboutYaxistooverlapthelinewithZaxis X Y Z Cont X Y Z 4 RotateaboutZaxisnamelythelinethrough Cont X Y Z P1 P2 Cont 4 recoverthecoordinatesystemThefinaltransformationis R T1 1 Rx 1 Ry 1 Rz Ry Rx T1 Cont 关于任意直线 或平面 的反射可以分解为平移 旋转 使得指定的反射直线或平面与某坐标轴或平面重合 和关于坐标直线 或坐标平面 的反射 再加恢复变换 Exercisesoutclassroom Exercise4 11Givenaunitcubewithonecornerat 0 0 0 andanotheroppositecornerat 1 1 1 derivethetransforationsnecessarytorotatethecubeby degreeaboutthemaindiagonal 对角线 from 0 0 0 to 1 1 1 inthecounterclockwisedirectionwhenlookingalongthediagonaltowardtheorigin Exercisesoutclassroom Exercise4 14AnobjectistobescaledbyafactorSinthedirectionwhosedirectioncosinesare Derivethetransformationmatrix Twomethodsoftransformation Coordinatesystemfixed GraphicschangedGraphicsfixed Coordinatesystemchanged 1 坐标系不变 图形变换 2 图形不变 坐标系变换 变换的两种实现方法 Transformingcoordinatesystem Twomeans DefinethenewcoordinatesystemdirectlyDefineavectorinydirectionofthenewcoordinatesystem Cont 1 Defineanewsystem compositionoftransformations 1 translate T x0 y0 2 rotate R 3 scale 4 compositionofabovetransformations noticethesequence Cont Thematrixis Cont 2 Defineavectorinydirectionofnewsystem Yaxisis Xaxisis Transformationis Contrast VS TransformfromanoldcoordinatesystemtoanothernewcoordinatesystemThenewsystemisshownintherightfigure Modetransformation Cont Compositionoftranslationandrotation 当坐标系使用不同的缩放时 还需定义缩放补偿 4 3window to viewporttransformation WorldDomain 用户域WD 指程序员用来定义草图的整个自然空间 World coordinatesystem 用户坐标系WC 世界坐标系右手直角坐标系Window 窗口区W 在用户坐标系 世界坐标系WC 中预先选定的将产生图形显示的区域称为窗口 Relatedconcepts Cont ScreenDomain 屏幕域SD 设备输出图形的最大区域 是有限的整数域 Viewport 视图区V 在显示器坐标系中规定的显示图形的区域称为视 图 区 Screencoordinates 屏幕坐标系 normalized devicecoordinatesdevicecoordinates addressingbypixelsNDC 1 1 a a Windowasaviewfinder Cont 视见变换将用户坐标系中窗口内的图形变换到显示器中的视见区中产生显示 Window to Viewporttransformation Cont Cont transformmatrix 窗口 Wxl Wxr Wyb Wyt
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 第4课 希腊城邦和亚历山大帝国
- 合肥本地高校大学生对微博谣言的认知与行为:现状、影响及提升策略探究
- 合肥市专利活动剖析与提升策略研究:创新驱动发展视角
- 节电防震知识培训简报课件
- 合作建房运作模式的深度探索与创新实践
- 教师招聘之《小学教师招聘》试题(得分题)【基础题】附答案详解
- 教师招聘之《小学教师招聘》通关考试题库及答案详解【有一套】
- 2025年教师招聘之《幼儿教师招聘》题库高频难、易错点100题模拟试题附参考答案详解【完整版】
- 2025年教师招聘之《幼儿教师招聘》题库必背100题含答案详解【a卷】
- 2025年教师招聘之《小学教师招聘》预测试题及答案详解(真题汇编)
- 医院普通外科病史采集、查体及病历书写要点精讲课件
- 2020年工程监理企业发展策略及经营计划
- 陕西水资源论证报告表
- 大学生暑期社会实践登记表
- 单选题51-100试题含答案
- 最新苏教牛津译林版英语五年级上册Unit 4《Hobbies》Grammar time 公开课课件
- 危险品管理台帐
- 现场技术服务报告模版
- 一年级上《人与自然》
- 高等有机化学PPT精品课程课件全册课件汇总
- 教学课件·固体物理基础(第2版)
评论
0/150
提交评论