Changeset 4250


Ignore:
Timestamp:
07/23/08 17:15:56 (12 years ago)
Author:
curtis
Message:

Temporary hacks and fixes.

Location:
trunk/loci/slim
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/slim/BurnInRenderer.java

    r4248 r4250  
    152152          currentIterations = 0; 
    153153          currProgress = (currentX * maxDim) + currentY; 
    154           System.out.println(currProgress + "/" + maxProgress); 
    155154          while(currentIterations < maxIterations) { 
    156155            //System.out.println("x: " + currentX + " y: " + currentY + " iter: " + currentIterations); 
  • trunk/loci/slim/TwoDPane.java

    r4249 r4250  
    6363 
    6464  /** Lifetime image is redrawn every SKIPth frame. */ 
    65   private static final int SKIP = 3; 
     65  private static final int SKIP = 2; 
    6666 
    6767  // -- Fields -- 
     
    379379        int subLevel = curveRenderers[c].getSubsampleLevel(); 
    380380        if (subLevel < 0) { 
    381           int curIter = curveRenderers[c].getCurrentIterations(); 
    382           int maxIter = curveRenderers[c].getMaxIterations(); 
    383           progress.setString("Iteration " + curIter + "/" + maxIter); 
     381          double percent = (10000 * curProg / maxProg) / 100.0; 
     382          progress.setString("Iterating: " + percent + "%"); 
    384383        } 
    385384        else { 
     
    500499  } 
    501500 
    502   private void resetMinMax(int min, int max) { 
     501  private void resetMinMax(double min, double max) { 
    503502    minField.getDocument().removeDocumentListener(this); 
    504503    maxField.getDocument().removeDocumentListener(this); 
     
    605604      cc.setTable(ColorControl.initTableVis5D(new float[3][256])); 
    606605 
    607       resetMinMax(lifetimeMin, lifetimeMax); 
     606      //resetMinMax(lifetimeMin, lifetimeMax); 
     607      resetMinMax(0, 0.035);//TEMP 
    608608    } 
    609609    catch (VisADException exc) { exc.printStackTrace(); } 
Note: See TracChangeset for help on using the changeset viewer.