Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[Manta] r2156 - in trunk/scenes/csafe: python src


Chronological Thread 
  • From: brownlee@sci.utah.edu
  • To: manta@sci.utah.edu
  • Subject: [Manta] r2156 - in trunk/scenes/csafe: python src
  • Date: Fri, 28 Mar 2008 08:19:29 -0600 (MDT)

Author: brownlee
Date: Fri Mar 28 08:19:29 2008
New Revision: 2156

Modified:
   trunk/scenes/csafe/python/csafe_demo.py
   trunk/scenes/csafe/src/CDTest.h
Log:
fixing function call, stupid python

Modified: trunk/scenes/csafe/python/csafe_demo.py
==============================================================================
--- trunk/scenes/csafe/python/csafe_demo.py     (original)
+++ trunk/scenes/csafe/python/csafe_demo.py     Fri Mar 28 08:19:29 2008
@@ -222,8 +222,9 @@
         for  i in range(0, len(self.scene.nrrdFiles)):
                 self.test.addSphereNrrd(self.scene.nrrdFiles[i])
         #self.test.loadSphereNrrds()
+        self.test.setVolCMinMax(300, 2100)
         self.test.reloadData()
-       self.test.setVolCMinMax(300, 2100)
+       
        #self.test.loadVolNrrds()
        
        self.BuildHistograms()
@@ -482,7 +483,6 @@
        self.SetBackgroundColour(self.scene.bgColor)
        self.LayoutWindow()
 #TODO: values hardcoded for now
-       
self.scene.nrrdFiles2.append("/usr/sci/data/Medical/VFemHead/vfhead-crop.nhdr")
        self.scene.ridx = 6
        self.scene.cidx = 4
        self.volCMap.scaleAlphas(0.00125)

Modified: trunk/scenes/csafe/src/CDTest.h
==============================================================================
--- trunk/scenes/csafe/src/CDTest.h     (original)
+++ trunk/scenes/csafe/src/CDTest.h     Fri Mar 28 08:19:29 2008
@@ -288,7 +288,7 @@
         //! calls destructors on all loaded data, then reloads sphere and 
volume files
         /*!
         */
-        void reloadData(void* callback)
+        void reloadData()
         {
             _scene = new Scene();
             //TODO: i don't delete the old scene object... I don't want to 
to do a recursive delete




  • [Manta] r2156 - in trunk/scenes/csafe: python src, brownlee, 03/28/2008

Archive powered by MHonArc 2.6.16.

Top of page