?? vtkmyex1.tcl
字號:
## This example creates a couple of class instances and print them to# the standard output. No rendering window is created.### Do not forget to add the path to the Wrapping/Tcl directory to your # TCLLIBPATH environment variable. Use forward slash / instead of \ # and quote (") path containing spaces. # Also check that the path to your DLL (i.e. your build dir) is also# in your PATH environment variable.# ## First we include the Tcl packages which will make available # all of the vtk commands to Tcl#package require vtkmy## Next we create an instance of vtkBar#puts "Create vtkBar object and print it."vtkBar barputs [bar Print] ## Then we create an instance of vtkBar2#puts "Create vtkBar2 object and print it." vtkBar2 bar2puts [bar2 Print] ## And we create an instance of vtkImageFoo#puts "Create vtkImageFoo object and print it."vtkImageFoo imagefooputs [imagefoo Print] puts "Looks good ?"## Free up any objects we created#vtkCommand DeleteAllObjects## Exit the application#exit
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -