VTK-8.0.1编译后,可直接放到pcl-1.8.1下替换


自己编译的和pcl-1.8.1配套的VTK,可直接放到pcl-1.8.1下,里面包含qvtkWidget.dll,64位debug和release版
资源截图
代码片段和文件信息
/*=========================================================================

Module:    verdict_test.cpp

Copyright (c) 2006 Sandia Corporation.
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.

This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.  See the above copyright notice for more information.

=========================================================================*/
/*
 *
 * verdict_test.cpp provides routines for testing the quality metrics code
 *
 * This file is part of VERDICT
 *
 */
#define VERDICT_EXPORTS

#include “verdict.h“
#include “v_vector.h“
#include 
#include 
#include 
#include 
#include 

using namespace std;


#define MAX_NODES_PER_ELEMENT 27
#define MAX_TESTS_PER_ELEMENT 20


#ifdef VERDICT_USE_FLOAT
#define VERDICT_SIGNIFICANT_FIG 7    // 7 significant figures for floats
#else
#define VERDICT_SIGNIFICANT_FIG 15   // 15 significant figures for doubles
#endif


struct test_case
{
  const char* testname;
  VerdictFunction function[MAX_TESTS_PER_ELEMENT];
  int num_nodes;
  // note: the 1st dim. of coords must bigger than the maximum num_nodes 
  // for any one element being tested
  double coords[MAX_NODES_PER_ELEMENT][3];
  double answer[MAX_TESTS_PER_ELEMENT];
};


int main( )
{
  // all test cases go here  
  test_case testcases[] = {
/*
  {
  “edge calc 1“
  {v_edge_length 0}
  2
  { { 000 } {111} }
  { 1.732050807568877 0 }
  }

  {
  “edge calc 2“
  {v_edge_length 0 }
  2
  { { 000 } { 100 } }
  { 1.0 0 }
  }

  {
  “edge calc 3“
  {v_edge_length 0 }
  2
  { { 000 } { 000 } }
  { 0 0 }
  }

  { 
  “simple wedge“ 
  {v_wedge_volume 0}
  6
  { { 000} {-110} {-100} {001} {-111} {-101} }
  { 0.5 0 }
  }

  {
  “singularity wedge“
  {v_wedge_volume 0}
  6
  { {000} {000} {000} {000} {000} {000} }
  { 0 }
  }

  {
  “simple tri“
  { v_tri_area v_tri_minimum_angle v_tri_maximum_angle v_tri_condition 
  v_tri_shape v_tri_shape_and_size v_tri_distortion 0}
  3
  { 
  {000} 
  {500} 
  {2.5 4.330127 0} 
  }

  { 0000000}
  }
    {
      “singular tri“
      {v_tri_area v_tri_aspect_ratio v_tri_condition 
       v_tri_distortion v_tri_minimum_angle v_tri_maximum_angle
       v_tri_relative_size_squared v_tri_shape v_tri_shape_and_size
       0} 
      3
      { 
        {000} 
        {0.50.86602540370} 
        {100} }
      { 123 1234 1234 1234 1234 1234 1234 1234 12340}
    }
  {
  “simple quad“
  { v_quad_skew 0}
  4
  {
  {000}
  {100}
  {170} 
  {070 } 
  } 
  { 1.3333333333333333333 0 }
  }

  {
  “simple quad“
  { v_quad_aspect_ratio v_quad_skew v_quad_taper v_quad_warpage v_quad_area 
  v_quad_stretch v_quad_minimum_angle v_quad_maximum_angle
  v_quad_condition v_quad_jacobian

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-09-04 22:01  VTK
     目录           0  2018-09-04 22:28  VTKin
     文件      238592  2018-09-04 21:45  VTKinvtkalglib-8.0-gd.dll
     文件      116736  2018-09-04 22:11  VTKinvtkalglib-8.0.dll
     文件     3158528  2018-09-04 21:58  VTKinvtkChartsCore-8.0-gd.dll
     文件      941568  2018-09-04 22:25  VTKinvtkChartsCore-8.0.dll
     文件      496640  2018-09-04 21:50  VTKinvtkCommonColor-8.0-gd.dll
     文件      120320  2018-09-04 22:17  VTKinvtkCommonColor-8.0.dll
     文件      445952  2018-09-04 21:50  VTKinvtkCommonComputationalGeometry-8.0-gd.dll
     文件      152064  2018-09-04 22:17  VTKinvtkCommonComputationalGeometry-8.0.dll
     文件    12607488  2018-09-04 21:47  VTKinvtkCommonCore-8.0-gd.dll
     文件     3076608  2018-09-04 22:14  VTKinvtkCommonCore-8.0.dll
     文件     8883200  2018-09-04 21:50  VTKinvtkCommonDataModel-8.0-gd.dll
     文件     2655232  2018-09-04 22:17  VTKinvtkCommonDataModel-8.0.dll
     文件     1809920  2018-09-04 21:50  VTKinvtkCommonExecutionModel-8.0-gd.dll
     文件      579072  2018-09-04 22:17  VTKinvtkCommonExecutionModel-8.0.dll
     文件      343552  2018-09-04 21:48  VTKinvtkCommonMath-8.0-gd.dll
     文件      127488  2018-09-04 22:14  VTKinvtkCommonMath-8.0.dll
     文件      590336  2018-09-04 21:48  VTKinvtkCommonMisc-8.0-gd.dll
     文件      114176  2018-09-04 22:14  VTKinvtkCommonMisc-8.0.dll
     文件      338432  2018-09-04 21:48  VTKinvtkCommonSystem-8.0-gd.dll
     文件       97792  2018-09-04 22:14  VTKinvtkCommonSystem-8.0.dll
     文件      410112  2018-09-04 21:48  VTKinvtkCommonTransforms-8.0-gd.dll
     文件      173568  2018-09-04 22:14  VTKinvtkCommonTransforms-8.0.dll
     文件      614912  2018-09-04 21:45  VTKinvtkDICOMParser-8.0-gd.dll
     文件      129536  2018-09-04 22:11  VTKinvtkDICOMParser-8.0.dll
     文件     1081344  2018-09-04 21:58  VTKinvtkDomainsChemistry-8.0-gd.dll
     文件      324096  2018-09-04 22:26  VTKinvtkDomainsChemistry-8.0.dll
     文件       32256  2018-09-04 22:12  VTKinvtkEncodeString-8.0.exe
     文件      726016  2018-09-04 21:47  VTKinvtkexoIIc-8.0-gd.dll
     文件      255488  2018-09-04 22:15  VTKinvtkexoIIc-8.0.dll
............此处省略3405个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)