• 大小: 41.22MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-07-17
  • 语言: 其他
  • 标签: PCL1.8.1  VTK8.0  

资源简介

PCL1.8.1配套vtk版本,版本号为VTK-8.0.0,当以前安装的文件损坏或者需要针对Qt编译QVTKWidgetPlugin.dll时,就必须使用这个版本的vtk使用cmake编译

资源截图

代码片段和文件信息

import sys

try:
    import numpy
except ImportError:
    print(“Numpy (http://numpy.scipy.org) not found.“)
    print(“This test requires numpy!“)
    from vtk.test import Testing
    Testing.skip()

import vtk
from vtk.numpy_interface import dataset_adapter as dsa
from vtk.numpy_interface import algorithms as algs

rt = vtk.vtkRTAnalyticSource()

p2c = vtk.vtkPointDataToCellData()
p2c.SetInputConnection(rt.GetOutputPort())
p2c.Update()

d1 = dsa.WrapDataobject(p2c.GetOutput())

vtkm_p2c = vtk.vtkmAverageToCells()
vtkm_p2c.SetInputData(rt.GetOutput())
vtkm_p2c.SetInputArrayToProcess(0 0 0 vtk.vtkDataobject.FIELD_ASSOCIATION_POINTS “RTData“)
vtkm_p2c.Update()

d2 = dsa.WrapDataobject(vtkm_p2c.GetOutput())

assert (algs.max(algs.abs(d1.CellData[‘RTData‘] - d2.CellData[‘RTData‘])) < 10E-4)

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-09-22 12:31  vtk-v8.0.0\
     目录           0  2017-06-26 21:29  vtk-v8.0.0\Accelerators\
     目录           0  2017-06-26 21:29  vtk-v8.0.0\Accelerators\Vtkm\
     文件        6460  2017-06-26 21:29  vtk-v8.0.0\Accelerators\Vtkm\CMakeLists.txt
     文件         421  2017-06-26 21:29  vtk-v8.0.0\Accelerators\Vtkm\module.cmake
     目录           0  2017-06-26 21:29  vtk-v8.0.0\Accelerators\Vtkm\Testing\
     目录           0  2017-06-26 21:29  vtk-v8.0.0\Accelerators\Vtkm\Testing\Cxx\
     文件         503  2017-06-26 21:29  vtk-v8.0.0\Accelerators\Vtkm\Testing\Cxx\CMakeLists.txt
     文件        1982  2017-06-26 21:29  vtk-v8.0.0\Accelerators\Vtkm\Testing\Cxx\TestVTKMCleanGrid.cxx
     文件        5492  2017-06-26 21:29  vtk-v8.0.0\Accelerators\Vtkm\Testing\Cxx\TestVTKMClip.cxx
     文件        2161  2017-06-26 21:29  vtk-v8.0.0\Accelerators\Vtkm\Testing\Cxx\TestVTKMClipWithImplicitFunction.cxx
     文件        4513  2017-06-26 21:29  vtk-v8.0.0\Accelerators\Vtkm\Testing\Cxx\TestVTKMExternalFaces.cxx
     文件       13885  2017-06-26 21:29  vtk-v8.0.0\Accelerators\Vtkm\Testing\Cxx\TestVTKMGradientAndVorticity.cxx
     文件        3285  2017-06-26 21:29  vtk-v8.0.0\Accelerators\Vtkm\Testing\Cxx\TestVTKMLevelOfDetail.cxx
     文件        2883  2017-06-26 21:29  vtk-v8.0.0\Accelerators\Vtkm\Testing\Cxx\TestVTKMMarchingCubes.cxx
     文件        2573  2017-06-26 21:29  vtk-v8.0.0\Accelerators\Vtkm\Testing\Cxx\TestVTKMMarchingCubes2.cxx
     文件        3405  2017-06-26 21:29  vtk-v8.0.0\Accelerators\Vtkm\Testing\Cxx\TestVTKMThreshold.cxx
     文件        2756  2017-06-26 21:29  vtk-v8.0.0\Accelerators\Vtkm\Testing\Cxx\TestVTKMThreshold2.cxx
     目录           0  2017-06-26 21:29  vtk-v8.0.0\Accelerators\Vtkm\Testing\Data\
     目录           0  2017-06-26 21:29  vtk-v8.0.0\Accelerators\Vtkm\Testing\Data\baseline\
     文件          33  2017-06-26 21:29  vtk-v8.0.0\Accelerators\Vtkm\Testing\Data\baseline\TestVTKMCleanGrid.png.md5
     文件          33  2017-06-26 21:29  vtk-v8.0.0\Accelerators\Vtkm\Testing\Data\baseline\TestVTKMClip.png.md5
     文件          33  2017-06-26 21:29  vtk-v8.0.0\Accelerators\Vtkm\Testing\Data\baseline\TestVTKMClipWithImplicitFunction.png.md5
     文件          33  2017-06-26 21:29  vtk-v8.0.0\Accelerators\Vtkm\Testing\Data\baseline\TestVTKMExternalFaces.png.md5
     文件          33  2017-06-26 21:29  vtk-v8.0.0\Accelerators\Vtkm\Testing\Data\baseline\TestVTKMLevelOfDetail.png.md5
     文件          33  2017-06-26 21:29  vtk-v8.0.0\Accelerators\Vtkm\Testing\Data\baseline\TestVTKMMarchingCubes.png.md5
     文件          33  2017-06-26 21:29  vtk-v8.0.0\Accelerators\Vtkm\Testing\Data\baseline\TestVTKMMarchingCubes2.png.md5
     文件          33  2017-06-26 21:29  vtk-v8.0.0\Accelerators\Vtkm\Testing\Data\baseline\TestVTKMThreshold.png.md5
     文件          33  2017-06-26 21:29  vtk-v8.0.0\Accelerators\Vtkm\Testing\Data\baseline\TestVTKMThreshold_1.png.md5
     文件          33  2017-06-26 21:29  vtk-v8.0.0\Accelerators\Vtkm\Testing\Data\baseline\TestVTKMThreshold2.png.md5
     目录           0  2017-06-26 21:29  vtk-v8.0.0\Accelerators\Vtkm\Testing\Python\
............此处省略17703个文件信息

评论

共有 条评论