vtk中的多边形通常由很多点和相应的网格构成也就是常说的cell。可以添加网格单元:vtkPolyData* polyData=vtkPolyData::New();vtkCellArray* polys=vtkCellArray::New(); for(int j=0,cell=0;jInsert...
分类:
其他好文 时间:
2014-09-12 01:04:32
阅读次数:
263
Matlab基础学习----------------元胞数组...
分类:
其他好文 时间:
2014-09-11 17:18:42
阅读次数:
260
如果是Microsoft Excel 97-2003 工作表 (.xls)if(31 == cell.getCellStyle().getFillForegroundColor()) //判断单元格前景色为淡蓝色if(10 == book.getFontAt(cell.getCellStyle()....
分类:
其他好文 时间:
2014-09-11 15:19:52
阅读次数:
242
在使用tableview时,有时我们需要在cell中添加button和label,以便添加某项功能,而且往往点这个button的方法中需要知道button所在cell中label内存放的值。一般而言我们可以用tag来做,但当table有很多行的时候,设置tag就没有那么方便了,这里我介绍另外一种方法...
分类:
移动开发 时间:
2014-09-10 20:57:30
阅读次数:
260
[root@puppetmaster~]#/etc/init.d/puppetmasterstartStartingpuppetmaster:/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in`gem_original_require‘:nosuchfiletoload--json(LoadError) from/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in`requ..
分类:
Web程序 时间:
2014-09-10 19:45:21
阅读次数:
323
本人用的是centos6.4的系统vi/etc/X11/xdm/Xaccess如果没有这个文件执行yum-yinstallxdm安装完成后就会生成这个文件编辑者个文件找到这一句#*#anyhostcangetaloginwindow把最前面的#号去掉保存退出在编辑/etc/gdm/custom.conf[daemon][security]AllowRemoteRoot=true[xdmcp]Por..
分类:
系统相关 时间:
2014-09-10 19:43:31
阅读次数:
272
Toast大家都很熟,不多说。直接上图上代码。 具体代码如下:main.xml: custom.xml: package com.ex...
分类:
移动开发 时间:
2014-09-09 18:02:39
阅读次数:
207
之前在测试Eclipse ADT的Custom debug?keystore自定义调试证书的时候,发过一篇关于调试证书规格的博文:Eclipse ADT的Custom debug keystore所需证书规格,提到过自定义调试证书的密码和alias命名以及alias密码...
分类:
移动开发 时间:
2014-09-09 09:13:58
阅读次数:
356
Introduction to common InterfacesIDataErrorInfoProvides the functionality to offer custom error information that a user interface can bind to..NET Fra...
分类:
其他好文 时间:
2014-09-07 17:10:05
阅读次数:
136
sign up google developer console, create project, generate API keyhttp://stackoverflow.com/questions/4082966/google-web-search-api-deprecated-what-now...