Commit 706b0289 authored by Aashish Chaudhary's avatar Aashish Chaudhary
Browse files

Updated test name and position parameter

Change-Id: I1c13c3795f0f8aa0252ea430de1b56e287cd8a7f
parent 44ef2b80
...@@ -18,9 +18,9 @@ IF(VTK_USE_DISPLAY) ...@@ -18,9 +18,9 @@ IF(VTK_USE_DISPLAY)
${RenderingTestsWithArguments} ${RenderingTestsWithArguments}
LoadOpenGLExtension.cxx LoadOpenGLExtension.cxx
TestActorLightingFlag.cxx TestActorLightingFlag.cxx
TestAnaglyphicStereo.cxx
TestAnimationScene.cxx TestAnimationScene.cxx
TestBlurAndSobelPasses.cxx TestBlurAndSobelPasses.cxx
TestDeeringStereo.cxx
TestDynamic2DLabelMapper.cxx TestDynamic2DLabelMapper.cxx
TestFBO.cxx TestFBO.cxx
TestFollowerPicking.cxx TestFollowerPicking.cxx
......
...@@ -32,14 +32,14 @@ ...@@ -32,14 +32,14 @@
#define VTK_CREATE(type, var) \ #define VTK_CREATE(type, var) \
vtkSmartPointer<type> var = vtkSmartPointer<type>::New() vtkSmartPointer<type> var = vtkSmartPointer<type>::New()
int TestAnaglyphicStereo(int argc, char *argv[]) int TestDeeringStereo(int argc, char *argv[])
{ {
double bottomLeft[3] = {-1.0, -1.0, -1.0}; double bottomLeft[3] = {-1.0, -1.0, -1.0};
double bottomRight[3] = { 1.0, -1.0, -1.0}; double bottomRight[3] = { 1.0, -1.0, -1.0};
double topRight[3] = { 1.0, 1.0, -1.0}; double topRight[3] = { 1.0, 1.0, -1.0};
VTK_CREATE(vtkSphereSource, sphere1); VTK_CREATE(vtkSphereSource, sphere1);
sphere1->SetCenter(0.0, 0.0, -4.0); sphere1->SetCenter(0.5, 0.0, -4.0);
sphere1->SetThetaResolution(100); sphere1->SetThetaResolution(100);
sphere1->SetPhiResolution(100.0); sphere1->SetPhiResolution(100.0);
...@@ -94,6 +94,7 @@ int TestAnaglyphicStereo(int argc, char *argv[]) ...@@ -94,6 +94,7 @@ int TestAnaglyphicStereo(int argc, char *argv[])
VTK_CREATE(vtkRenderWindowInteractor, iren); VTK_CREATE(vtkRenderWindowInteractor, iren);
iren->SetRenderWindow(renwin); iren->SetRenderWindow(renwin);
iren->Initialize(); iren->Initialize();
iren->Start(); iren->Start();
retVal = vtkRegressionTester::PASSED; retVal = vtkRegressionTester::PASSED;
} }
......
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