Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Michael Migliore
VTK
Commits
706b0289
Commit
706b0289
authored
Jun 11, 2011
by
Aashish Chaudhary
Browse files
Updated test name and position parameter
Change-Id: I1c13c3795f0f8aa0252ea430de1b56e287cd8a7f
parent
44ef2b80
Changes
2
Hide whitespace changes
Inline
Side-by-side
Rendering/Testing/Cxx/CMakeLists.txt
View file @
706b0289
...
@@ -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
...
...
Rendering/Testing/Cxx/Test
Anaglyphic
Stereo.cxx
→
Rendering/Testing/Cxx/Test
Deering
Stereo.cxx
View file @
706b0289
...
@@ -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
Test
Anaglyphic
Stereo
(
int
argc
,
char
*
argv
[])
int
Test
Deering
Stereo
(
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
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment