Commit 019065e9 authored by Francois Bertel's avatar Francois Bertel
Browse files

Moved vtkRegressionTestImage.h from the wrong place Common/Testing/Cxx to the...

Moved vtkRegressionTestImage.h from the wrong place Common/Testing/Cxx to the right place Rendering/Testing/Cxx
parent 63201e16
......@@ -34,6 +34,7 @@
#include "vtkMultiBlockDataSet.h"
#include "vtkPolyData.h"
#include "vtkPolyDataMapper.h"
#include "vtkTestUtilities.h"
#include "vtkRegressionTestImage.h"
#include "vtkRenderer.h"
#include "vtkRenderWindow.h"
......
......@@ -33,6 +33,7 @@
#include "vtkPolyData.h"
#include "vtkPolyDataMapper.h"
#include "vtkProperty.h"
#include "vtkTestUtilities.h"
#include "vtkRegressionTestImage.h"
#include "vtkRenderer.h"
#include "vtkRenderWindow.h"
......
......@@ -29,6 +29,7 @@
#include "vtkMultiBlockDataSet.h"
#include "vtkPolyData.h"
#include "vtkPolyDataMapper.h"
#include "vtkTestUtilities.h"
#include "vtkRegressionTestImage.h"
#include "vtkRenderer.h"
#include "vtkRenderWindow.h"
......
......@@ -25,6 +25,7 @@
#include "vtkDebugLeaks.h"
#include "vtkPointData.h"
#include "vtkProperty.h"
#include "vtkTestUtilities.h"
#include "vtkRegressionTestImage.h"
#include "vtkRenderer.h"
#include "vtkRenderWindow.h"
......@@ -59,6 +60,8 @@ int TestGenericClip(int argc, char* argv[])
// Load the mesh geometry and data from a file
vtkXMLUnstructuredGridReader *reader = vtkXMLUnstructuredGridReader::New();
char *cfname = vtkTestUtilities::ExpandDataFileName(argc, argv, "Data/quadraticTetra01.vtu");
// char *cfname = vtkTestUtilities::ExpandDataFileName(argc, argv, "Data/Test2_Volume.vtu");
reader->SetFileName( cfname );
delete[] cfname;
......@@ -73,7 +76,7 @@ int TestGenericClip(int argc, char* argv[])
// Set the error metric thresholds:
// 1. for the geometric error metric
vtkGeometricErrorMetric *geometricError=vtkGeometricErrorMetric::New();
geometricError->SetRelativeGeometricTolerance(0.1,ds);
geometricError->SetRelativeGeometricTolerance(0.01,ds);
ds->GetTessellator()->GetErrorMetrics()->AddItem(geometricError);
geometricError->Delete();
......@@ -87,7 +90,7 @@ int TestGenericClip(int argc, char* argv[])
cout<<"input unstructured grid: "<<ds<<endl;
static_cast<vtkSimpleCellTessellator *>(ds->GetTessellator())->SetMaxSubdivisionLevel(10);
static_cast<vtkSimpleCellTessellator *>(ds->GetTessellator())->SetMaxSubdivisionLevel(100);
vtkIndent indent;
ds->PrintSelf(cout,indent);
......
......@@ -25,6 +25,7 @@
#include "vtkDebugLeaks.h"
#include "vtkPointData.h"
#include "vtkProperty.h"
#include "vtkTestUtilities.h"
#include "vtkRegressionTestImage.h"
#include "vtkRenderer.h"
#include "vtkRenderWindow.h"
......
......@@ -25,6 +25,7 @@
#include "vtkDebugLeaks.h"
#include "vtkPointData.h"
#include "vtkProperty.h"
#include "vtkTestUtilities.h"
#include "vtkRegressionTestImage.h"
#include "vtkRenderer.h"
#include "vtkRenderWindow.h"
......
......@@ -27,6 +27,7 @@
#include "vtkDebugLeaks.h"
#include "vtkPointData.h"
#include "vtkProperty.h"
#include "vtkTestUtilities.h"
#include "vtkRegressionTestImage.h"
#include "vtkRenderer.h"
#include "vtkRenderWindow.h"
......
......@@ -27,6 +27,7 @@
#include "vtkDebugLeaks.h"
#include "vtkPointData.h"
#include "vtkProperty.h"
#include "vtkTestUtilities.h"
#include "vtkRegressionTestImage.h"
#include "vtkRenderer.h"
#include "vtkRenderWindow.h"
......
......@@ -25,6 +25,7 @@
#include "vtkDebugLeaks.h"
#include "vtkPointData.h"
#include "vtkProperty.h"
#include "vtkTestUtilities.h"
#include "vtkRegressionTestImage.h"
#include "vtkRenderer.h"
#include "vtkRenderWindow.h"
......
......@@ -27,6 +27,7 @@
#include "vtkDebugLeaks.h"
#include "vtkPointData.h"
#include "vtkProperty.h"
#include "vtkTestUtilities.h"
#include "vtkRegressionTestImage.h"
#include "vtkRenderer.h"
#include "vtkRenderWindow.h"
......
......@@ -29,6 +29,7 @@
#include "vtkVolumeTextureMapper2D.h"
#include "vtkColorTransferFunction.h"
#include "vtkTestUtilities.h"
#include "vtkRegressionTestImage.h"
#include "vtkDebugLeaks.h"
......
......@@ -31,6 +31,7 @@
#include "vtkVolume16Reader.h"
#include "vtkImageData.h"
#include "vtkTestUtilities.h"
#include "vtkRegressionTestImage.h"
#include "vtkDebugLeaks.h"
......
......@@ -35,6 +35,7 @@
#include "vtkSplineWidget.h"
#include "vtkVolume16Reader.h"
#include "vtkTestUtilities.h"
#include "vtkRegressionTestImage.h"
#include "vtkDebugLeaks.h"
......
......@@ -29,6 +29,7 @@
#include "vtkStructuredGrid.h"
#include "vtkStructuredGridOutlineFilter.h"
#include "vtkTestUtilities.h"
#include "vtkRegressionTestImage.h"
#include "vtkDebugLeaks.h"
......
......@@ -29,6 +29,7 @@
#include "vtkStructuredGrid.h"
#include "vtkStructuredGridOutlineFilter.h"
#include "vtkTestUtilities.h"
#include "vtkRegressionTestImage.h"
#include "vtkDebugLeaks.h"
......
......@@ -29,6 +29,7 @@
#include "vtkStructuredGrid.h"
#include "vtkStructuredGridOutlineFilter.h"
#include "vtkTestUtilities.h"
#include "vtkRegressionTestImage.h"
#include "vtkDebugLeaks.h"
......
......@@ -23,6 +23,7 @@
#include "vtkInteractorEventRecorder.h"
#include "vtkScalarBarActor.h"
#include "vtkTestUtilities.h"
#include "vtkRegressionTestImage.h"
#include "vtkDebugLeaks.h"
......
......@@ -21,6 +21,7 @@
#include "vtkVolume16Reader.h"
#include "vtkXYPlotActor.h"
#include "vtkTestUtilities.h"
#include "vtkRegressionTestImage.h"
#include "vtkDebugLeaks.h"
......
......@@ -19,6 +19,7 @@
#include "vtkWindowToImageFilter.h"
#include "vtkPNMWriter.h"
#include "vtkTestUtilities.h"
#include "vtkRegressionTestImage.h"
int ImportExport( int argc, char *argv[] )
......
......@@ -23,6 +23,7 @@
// To run fast redistribution: SetUseMinimalMemoryOff() (Default)
// To run memory conserving code instead: SetUseMinimalMemoryOn()
#include "vtkTestUtilities.h"
#include "vtkRegressionTestImage.h"
#include "vtkParallelFactory.h"
#include "vtkCompositeRenderManager.h"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment