资源简介
使用cmake编译,生成工具为vs2015_64位release版本,C:\PCL1.8.1\3rdParty\VTK目录可以删除并且用这里下载的vtk替换,将QVTKWidgetPlugin.dll放到C:\Qt\Qt5.10.0\5.10.0\msvc2015_64\plugins\designer目录下,方便vs进行点云显示。具体方法可以查看我的博客
代码片段和文件信息
/*=========================================================================
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
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 115712 2019-06-19 13:47 vtk_release\bin\vtkalglib-8.0.dll
文件 942080 2019-06-19 14:05 vtk_release\bin\vtkChartsCore-8.0.dll
文件 122368 2019-06-19 13:53 vtk_release\bin\vtkCommonColor-8.0.dll
文件 151552 2019-06-19 13:53 vtk_release\bin\vtkCommonComputationalGeometry-8.0.dll
文件 3076608 2019-06-19 13:50 vtk_release\bin\vtkCommonCore-8.0.dll
文件 2649088 2019-06-19 13:53 vtk_release\bin\vtkCommonDataModel-8.0.dll
文件 578560 2019-06-19 13:54 vtk_release\bin\vtkCommonExecutionModel-8.0.dll
文件 127488 2019-06-19 13:51 vtk_release\bin\vtkCommonMath-8.0.dll
文件 114688 2019-06-19 13:51 vtk_release\bin\vtkCommonMisc-8.0.dll
文件 98304 2019-06-19 13:51 vtk_release\bin\vtkCommonSystem-8.0.dll
文件 173056 2019-06-19 13:51 vtk_release\bin\vtkCommonTransforms-8.0.dll
文件 131072 2019-06-19 13:47 vtk_release\bin\vtkDICOMParser-8.0.dll
文件 321536 2019-06-19 14:05 vtk_release\bin\vtkDomainsChemistry-8.0.dll
文件 33792 2019-06-19 13:47 vtk_release\bin\vtkEncodeString-8.0.exe
文件 256000 2019-06-19 13:50 vtk_release\bin\vtkexoIIc-8.0.dll
文件 141312 2019-06-19 13:46 vtk_release\bin\vtkexpat-8.0.dll
文件 145408 2019-06-19 13:57 vtk_release\bin\vtkFiltersAMR-8.0.dll
文件 3287552 2019-06-19 13:57 vtk_release\bin\vtkFiltersCore-8.0.dll
文件 574976 2019-06-19 14:00 vtk_release\bin\vtkFiltersExtraction-8.0.dll
文件 391680 2019-06-19 14:01 vtk_release\bin\vtkFiltersFlowPaths-8.0.dll
文件 2259968 2019-06-19 14:00 vtk_release\bin\vtkFiltersGeneral-8.0.dll
文件 140288 2019-06-19 14:01 vtk_release\bin\vtkFiltersGeneric-8.0.dll
文件 382464 2019-06-19 13:57 vtk_release\bin\vtkFiltersGeometry-8.0.dll
文件 722432 2019-06-19 14:03 vtk_release\bin\vtkFiltersHybrid-8.0.dll
文件 166400 2019-06-19 14:00 vtk_release\bin\vtkFiltersHyperTree-8.0.dll
文件 96256 2019-06-19 13:57 vtk_release\bin\vtkFiltersImaging-8.0.dll
文件 336896 2019-06-19 14:01 vtk_release\bin\vtkFiltersModeling-8.0.dll
文件 549888 2019-06-19 14:05 vtk_release\bin\vtkFiltersParallel-8.0.dll
文件 77312 2019-06-19 14:05 vtk_release\bin\vtkFiltersParallelImaging-8.0.dll
文件 743936 2019-06-19 14:00 vtk_release\bin\vtkFiltersPoints-8.0.dll
............此处省略3168个文件信息
相关资源
- PCL 点云法线估计与显示
-
配置OPCli
nk 通过TCPIP实现和S7 PLC的通 - PCL教程内含程序
- 计算机视觉3D点云经典书籍-Semantic 3
- 点云库PCL从入门到精通的配套资源
- 《点云库PCL学习教程》高清PDF
- vtk-v8.0.0
- pcl中的pcd文件
- Qt+Pcl可视化点云.rar
- PCL1.7.2+Kinect V 2.0获取并保存点云PCD数
- 点云库pcl中的pcd文件
- PCLint9.0L修正版
-
httpclient 客户端发送xm
l报文到服务器 - VTK8.0.0编译文件适用于PCL1.8.1——VS2
- 三维点云的可视化
- 泊松曲面重建
- pcl的pcd数据
- IPCLinux.zip
- 近年来收藏的.pcd模型文件,pcl学习处
- 点云库PCL从入门到精通_随书代码.zi
- 点云库PCL学习教程
- 点云库PCL学习教程1-16章.rar
- 点云库PCL学习教程PDF全本+光盘
- pcl点云库1.8离线帮助文档
- VTK8.0 and VTK8.1
- 2-点云库PCL从入门到精通(2019年版)
- PCL三维点云相减程序
- pcl-pcl-1.9.1.tar.gz
- 书籍 点云库PCL学习教程 高清完整P
- VTK-8.0.1编译后,可直接放到pcl-1.8.1下
评论
共有 条评论