亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? clipplanes.py

?? matlab aamtool box
?? PY
字號:
# Copyright 2006, Karljohan Lundin#"""This file provides extra functionality to the VHTK package. Formore information read the comments for the included classes. This file is part of Volume Haptics Toolkit. Volume Haptics Toolkit is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. Volume Haptics Toolkit is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Volume Haptics Toolkit; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA"""from H3D import *from H3DInterface import *GRAB_DISTANCE  = 0.01SMALL_DISTANCE = 0.005refs = references.getValue()# Clipped groupgroupA = refs[0]# Unclipped group for iconsif len(refs) > 1:  groupB = refs[1]else:  groupB = groupA# LocalInfo for the groupsif len(refs) > 2:  info = refs[2]else:  info = None# An icon shapeif len(refs) > 3:  icon = refs[3]else:  icon = createX3DNodeFromString( """   <Group>    <Shape>     <Appearance DEF="APP">      <Material        diffuseColor=".4 .3 .8"/>     </Appearance>     <Sphere radius="0.005"/>    </Shape>    <Transform      translation="0 0 0.008"      rotation="1 0 0 1.570796">     <Shape>      <Appearance USE="APP"/>      <Cone bottomRadius="0.004" height="0.015"/>     </Shape>    </Transform>   </Group>  """ )[0]class ClipPlanes(TypedField(AutoUpdate(SFBool),                            (SFBool,SFVec3f,SFRotation))):  """ClipPlanes allows the user to interactively control clipplanes  in a scene. A button click adds a clipplane at the current  position with the current orientation. The plane can then be moved  and rotated. Previously added planes can be interactively moved  and rotated, and removed.    The following must be provided through the "references" field:  1) the group node which should be clipped  The following may also be provided through the "references" field:  1) a identically transformed group for clipplane icons,  2) an identically transformed LocalInfo node,  3) an icon for the clipplanes.    To the provided field clipPlanes the following must be routed:  1) the button to control the clipplanes with,  2) the position to control the clipplanes, and  3) the orientation to control the clipplanes.  """      def __init__(self):    AutoUpdate(SFBool).__init__(self)    self.button = 0    self.clipplanes = []      def update(self,event):    try:      input = self.getRoutesIn()      button = input[0].getValue()      position = input[1].getValue()      orientation = input[2].getValue()      self_button = self.button    except:      return 0        if button == 1 and self_button == 0:            self.current_plane = None      for clipplane in self.clipplanes:        if ( clipplane[0].point.getValue()             - position ).length() < GRAB_DISTANCE * self.scaling:          self.current_plane = clipplane            if self.current_plane == None:        plane = createX3DNodeFromString( """         <PointNormalClipPlane />        """ )[0]        plane_shape = createX3DNodeFromString( """         <Transform>         </Transform>        """ )[0]        plane_shape.children.push_back(icon)                if info != None:          M = info.accInverseMatrix.getValue().getScaleRotationPart()          s = 0.57735 * Vec3f( ( M * Vec3f(1,0,0) ).length(),                               ( M * Vec3f(0,1,0) ).length(),                               ( M * Vec3f(0,0,1) ).length() ).length()          plane_shape.scale.setValue( Vec3f(s,s,s) )          self.scaling = s                children = groupA.children.getValue()        children.insert( len(self.clipplanes), plane )        groupA.children.setValue(children)                children = groupB.children.getValue()        children.insert( len(self.clipplanes), plane_shape )        groupB.children.setValue(children)                self.clipplanes.append( (plane,plane_shape) )        self.current_plane = self.clipplanes[-1]        self.newly_added = True              else:        self.newly_added = False            self.current_plane[0].point.setValue( position )      self.current_plane[0].normal.setValue( Matrix3f(orientation)                                             * Vec3f(0,0,-1) )      self.current_plane[1].translation.setValue( position )      self.current_plane[1].rotation.setValue( orientation )            self.start_position = position      self.start_orientation = orientation        elif button == 1 and self_button == 1:      self.current_plane[0].point.setValue( position )      self.current_plane[0].normal.setValue( Matrix3f(orientation)                                             * Vec3f(0,0,-1) )      self.current_plane[1].translation.setValue( position )      self.current_plane[1].rotation.setValue( orientation )    elif button == 0 and self_button == 1 \         and not self.newly_added \         and ( position - self.start_position ).length() \             < SMALL_DISTANCE * self.scaling \         and ( Matrix3f(self.start_orientation) * Vec3f(1,0,0) -               Matrix3f(orientation) * Vec3f(1,0,0) ).length() < 0.1:      children = groupA.children.getValue()      children.remove( self.current_plane[0] )      groupA.children.setValue(children)            children = groupB.children.getValue()      children.remove( self.current_plane[1] )      groupB.children.setValue(children)            self.clipplanes.remove( self.current_plane )            self.current_plane = None        self.button = button    return 1clipPlanes = ClipPlanes()

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩久久久久久| 91福利小视频| 国产午夜精品久久久久久久| 久久99国产精品尤物| 2014亚洲片线观看视频免费| 国模无码大尺度一区二区三区| 亚洲精品一区二区在线观看| 国产iv一区二区三区| 中文字幕一区日韩精品欧美| 欧美日韩一区二区在线视频| 日本不卡视频在线| 亚洲国产精品av| 色呦呦一区二区三区| 亚洲一区二区视频在线| 日韩精品最新网址| 国产精品白丝jk白祙喷水网站| 亚洲欧洲色图综合| 欧美日韩亚洲综合在线| 国产资源精品在线观看| 中文字幕在线视频一区| 欧美在线制服丝袜| 久久99久久精品| 成人欧美一区二区三区| 欧美日韩黄色影视| 亚洲精品乱码久久久久久 | 成人免费黄色大片| 夜夜揉揉日日人人青青一国产精品 | 午夜精品aaa| 久久综合九色欧美综合狠狠| 99精品一区二区三区| 欧美aaa在线| 亚洲私人影院在线观看| 欧美xxxxxxxxx| 色一区在线观看| 国产在线精品国自产拍免费| 亚洲一区二区在线观看视频| 国产午夜精品一区二区三区嫩草| 欧美在线免费观看亚洲| 国产精品69毛片高清亚洲| 亚洲成人免费看| 中文字幕亚洲精品在线观看| 欧美变态凌虐bdsm| 欧美性猛交xxxxxx富婆| 成年人国产精品| 蜜臀av性久久久久蜜臀av麻豆| 亚洲免费av网站| 国产欧美精品在线观看| 7777精品伊人久久久大香线蕉 | 一区二区三区国产精华| 久久久久久久久久看片| 8v天堂国产在线一区二区| 91丝袜国产在线播放| 国产成人精品影视| 寂寞少妇一区二区三区| 亚洲18女电影在线观看| 亚洲欧洲制服丝袜| 国产精品区一区二区三| 久久蜜桃av一区精品变态类天堂| 欧美卡1卡2卡| 欧美亚洲动漫精品| 色婷婷久久久综合中文字幕| 成人综合婷婷国产精品久久蜜臀| 国内精品免费**视频| 久久99精品久久久| 日韩电影在线观看一区| 亚洲福利一二三区| 亚洲国产日韩精品| 亚洲国产一区在线观看| 亚洲最新视频在线观看| 一区二区三区在线高清| 亚洲黄色免费网站| 亚洲另类色综合网站| 一区二区三区免费在线观看| 一区二区三区四区视频精品免费| **网站欧美大片在线观看| 国产精品理伦片| 成人免费在线视频观看| 一区二区三区中文字幕在线观看| 亚洲精品乱码久久久久久日本蜜臀| 自拍偷在线精品自拍偷无码专区| 成人欧美一区二区三区1314 | 久久综合九色欧美综合狠狠 | 91在线视频观看| 色综合一个色综合亚洲| 在线免费一区三区| 欧美精品v国产精品v日韩精品 | 91国模大尺度私拍在线视频| 在线国产电影不卡| 91.xcao| 久久久精品中文字幕麻豆发布| 久久欧美中文字幕| 18欧美乱大交hd1984| 亚洲一区二区三区四区五区中文 | 欧美精品一区二| 久久免费看少妇高潮| 国产欧美日韩在线| 一区精品在线播放| 亚洲国产wwwccc36天堂| 免费成人在线影院| 国产白丝网站精品污在线入口| www.欧美.com| 欧美色电影在线| 欧美成人艳星乳罩| 国产精品久久综合| 亚洲va欧美va国产va天堂影院| 久久精品国产99国产精品| 高清视频一区二区| 欧美视频一区二区三区在线观看 | 国产蜜臀97一区二区三区| 成人免费在线视频| 蜜桃视频一区二区三区| 成人激情校园春色| 91精品欧美一区二区三区综合在| 久久久久久久久免费| 亚洲午夜久久久久中文字幕久| 韩国v欧美v亚洲v日本v| 日本韩国一区二区三区视频| 日韩一区二区三区在线| 一区免费观看视频| 精品一区二区在线视频| 色综合久久综合| 亚洲精品一线二线三线无人区| 亚洲免费资源在线播放| 久久 天天综合| 欧美日韩五月天| 日本一区二区动态图| 爽好久久久欧美精品| 成人avav影音| 精品国产乱码久久久久久1区2区| 国产精品久久毛片a| 另类调教123区 | 色老汉av一区二区三区| 精品久久久久久久久久久久久久久久久| 最新不卡av在线| 国产精品一区三区| 91精品国产综合久久精品性色| 国产精品国产精品国产专区不蜜| 蜜臀av一区二区三区| 精品视频资源站| 亚洲天堂精品在线观看| 国产精品影视在线观看| 欧美一级日韩一级| 亚洲国产一区二区视频| 91免费版在线| 中文天堂在线一区| 国产福利91精品| 精品国产一区二区三区不卡| 午夜在线电影亚洲一区| 91看片淫黄大片一级在线观看| 国产欧美日韩久久| 国产呦精品一区二区三区网站| 日韩欧美三级在线| 日韩vs国产vs欧美| 欧美日韩国产美| 亚洲国产中文字幕在线视频综合| 91丨porny丨国产| 中文字幕亚洲视频| 99久久免费国产| 亚洲天天做日日做天天谢日日欢| 成人午夜激情视频| 欧美国产精品一区二区三区| 九九**精品视频免费播放| 日韩一区二区三区免费观看| 丝袜亚洲另类欧美| 日韩视频不卡中文| 久久99精品久久久| 欧美成人精品二区三区99精品| 男男gaygay亚洲| 日韩一卡二卡三卡四卡| 麻豆极品一区二区三区| 日韩精品中午字幕| 久草热8精品视频在线观看| 精品毛片乱码1区2区3区| 国产一区二区成人久久免费影院 | 成人99免费视频| 中文字幕中文字幕在线一区| 91性感美女视频| 亚洲综合成人在线视频| 欧美日韩国产高清一区二区三区 | 亚洲国产综合在线| 欧美精品精品一区| 奇米影视一区二区三区| 精品少妇一区二区三区免费观看| 国产在线视频不卡二| 国产欧美精品一区二区三区四区| 成人av小说网| 亚洲国产精品综合小说图片区| 777亚洲妇女| 国产在线乱码一区二区三区| 国产日产欧美精品一区二区三区| jvid福利写真一区二区三区| 亚洲已满18点击进入久久| 日韩色在线观看| 成人免费视频视频在线观看免费| 一区二区欧美在线观看| 91精品欧美福利在线观看| 国产一区二区免费看| 亚洲欧洲av另类| 日韩欧美专区在线| 成人午夜激情影院|