Program: bbtk
Module: $RCSfile: bbwxvtkViewer3D.cxx,v $
Language: C++
- Date: $Date: 2010/03/07 13:18:43 $
- Version: $Revision: 1.20 $
+ Date: $Date: 2011/05/05 16:07:19 $
+ Version: $Revision: 1.21 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
if (stereo==true){
renderwindow->SetStereoCapableWindow(1);
- //renderwindow->SetStereoTypeToCrystalEyes();
- renderwindow->SetStereoTypeToRedBlue();
+
+// renderwindow->SetStereoTypeToCrystalEyes();
+// renderwindow->SetStereoTypeToRedBlue(); // OK 2.
+
+ renderwindow->SetAnaglyphColorMask(4,3);
+ renderwindow->SetAnaglyphColorSaturation(0.65);
+ renderwindow->SetStereoTypeToAnaglyph(); // OK 1.
+
+// renderwindow->SetStereoTypeToInterlaced(); // ??
+// renderwindow->SetStereoTypeToCheckerboard();
+// renderwindow->SetStereoTypeToDresden();
+
renderwindow->SetStereoRender(1);
}