Commit 0bcef852 authored by Will Schroeder's avatar Will Schroeder
Browse files

BUG:New images to make tests pass

parent 14661ec7
...@@ -9,6 +9,7 @@ IF (VTK_USE_RENDERING AND VTK_USE_DISPLAY) ...@@ -9,6 +9,7 @@ IF (VTK_USE_RENDERING AND VTK_USE_DISPLAY)
CellLocator.cxx CellLocator.cxx
PointLocator.cxx PointLocator.cxx
FrustumClip.cxx FrustumClip.cxx
NicoleTest.cxx
RGrid.cxx RGrid.cxx
TestAppendSelection.cxx TestAppendSelection.cxx
TestClipHyperOctree.cxx TestClipHyperOctree.cxx
......
...@@ -59,6 +59,7 @@ int TestSelectEnclosedPoints(int argc, char* argv[]) ...@@ -59,6 +59,7 @@ int TestSelectEnclosedPoints(int argc, char* argv[])
actor->GetProperty()->SetRepresentationToWireframe(); actor->GetProperty()->SetRepresentationToWireframe();
// Generate some random points // Generate some random points
vtkMath::RandomSeed(1177);
vtkPoints *points = vtkPoints::New(); vtkPoints *points = vtkPoints::New();
for (int i=0; i < 500; i++) for (int i=0; i < 500; i++)
{ {
...@@ -95,7 +96,7 @@ int TestSelectEnclosedPoints(int argc, char* argv[]) ...@@ -95,7 +96,7 @@ int TestSelectEnclosedPoints(int argc, char* argv[])
pointsActor->GetProperty()->SetColor(1,0,0); pointsActor->GetProperty()->SetColor(1,0,0);
// Add actors // Add actors
renderer->AddActor(actor); // renderer->AddActor(actor);
renderer->AddActor(pointsActor); renderer->AddActor(pointsActor);
// Standard testing code. // Standard testing code.
......
...@@ -45,6 +45,7 @@ int TestUncertaintyTubeFilter( int argc, char* argv[] ) ...@@ -45,6 +45,7 @@ int TestUncertaintyTubeFilter( int argc, char* argv[] )
newPts->SetPoint( 8, 1,8,4); newPts->SetPoint( 8, 1,8,4);
newPts->SetPoint( 9, 1,16,5); newPts->SetPoint( 9, 1,16,5);
vtkMath::RandomSeed(1177);
vtkDoubleArray *s = vtkDoubleArray::New(); vtkDoubleArray *s = vtkDoubleArray::New();
s->SetNumberOfComponents(1); s->SetNumberOfComponents(1);
s->SetNumberOfTuples(10); s->SetNumberOfTuples(10);
......
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