vtk8.1编译好的库R/D版本 ,使用vs2017编译。如果不想要浪费时间编译,可以直接下载配置使用
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 235008 2018-07-17 15:32 VTKinvtkalglib-8.1.dll
文件 3053568 2018-07-17 15:46 VTKinvtkChartsCore-8.1.dll
文件 444928 2018-07-17 15:38 VTKinvtkCommonColor-8.1.dll
文件 456704 2018-07-17 15:38 VTKinvtkCommonComputationalGeometry-8.1.dll
文件 15714816 2018-07-17 15:35 VTKinvtkCommonCore-8.1.dll
文件 9086976 2018-07-17 15:38 VTKinvtkCommonDataModel-8.1.dll
文件 1695232 2018-07-17 15:38 VTKinvtkCommonExecutionModel-8.1.dll
文件 317440 2018-07-17 15:35 VTKinvtkCommonMath-8.1.dll
文件 524288 2018-07-17 15:35 VTKinvtkCommonMisc-8.1.dll
文件 320000 2018-07-17 15:35 VTKinvtkCommonSystem-8.1.dll
文件 419840 2018-07-17 15:35 VTKinvtkCommonTransforms-8.1.dll
文件 535040 2018-07-17 15:32 VTKinvtkDICOMParser-8.1.dll
文件 1041408 2018-07-17 15:45 VTKinvtkDomainsChemistry-8.1.dll
文件 100864 2018-07-17 15:48 VTKinvtkDomainsChemistryOpenGL2-8.1.dll
文件 113152 2018-07-17 15:33 VTKinvtkEncodeString-8.1.exe
文件 727040 2018-07-17 15:34 VTKinvtkexoIIc-8.1.dll
文件 347648 2018-07-17 15:32 VTKinvtkexpat-8.1.dll
文件 553984 2018-07-17 15:41 VTKinvtkFiltersAMR-8.1.dll
文件 10546688 2018-07-17 15:40 VTKinvtkFiltersCore-8.1.dll
文件 1936896 2018-07-17 15:42 VTKinvtkFiltersExtraction-8.1.dll
文件 1670144 2018-07-17 15:43 VTKinvtkFiltersFlowPaths-8.1.dll
文件 6200320 2018-07-17 15:42 VTKinvtkFiltersGeneral-8.1.dll
文件 449024 2018-07-17 15:43 VTKinvtkFiltersGeneric-8.1.dll
文件 1519616 2018-07-17 15:40 VTKinvtkFiltersGeometry-8.1.dll
文件 2185216 2018-07-17 15:45 VTKinvtkFiltersHybrid-8.1.dll
文件 752640 2018-07-17 15:42 VTKinvtkFiltersHyperTree-8.1.dll
文件 361984 2018-07-17 15:41 VTKinvtkFiltersImaging-8.1.dll
文件 1133568 2018-07-17 15:43 VTKinvtkFiltersModeling-8.1.dll
文件 1559040 2018-07-17 15:46 VTKinvtkFiltersParallel-8.1.dll
文件 184320 2018-07-17 15:55 VTKinvtkFiltersParallelImaging-8.1.dll
............此处省略3193个文件信息
/*=========================================================================
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
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 235008 2018-07-17 15:32 VTKinvtkalglib-8.1.dll
文件 3053568 2018-07-17 15:46 VTKinvtkChartsCore-8.1.dll
文件 444928 2018-07-17 15:38 VTKinvtkCommonColor-8.1.dll
文件 456704 2018-07-17 15:38 VTKinvtkCommonComputationalGeometry-8.1.dll
文件 15714816 2018-07-17 15:35 VTKinvtkCommonCore-8.1.dll
文件 9086976 2018-07-17 15:38 VTKinvtkCommonDataModel-8.1.dll
文件 1695232 2018-07-17 15:38 VTKinvtkCommonExecutionModel-8.1.dll
文件 317440 2018-07-17 15:35 VTKinvtkCommonMath-8.1.dll
文件 524288 2018-07-17 15:35 VTKinvtkCommonMisc-8.1.dll
文件 320000 2018-07-17 15:35 VTKinvtkCommonSystem-8.1.dll
文件 419840 2018-07-17 15:35 VTKinvtkCommonTransforms-8.1.dll
文件 535040 2018-07-17 15:32 VTKinvtkDICOMParser-8.1.dll
文件 1041408 2018-07-17 15:45 VTKinvtkDomainsChemistry-8.1.dll
文件 100864 2018-07-17 15:48 VTKinvtkDomainsChemistryOpenGL2-8.1.dll
文件 113152 2018-07-17 15:33 VTKinvtkEncodeString-8.1.exe
文件 727040 2018-07-17 15:34 VTKinvtkexoIIc-8.1.dll
文件 347648 2018-07-17 15:32 VTKinvtkexpat-8.1.dll
文件 553984 2018-07-17 15:41 VTKinvtkFiltersAMR-8.1.dll
文件 10546688 2018-07-17 15:40 VTKinvtkFiltersCore-8.1.dll
文件 1936896 2018-07-17 15:42 VTKinvtkFiltersExtraction-8.1.dll
文件 1670144 2018-07-17 15:43 VTKinvtkFiltersFlowPaths-8.1.dll
文件 6200320 2018-07-17 15:42 VTKinvtkFiltersGeneral-8.1.dll
文件 449024 2018-07-17 15:43 VTKinvtkFiltersGeneric-8.1.dll
文件 1519616 2018-07-17 15:40 VTKinvtkFiltersGeometry-8.1.dll
文件 2185216 2018-07-17 15:45 VTKinvtkFiltersHybrid-8.1.dll
文件 752640 2018-07-17 15:42 VTKinvtkFiltersHyperTree-8.1.dll
文件 361984 2018-07-17 15:41 VTKinvtkFiltersImaging-8.1.dll
文件 1133568 2018-07-17 15:43 VTKinvtkFiltersModeling-8.1.dll
文件 1559040 2018-07-17 15:46 VTKinvtkFiltersParallel-8.1.dll
文件 184320 2018-07-17 15:55 VTKinvtkFiltersParallelImaging-8.1.dll
............此处省略3193个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)