資源簡介
編譯好的VTK8.0,包括QVTKWidgetPlugin.dll,解壓后替換到C:\PCL1.8.1\3rdParty\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?
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????115712??2018-06-19?00:26??編譯好的VTK8.0\bin\Release\vtkalglib-8.0.dll
?????文件?????942080??2018-06-19?01:12??編譯好的VTK8.0\bin\Release\vtkChartsCore-8.0.dll
?????文件?????122368??2018-06-19?01:03??編譯好的VTK8.0\bin\Release\vtkCommonColor-8.0.dll
?????文件?????151552??2018-06-19?01:04??編譯好的VTK8.0\bin\Release\vtkCommonComputationalGeometry-8.0.dll
?????文件????3077120??2018-06-19?01:00??編譯好的VTK8.0\bin\Release\vtkCommonCore-8.0.dll
?????文件????2649088??2018-06-19?01:03??編譯好的VTK8.0\bin\Release\vtkCommonDataModel-8.0.dll
?????文件?????579072??2018-06-19?01:04??編譯好的VTK8.0\bin\Release\vtkCommonExecutionModel-8.0.dll
?????文件?????127488??2018-06-19?01:01??編譯好的VTK8.0\bin\Release\vtkCommonMath-8.0.dll
?????文件?????114688??2018-06-19?01:01??編譯好的VTK8.0\bin\Release\vtkCommonMisc-8.0.dll
?????文件??????98304??2018-06-19?01:00??編譯好的VTK8.0\bin\Release\vtkCommonSystem-8.0.dll
?????文件?????172544??2018-06-19?01:01??編譯好的VTK8.0\bin\Release\vtkCommonTransforms-8.0.dll
?????文件?????131072??2018-06-19?00:26??編譯好的VTK8.0\bin\Release\vtkDICOMParser-8.0.dll
?????文件?????322048??2018-06-19?01:12??編譯好的VTK8.0\bin\Release\vtkDomainsChemistry-8.0.dll
?????文件??????36352??2018-06-19?01:14??編譯好的VTK8.0\bin\Release\vtkDomainsChemistryOpenGL2-8.0.dll
?????文件?????256000??2018-06-19?00:29??編譯好的VTK8.0\bin\Release\vtkexoIIc-8.0.dll
?????文件?????141312??2018-06-19?00:26??編譯好的VTK8.0\bin\Release\vtkexpat-8.0.dll
?????文件?????145408??2018-06-19?01:07??編譯好的VTK8.0\bin\Release\vtkFiltersAMR-8.0.dll
?????文件????3288064??2018-06-19?01:06??編譯好的VTK8.0\bin\Release\vtkFiltersCore-8.0.dll
?????文件?????574976??2018-06-19?01:09??編譯好的VTK8.0\bin\Release\vtkFiltersExtraction-8.0.dll
?????文件?????391680??2018-06-19?01:09??編譯好的VTK8.0\bin\Release\vtkFiltersFlowPaths-8.0.dll
?????文件????2259968??2018-06-19?01:08??編譯好的VTK8.0\bin\Release\vtkFiltersGeneral-8.0.dll
?????文件?????140288??2018-06-19?01:09??編譯好的VTK8.0\bin\Release\vtkFiltersGeneric-8.0.dll
?????文件?????382464??2018-06-19?01:07??編譯好的VTK8.0\bin\Release\vtkFiltersGeometry-8.0.dll
?????文件?????722432??2018-06-19?01:11??編譯好的VTK8.0\bin\Release\vtkFiltersHybrid-8.0.dll
?????文件?????166400??2018-06-19?01:09??編譯好的VTK8.0\bin\Release\vtkFiltersHyperTree-8.0.dll
?????文件??????96256??2018-06-19?01:07??編譯好的VTK8.0\bin\Release\vtkFiltersImaging-8.0.dll
?????文件?????337408??2018-06-19?01:09??編譯好的VTK8.0\bin\Release\vtkFiltersModeling-8.0.dll
?????文件?????549888??2018-06-19?01:12??編譯好的VTK8.0\bin\Release\vtkFiltersParallel-8.0.dll
?????文件??????77312??2018-06-19?01:13??編譯好的VTK8.0\bin\Release\vtkFiltersParallelImaging-8.0.dll
?????文件?????743936??2018-06-19?01:09??編譯好的VTK8.0\bin\Release\vtkFiltersPoints-8.0.dll
............此處省略3227個文件信息
評論
共有 條評論