-
大小: 63.29MB文件类型: .zip金币: 2下载: 1 次发布日期: 2022-09-10
- 语言: 其他
- 标签: pcl1.8.1 VTK8.0.1 qvtkWidget.d
资源简介
自己编译的和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 VTK\bin\
文件 238592 2018-09-04 21:45 VTK\bin\vtkalglib-8.0-gd.dll
文件 116736 2018-09-04 22:11 VTK\bin\vtkalglib-8.0.dll
文件 3158528 2018-09-04 21:58 VTK\bin\vtkChartsCore-8.0-gd.dll
文件 941568 2018-09-04 22:25 VTK\bin\vtkChartsCore-8.0.dll
文件 496640 2018-09-04 21:50 VTK\bin\vtkCommonColor-8.0-gd.dll
文件 120320 2018-09-04 22:17 VTK\bin\vtkCommonColor-8.0.dll
文件 445952 2018-09-04 21:50 VTK\bin\vtkCommonComputationalGeometry-8.0-gd.dll
文件 152064 2018-09-04 22:17 VTK\bin\vtkCommonComputationalGeometry-8.0.dll
文件 12607488 2018-09-04 21:47 VTK\bin\vtkCommonCore-8.0-gd.dll
文件 3076608 2018-09-04 22:14 VTK\bin\vtkCommonCore-8.0.dll
文件 8883200 2018-09-04 21:50 VTK\bin\vtkCommonDataModel-8.0-gd.dll
文件 2655232 2018-09-04 22:17 VTK\bin\vtkCommonDataModel-8.0.dll
文件 1809920 2018-09-04 21:50 VTK\bin\vtkCommonExecutionModel-8.0-gd.dll
文件 579072 2018-09-04 22:17 VTK\bin\vtkCommonExecutionModel-8.0.dll
文件 343552 2018-09-04 21:48 VTK\bin\vtkCommonMath-8.0-gd.dll
文件 127488 2018-09-04 22:14 VTK\bin\vtkCommonMath-8.0.dll
文件 590336 2018-09-04 21:48 VTK\bin\vtkCommonMisc-8.0-gd.dll
文件 114176 2018-09-04 22:14 VTK\bin\vtkCommonMisc-8.0.dll
文件 338432 2018-09-04 21:48 VTK\bin\vtkCommonSystem-8.0-gd.dll
文件 97792 2018-09-04 22:14 VTK\bin\vtkCommonSystem-8.0.dll
文件 410112 2018-09-04 21:48 VTK\bin\vtkCommonTransforms-8.0-gd.dll
文件 173568 2018-09-04 22:14 VTK\bin\vtkCommonTransforms-8.0.dll
文件 614912 2018-09-04 21:45 VTK\bin\vtkDICOMParser-8.0-gd.dll
文件 129536 2018-09-04 22:11 VTK\bin\vtkDICOMParser-8.0.dll
文件 1081344 2018-09-04 21:58 VTK\bin\vtkDomainsChemistry-8.0-gd.dll
文件 324096 2018-09-04 22:26 VTK\bin\vtkDomainsChemistry-8.0.dll
文件 32256 2018-09-04 22:12 VTK\bin\vtkEncodeString-8.0.exe
文件 726016 2018-09-04 21:47 VTK\bin\vtkexoIIc-8.0-gd.dll
文件 255488 2018-09-04 22:15 VTK\bin\vtkexoIIc-8.0.dll
............此处省略3405个文件信息
评论
共有 条评论