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
44ef2b80
Commit
44ef2b80
authored
Jun 11, 2011
by
Aashish Chaudhary
Browse files
Setting smaller render window size. Updated test information
Change-Id: Ifbfcef7c8bdd37adea50da1e4c788646f1cfe3c9
parent
4977f9cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Rendering/Testing/Cxx/TestAnaglyphicStereo.cxx
View file @
44ef2b80
...
...
@@ -12,14 +12,9 @@
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
/*----------------------------------------------------------------------------
Copyright (c) Sandia Corporation
See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
----------------------------------------------------------------------------*/
// This test draws a sphere with the edges shown. It also turns on coincident
// topology resolution with a z-shift to both make sure the wireframe is
// visible and to exercise that type of coincident topology resolution.
// This test draws a sphere in anaglyphic stereo (red-blue) mode using deering
// frustum.
#include "vtkActor.h"
#include "vtkCamera.h"
...
...
@@ -86,7 +81,7 @@ int TestAnaglyphicStereo(int argc, char *argv[])
VTK_CREATE
(
vtkRenderWindow
,
renwin
);
renwin
->
AddRenderer
(
renderer
);
renwin
->
SetSize
(
1080
,
108
0
);
renwin
->
SetSize
(
400
,
40
0
);
renwin
->
SetStereoRender
(
1
);
renwin
->
SetStereoCapableWindow
(
1
);
renwin
->
SetStereoTypeToRedBlue
();
...
...
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