Commit d3bea4f5 authored by Will Schroeder's avatar Will Schroeder

Refining tests and test images

parent 9112341a
......@@ -30,8 +30,6 @@
int TestFlyingEdges(int argc, char *argv[])
{
cout << "CTEST_FULL_OUTPUT (Avoid ctest truncation of output)" << endl;
// Create the sample dataset
vtkNew<vtkRTAnalyticSource> wavelet;
wavelet->SetWholeExtent(-63, 64,
......@@ -42,7 +40,7 @@ int TestFlyingEdges(int argc, char *argv[])
vtkNew<vtkFlyingEdges3D> flyingEdges;
flyingEdges->SetInputConnection(wavelet->GetOutputPort());
flyingEdges->GenerateValues(54, 128.0, 225.0);
flyingEdges->GenerateValues(6, 128.0, 225.0);
flyingEdges->ComputeNormalsOn();
flyingEdges->ComputeGradientsOn();
flyingEdges->ComputeScalarsOn();
......@@ -64,12 +62,11 @@ int TestFlyingEdges(int argc, char *argv[])
ren->ResetCamera();
renWin->Render();
iren->Initialize();
int retVal = vtkRegressionTestImage(renWin.GetPointer());
if (retVal == vtkRegressionTester::DO_INTERACTOR)
{
iren->Start();
}
return !(retVal == vtkTesting::DO_INTERACTOR);
return !retVal;
}
9f573000b865ab2da5383a392c32118b
88377f459808402531ecc5a555ee8d20
b857a91546ed9a9badef17f39a73174b
5ef2b1832f0871d6556344fd55833236
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