[vtkusers] vtkLookUpTable negative scalars

James Labiak jim at jslengineeringsoftware.com
Mon Aug 31 11:23:06 EDT 2015


Hi Cory,
Here's a java example below. Also attached with some_points.txt file 
(warning: z, theta, dR and not x,y,z).  Just comment the dRi sign change 
line in order to change the scalars from negative to positive.
Thanks,
Jim

import java.awt.BorderLayout;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.SwingUtilities;
import vtk.*;

public class PlotSpheres extends JPanel {

     public static void main(String[] args) throws FileNotFoundException {
         SwingUtilities.invokeLater(new Runnable() {
             public void run() {
                 JFrame frame = new JFrame("PlotSheres");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                 frame.getContentPane().setLayout(new BorderLayout());
                 try {
                     frame.getContentPane().add(new PlotSpheres(),
                             BorderLayout.CENTER);
                 } catch (FileNotFoundException e) {
                     e.printStackTrace();
                 }
                 frame.setSize(1000, 1000);
                 frame.setVisible(true);
             }
         });
     }

     // Load VTK libraries
     static {
         if (!vtkNativeLibrary.LoadAllNativeLibraries()) {
             for (vtkNativeLibrary lib : vtkNativeLibrary.values()) {
                 if (!lib.IsLoaded())
                     System.out.println(lib.GetLibraryName() + " not 
loaded");
             }
             System.out.println("Make sure the search path is correct: ");
System.out.println(System.getProperty("java.library.path"));
         }
         vtkNativeLibrary.DisableOutputWindow(null);
     }

     // Variables
     private String dataFile;
     private String dataFilePathString;
     Double[] xValsArray = new Double[41];
     Double[] yValsArray = new Double[721];
     Double[][] zValsArray = new Double[41][721];
     private vtkRenderWindowPanel renderWindowPanel = new 
vtkRenderWindowPanel();
     private vtkPoints points;
     private int pointsNum;
     private vtkRenderWindowInteractor renderWindowInteractor;
     private vtkPolyData polyData = new vtkPolyData();
     private vtkFloatArray colorsScalars;

     public PlotSpheres() throws FileNotFoundException {
         super(new BorderLayout());
         dataFilePathString = "C:\\vtk123";
         dataFile = "some_points.txt";
         calcSheres();
         System.out.println("calcSheres done");
     }

     public void calcSheres() throws FileNotFoundException {
         try {
             renderWindowPanel.GetRenderer().RemoveAllViewProps();
         } catch (Exception nullEx) {
             System.out.println("renderWindowPanel props are null.");
         }

         // Read the file
         // Count the lines in the file
         BufferedReader br_count = new BufferedReader(new FileReader(
                 dataFilePathString + File.separator + dataFile));
         String lineData = null;
         int lineNum = 0;
         try {
             lineData = br_count.readLine();
             // The first data line has just been read
             while (lineData != null) {
                 // Do nothing except increment the counter
                 lineNum = lineNum + 1; // on iteration 1, lineNum = 1
                 // Read blank line
                 lineData = br_count.readLine();
                 // Next action is in for the  br_count.readLine() (the
                 // next data line)
                 lineData = br_count.readLine();
                 System.out.println("lineNum = " + lineNum + "   " + 
lineData);
             }
         } catch (Exception e) {
             e.printStackTrace();
             System.out.println("Datafile line counting error");
         }
         try {
             br_count.close();
         } catch (IOException e) {
             System.out.println("Error closing br_count");
             e.printStackTrace();
         }

         BufferedReader br = new BufferedReader(new FileReader(
                 dataFilePathString + File.separator + dataFile));
         // Set number of data point sets (x,y,z sets)
         pointsNum = lineNum;

         // Fill colorsScalars array with the actual scalar values
         // Initialize/reinitialize variables
         String linej;
         int indexNum = 0;
         points = new vtkPoints();
         points.SetNumberOfPoints(pointsNum);
         Double ZPOSi;
         Double theta;
         Double dRi;
         Double tempx;
         Double tempy;
         Double tempz;
         // colorsScalars is the array of native (pos or neg) scalars
         // the sign is changed to meet the required application convention
         // the sign change line can be used to show difference between
         // plotting of positive and negative scalars
         colorsScalars = new vtkFloatArray();
         colorsScalars.SetNumberOfTuples(pointsNum);
         String[] linejArray = {};
         try {
             linej = br.readLine();
             while (linej != null) {
                 linejArray = linej.split("\\s+");
                 ZPOSi = Double.parseDouble(linejArray[1]); // Z 
position (m)
                 theta = Double.parseDouble(linejArray[2]); // theta (deg)
                 dRi = Double.parseDouble(linejArray[3]); // dRi (m)
                 // dRi negative value means smaller than nominal radius
                 // tempx = (r - dr) * cos(theta)
                 // tempy = (r - dr) * sin(theta)
                 // tempz = ZPOSi
                 tempx = (.094629 - dRi) * Math.cos((3.14159 / 180) * 
theta);
                 tempy = (.094629 - dRi) * Math.sin((3.14159 / 180) * 
theta);
                 tempz = ZPOSi;
                 points.SetPoint(indexNum, tempx, tempy, tempz);
                 System.out.println(tempx + " " + tempy + " " + tempz);
                 // Account for convention used in application
                 // Change sign of dRi:
                 dRi *= -1;
                 colorsScalars.SetValue(indexNum, dRi);
                 indexNum = indexNum + 1;
                 System.out.println("indexNum = " + indexNum
                         + "......... dRi  = " + dRi);
                 linej = br.readLine();
                 // (Account for blank line...)
                 linej = br.readLine();
             }
         } catch (Exception ex) {
             ex.printStackTrace();
             System.out.println("Error reading datafile");
         }
         try {
             br_count.close();
         } catch (IOException e) {
             System.out.println("Error closing br_count");
             e.printStackTrace();
         }

         // populate the polyData
         this.polyData.SetPoints(points);

         // find min and max of colorsScalars array
         double[] tmpScalarRange = new double[2];
         tmpScalarRange = this.colorsScalars.GetRange();
         Double scalarMax = tmpScalarRange[1];
         Double scalarMin = tmpScalarRange[0];

         // populate the scalars
         this.polyData.GetPointData().SetScalars(this.colorsScalars);

         // create sphere source
         vtkSphereSource sphere = new vtkSphereSource();
         sphere.Update();

         // setup glyph3D
         vtkGlyph3D glyph3D = new vtkGlyph3D();
         glyph3D.SetColorModeToColorByScalar();
         glyph3D.SetSourceConnection(sphere.GetOutputPort());
         glyph3D.SetInputData(polyData);
         glyph3D.Update();

         // visualize
         vtkDataSetMapper mapper = new vtkDataSetMapper();
         mapper.SetInputConnection(glyph3D.GetOutputPort());
         mapper.SetScalarRange(scalarMin, scalarMax);
         mapper.Update();

         vtkActor actor = new vtkActor();
         actor.GetProperty().SetSpecularPower(1.0);
         actor.GetProperty().SetDiffuse(1.0);
         actor.GetProperty().SetOpacity(1.0);
         actor.SetMapper(mapper);

         vtkRenderer renderer = new vtkRenderer();
         renderer = renderWindowPanel.GetRenderer();
         renderer.AddActor(actor);
         renderer.SetBackground(0.0, 0.0, 0.0);
         renderer.ResetCameraClippingRange();

         // Create a lookup table to share between the mapper and the 
scalarbar
         vtkLookupTable hueLut = new vtkLookupTable();
         hueLut.SetTableRange(scalarMin, scalarMax);
         hueLut.SetHueRange(0.6667, 0.0000); // H from HSV red (top) to blue
         hueLut.SetSaturationRange(1.0, 1.0);
         hueLut.SetValueRange(1.0, 1.0); // V from HSV
         hueLut.Build();
         mapper.SetLookupTable(hueLut);
         mapper.Update();

         vtkScalarBarWidget sbWidget = new vtkScalarBarWidget();
         sbWidget.RepositionableOn();
         renderWindowInteractor = 
renderWindowPanel.getRenderWindowInteractor();
         sbWidget.SetInteractor(renderWindowInteractor);
         sbWidget.GetScalarBarActor().SetTitle("dR (m)");
sbWidget.GetScalarBarActor().SetLookupTable(mapper.GetLookupTable());

         vtkTextProperty SBtprop = new vtkTextProperty();
         SBtprop.SetFontSize(1);
         SBtprop.SetBold(1);
         sbWidget.GetScalarBarActor().SetLabelTextProperty(SBtprop);
         sbWidget.GetScalarBarActor().SetBarRatio(.7);
         SBtprop.SetLineOffset(-10);

         renderer.ResetCameraClippingRange();

         vtkCubeAxesActor2D axes = new vtkCubeAxesActor2D();
         axes.SetCamera(renderer.GetActiveCamera());
         axes.SetBounds(actor.GetBounds());
         axes.SetFlyModeToOuterEdges();
         renderer.AddActor(axes);
         renderer.ResetCamera();
         sbWidget.EnabledOn();

         System.out.println("B4 this.add");
         this.add(renderWindowPanel, BorderLayout.CENTER);

         renderer.ResetCamera();
         renderWindowInteractor.Start();
     }
}

On 8/31/2015 10:08 AM, Cory Quammen wrote:
> Hmm, that should work. Mind posting a code example showing the problem?
>
> Thanks,
> Cory
>
> On Mon, Aug 31, 2015 at 9:51 AM, James Labiak 
> <jim at jslengineeringsoftware.com 
> <mailto:jim at jslengineeringsoftware.com>> wrote:
>
>     (vtk 6.0, Java wrapper) When using a vtkLookUpTable to map scalar
>     values to hue range, it appears that everything works correctly
>     when the table range is entirely positive, but when the table
>     range is entirely negative, the graphical output is blank. If this
>     is intended behavior, then I would make my own LUT except for
>     mapper.SetLookupTable(hueLut). Is this likely my error or a LUT issue?
>     _______________________________________________
>     Powered by www.kitware.com <http://www.kitware.com>
>
>     Visit other Kitware open-source projects at
>     http://www.kitware.com/opensource/opensource.html
>
>     Please keep messages on-topic and check the VTK FAQ at:
>     http://www.vtk.org/Wiki/VTK_FAQ
>
>     Search the list archives at: http://markmail.org/search/?q=vtkusers
>
>     Follow this link to subscribe/unsubscribe:
>     http://public.kitware.com/mailman/listinfo/vtkusers
>
>
>
>
> -- 
> Cory Quammen
> R&D Engineer
> Kitware, Inc.

-- 
James Labiak
JSL Engineering and Software
Mobile: 231-638-3725
email: jim at jslengineeringsoftware.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150831/7caf9c9e/attachment-0001.html>
-------------- next part --------------
   5.0100000e-02   6.1352114e+01   3.8389000e-04

   5.0100000e-02   1.4765338e+00   4.2621000e-04

   5.0100000e-02   3.1397548e+00   4.2609000e-04

   5.0100000e-02   4.8029527e+00   4.2586000e-04

   5.0100000e-02   6.4661649e+00   4.2555000e-04

   5.0100000e-02   8.1293677e+00   4.2515000e-04

   5.0100000e-02   9.7925795e+00   4.2466000e-04

   5.0100000e-02   1.1455794e+01   4.2408000e-04

   5.0100000e-02   1.3118997e+01   4.2342000e-04

   5.0100000e-02   1.4782203e+01   4.2267000e-04

   5.0100000e-02   1.6445417e+01   4.2184000e-04

   5.0100000e-02   1.8108634e+01   4.2094000e-04

   5.0100000e-02   1.9771847e+01   4.1996000e-04

   5.0100000e-02   2.1435058e+01   4.1890000e-04

   5.0100000e-02   2.3098256e+01   4.1779000e-04

   5.0100000e-02   2.4761466e+01   4.1660000e-04

   5.0100000e-02   2.6424690e+01   4.1536000e-04

   5.0100000e-02   2.8087884e+01   4.1406000e-04

   5.0100000e-02   2.9751101e+01   4.1271000e-04

   5.0100000e-02   3.1414318e+01   4.1131000e-04

   5.0100000e-02   3.3077523e+01   4.0987000e-04

   5.0100000e-02   3.4740731e+01   4.0839000e-04

   5.0100000e-02   3.6403948e+01   4.0688000e-04

   5.0100000e-02   3.8067158e+01   4.0534000e-04

   5.0100000e-02   3.9730365e+01   4.0378000e-04

   5.0100000e-02   4.1393579e+01   4.0220000e-04

   5.0100000e-02   4.3056799e+01   4.0061000e-04

   5.0100000e-02   4.4720004e+01   3.9902000e-04

   5.0100000e-02   4.6383217e+01   3.9742000e-04

   5.0100000e-02   4.8046426e+01   3.9583000e-04

   5.0100000e-02   4.9709646e+01   3.9425000e-04

   5.0100000e-02   5.1372843e+01   3.9268000e-04

   5.0100000e-02   5.3036065e+01   3.9114000e-04

   5.0100000e-02   5.4699269e+01   3.8962000e-04

   5.0100000e-02   5.6362475e+01   3.8813000e-04

   5.0100000e-02   5.8025687e+01   3.8667000e-04

   5.0100000e-02   5.9688909e+01   3.8526000e-04

   5.0100000e-02   9.0000000e+01   3.7125000e-04

   5.0100000e-02   6.3037201e+01   3.8256000e-04

   5.0100000e-02   6.4722379e+01   3.8128000e-04

   5.0100000e-02   6.6407565e+01   3.8006000e-04

   5.0100000e-02   6.8092729e+01   3.7891000e-04

   5.0100000e-02   6.9777912e+01   3.7782000e-04

   5.0100000e-02   7.1463087e+01   3.7681000e-04

   5.0100000e-02   7.3148261e+01   3.7587000e-04

   5.0100000e-02   7.4833440e+01   3.7501000e-04

   5.0100000e-02   7.6518612e+01   3.7424000e-04

   5.0100000e-02   7.8203787e+01   3.7355000e-04

   5.0100000e-02   7.9888972e+01   3.7295000e-04

   5.0100000e-02   8.1574151e+01   3.7243000e-04

   5.0100000e-02   8.3259321e+01   3.7201000e-04

   5.0100000e-02   8.4944507e+01   3.7168000e-04

   5.0100000e-02   8.6629674e+01   3.7144000e-04

   5.0100000e-02   8.8314858e+01   3.7130000e-04

   4.5400000e-02   6.1351971e+01   3.2550000e-04

   4.5400000e-02   2.5524152e-01   3.6786000e-04

   4.5400000e-02   1.6434549e+00   3.6781000e-04

   4.5400000e-02   3.0323277e+00   3.6770000e-04

   4.5400000e-02   4.4211609e+00   3.6753000e-04

   4.5400000e-02   5.8092789e+00   3.6729000e-04

   4.5400000e-02   7.1977214e+00   3.6699000e-04

   4.5400000e-02   8.5867874e+00   3.6663000e-04

   4.5400000e-02   9.9751489e+00   3.6621000e-04

   4.5400000e-02   1.1363378e+01   3.6572000e-04

   4.5400000e-02   1.2752175e+01   3.6518000e-04

   4.5400000e-02   1.4141006e+01   3.6457000e-04

   4.5400000e-02   1.5529185e+01   3.6392000e-04

   4.5400000e-02   1.6917687e+01   3.6320000e-04

   4.5400000e-02   1.8306731e+01   3.6243000e-04

   4.5400000e-02   1.9695115e+01   3.6161000e-04

   4.5400000e-02   2.1083338e+01   3.6074000e-04

   4.5400000e-02   2.2472207e+01   3.5982000e-04

   4.5400000e-02   2.3860995e+01   3.5886000e-04

   4.5400000e-02   2.5249189e+01   3.5785000e-04

   4.5400000e-02   2.6637629e+01   3.5680000e-04

   4.5400000e-02   2.8026703e+01   3.5571000e-04

   4.5400000e-02   2.9415144e+01   3.5459000e-04

   4.5400000e-02   3.0803308e+01   3.5343000e-04

   4.5400000e-02   3.2192141e+01   3.5225000e-04

   4.5400000e-02   3.3580957e+01   3.5103000e-04

   4.5400000e-02   3.4969170e+01   3.4979000e-04

   4.5400000e-02   3.6357576e+01   3.4853000e-04

   4.5400000e-02   3.7746659e+01   3.4725000e-04

   4.5400000e-02   3.9135074e+01   3.4595000e-04

   4.5400000e-02   4.0523290e+01   3.4464000e-04

   4.5400000e-02   4.1912104e+01   3.4332000e-04

   4.5400000e-02   4.3300873e+01   3.4199000e-04

   4.5400000e-02   4.4689134e+01   3.4066000e-04

   4.5400000e-02   4.6077546e+01   3.3932000e-04

   4.5400000e-02   4.7466620e+01   3.3799000e-04

   4.5400000e-02   4.8855030e+01   3.3667000e-04

   4.5400000e-02   5.0243225e+01   3.3535000e-04

   4.5400000e-02   5.1632033e+01   3.3405000e-04

   4.5400000e-02   5.3020850e+01   3.3276000e-04

   4.5400000e-02   5.4409061e+01   3.3149000e-04

   4.5400000e-02   5.5797462e+01   3.3024000e-04

   4.5400000e-02   5.7186533e+01   3.2901000e-04

   4.5400000e-02   5.8574936e+01   3.2781000e-04

   4.5400000e-02   5.9963155e+01   3.2664000e-04

   4.6340000e-02   6.1352114e+01   3.3691000e-04

   4.7280000e-02   6.1352114e+01   3.4864000e-04

   4.8220000e-02   6.1352114e+01   3.6039000e-04

   4.9160000e-02   6.1352114e+01   3.7214000e-04

   4.6225360e-02   9.8531399e-01   3.7786000e-04

   4.6328620e-02   2.3421958e+00   3.7904000e-04

   4.6326990e-02   3.7360960e+00   3.7888000e-04

   4.6344990e-02   5.1186865e+00   3.7889000e-04

   4.6349910e-02   6.5125205e+00   3.7868000e-04

   4.6334860e-02   7.9247376e+00   3.7816000e-04

   4.6371620e-02   9.3433824e+00   3.7821000e-04

   4.6266200e-02   1.0711450e+01   3.7648000e-04

   4.6419490e-02   1.2064832e+01   3.7784000e-04

   4.6342980e-02   1.3451917e+01   3.7633000e-04

   4.6350710e-02   1.4842978e+01   3.7579000e-04

   4.6336180e-02   1.6253725e+01   3.7492000e-04

   4.6371380e-02   1.7671085e+01   3.7458000e-04

   4.6267040e-02   1.9041493e+01   3.7253000e-04

   4.6418410e-02   2.0396159e+01   3.7355000e-04

   4.6342350e-02   2.1783174e+01   3.7173000e-04

   4.6350420e-02   2.3173765e+01   3.7088000e-04

   4.6337390e-02   2.4583042e+01   3.6972000e-04

   4.6371420e-02   2.5999432e+01   3.6908000e-04

   4.6266430e-02   2.7371673e+01   3.6675000e-04

   4.6417020e-02   2.8727786e+01   3.6751000e-04

   4.6341020e-02   3.0115123e+01   3.6544000e-04

   4.6348950e-02   3.1506351e+01   3.6436000e-04

   4.6335820e-02   3.2918231e+01   3.6298000e-04

   4.6371440e-02   3.4334720e+01   3.6216000e-04

   4.6248990e-02   3.5703627e+01   3.5943000e-04

   4.6408520e-02   3.7061973e+01   3.6013000e-04

   4.6328450e-02   3.8449487e+01   3.5786000e-04

   4.6337350e-02   3.9843804e+01   3.5666000e-04

   4.6319830e-02   4.1263292e+01   3.5510000e-04

   4.6417640e-02   4.2723030e+01   3.5490000e-04

   4.6243140e-02   4.4037621e+01   3.5152000e-04

   4.6341850e-02   4.5379599e+01   3.5143000e-04

   4.6326930e-02   4.6782118e+01   3.4990000e-04

   4.6334130e-02   4.8176450e+01   3.4866000e-04

   4.6341740e-02   4.9578638e+01   3.4742000e-04

   4.6228220e-02   5.0961380e+01   3.4473000e-04

   4.6371970e-02   5.2350470e+01   3.4518000e-04

   4.6299740e-02   5.3771912e+01   3.4299000e-04

   4.6336680e-02   5.5161456e+01   3.4218000e-04

   4.6339120e-02   5.6613419e+01   3.4092000e-04

   4.6262460e-02   5.8180894e+01   3.3862000e-04

   4.6443880e-02   5.9788417e+01   3.3947000e-04

   4.7689320e-02   6.0292554e+01   3.5462000e-04

   4.9130800e-02   6.0078675e+01   3.7282000e-04

   4.9266680e-02   5.8759705e+01   3.7563000e-04

   4.9167070e-02   5.7216558e+01   3.7571000e-04

   4.9161020e-02   5.5516849e+01   3.7714000e-04

   4.9063130e-02   5.3869684e+01   3.7741000e-04

   4.9062890e-02   5.2204810e+01   3.7894000e-04

   4.9063020e-02   5.0541532e+01   3.8050000e-04

   4.9063020e-02   4.8878350e+01   3.8208000e-04

   4.9063020e-02   4.7215144e+01   3.8366000e-04

   4.9063020e-02   4.5551935e+01   3.8526000e-04

   4.9063020e-02   4.3888720e+01   3.8685000e-04

   4.9063020e-02   4.2225511e+01   3.8845000e-04

   4.9063020e-02   4.0562293e+01   3.9003000e-04

   4.9063020e-02   3.8899080e+01   3.9160000e-04

   4.9063020e-02   3.7235874e+01   3.9315000e-04

   4.9063020e-02   3.5572660e+01   3.9468000e-04

   4.9063020e-02   3.3909445e+01   3.9617000e-04

   4.9127650e-02   3.2243044e+01   3.9844000e-04

   4.9063020e-02   3.0583026e+01   3.9905000e-04

   4.9063020e-02   2.8919816e+01   4.0043000e-04

   4.9063020e-02   2.7256603e+01   4.0175000e-04

   4.9127000e-02   2.5600285e+01   4.0382000e-04

   4.9063020e-02   2.3930189e+01   4.0424000e-04

   4.9124130e-02   2.2265802e+01   4.0616000e-04

   4.9063020e-02   2.0603762e+01   4.0648000e-04

   4.9063020e-02   1.8940561e+01   4.0749000e-04

   4.9063020e-02   1.7277345e+01   4.0844000e-04

   4.9131130e-02   1.5610756e+01   4.1016000e-04

   4.9063020e-02   1.3950919e+01   4.1009000e-04

   4.9123090e-02   1.2287239e+01   4.1155000e-04

   4.9063020e-02   1.0624509e+01   4.1142000e-04

   4.9063020e-02   8.9612947e+00   4.1195000e-04

   4.9131250e-02   7.2941087e+00   4.1325000e-04

   4.9063020e-02   5.6348847e+00   4.1276000e-04

   4.9123130e-02   3.9704752e+00   4.1378000e-04

   4.9063020e-02   2.3084576e+00   4.1320000e-04

   4.9063020e-02   6.4524089e-01   4.1328000e-04

   4.7209320e-02   5.8953825e+01   3.4975000e-04

   4.8241400e-02   5.9180094e+01   3.6245000e-04

   4.8265700e-02   5.7899061e+01   3.6385000e-04

   4.8229870e-02   5.6448194e+01   3.6467000e-04

   4.8140040e-02   5.4948954e+01   3.6489000e-04

   4.8095810e-02   5.3255047e+01   3.6588000e-04

   4.8033330e-02   5.1551504e+01   3.6668000e-04

   4.8062290e-02   4.9903539e+01   3.6859000e-04

   4.8096090e-02   4.8200176e+01   3.7064000e-04

   4.8085960e-02   4.6510634e+01   3.7213000e-04

   4.8065250e-02   4.4839612e+01   3.7347000e-04

   4.8087270e-02   4.3198729e+01   3.7532000e-04

   4.8123430e-02   4.1509047e+01   3.7739000e-04

   4.8103750e-02   3.9838744e+01   3.7872000e-04

   4.8102720e-02   3.8166116e+01   3.8028000e-04

   4.8091240e-02   3.6502224e+01   3.8168000e-04

   4.8096570e-02   3.4855176e+01   3.8324000e-04

   4.8130370e-02   3.3181106e+01   3.8516000e-04

   4.8117460e-02   3.1516240e+01   3.8644000e-04

   4.8114850e-02   2.9850548e+01   3.8781000e-04

   4.8111500e-02   2.8190696e+01   3.8912000e-04

   4.8109280e-02   2.6535229e+01   3.9039000e-04

   4.8135030e-02   2.4867102e+01   3.9196000e-04

   4.8121720e-02   2.3201386e+01   3.9299000e-04

   4.8116740e-02   2.1535456e+01   3.9405000e-04

   4.8113720e-02   1.9875687e+01   3.9506000e-04

   4.8110140e-02   1.8218971e+01   3.9600000e-04

   4.8136180e-02   1.6551531e+01   3.9724000e-04

   4.8122110e-02   1.4885473e+01   3.9790000e-04

   4.8116770e-02   1.3219681e+01   3.9858000e-04

   4.8114560e-02   1.1559964e+01   3.9922000e-04

   4.8110120e-02   9.9027806e+00   3.9975000e-04

   4.8137700e-02   8.2360306e+00   4.0059000e-04

   4.8121180e-02   6.5699815e+00   4.0079000e-04

   4.8121490e-02   4.9045051e+00   4.0112000e-04

   4.8116390e-02   3.2355769e+00   4.0128000e-04

   4.8103610e-02   1.5782161e+00   4.0125000e-04

   4.7203940e-02   5.7474970e+01   3.5095000e-04

   4.7190610e-02   5.5948039e+01   3.5213000e-04

   4.7277900e-02   5.4387240e+01   3.5462000e-04

   4.7212260e-02   5.2814564e+01   3.5524000e-04

   4.7174710e-02   5.1167067e+01   3.5631000e-04

   4.7234770e-02   4.9448017e+01   3.5868000e-04

   4.7249080e-02   4.7744673e+01   3.6048000e-04

   4.7234800e-02   4.6064510e+01   3.6191000e-04

   4.7214730e-02   4.4340983e+01   3.6332000e-04

   4.7279450e-02   4.2600511e+01   3.6579000e-04

   4.7256210e-02   4.0952653e+01   3.6708000e-04

   4.7255620e-02   3.9319171e+01   3.6861000e-04

   4.7238040e-02   3.7643758e+01   3.6996000e-04

   4.7228110e-02   3.5938106e+01   3.7141000e-04

   4.7278350e-02   3.4230504e+01   3.7358000e-04

   4.7269560e-02   3.2583924e+01   3.7492000e-04

   4.7268160e-02   3.0940472e+01   3.7631000e-04

   4.7253180e-02   2.9270028e+01   3.7752000e-04

   4.7253650e-02   2.7569318e+01   3.7889000e-04

   4.7281230e-02   2.5875637e+01   3.8054000e-04

   4.7273830e-02   2.4246507e+01   3.8165000e-04

   4.7271320e-02   2.2609913e+01   3.8276000e-04

   4.7255300e-02   2.0943215e+01   3.8366000e-04

   4.7256540e-02   1.9242890e+01   3.8473000e-04

   4.7281370e-02   1.7550287e+01   3.8602000e-04

   4.7274090e-02   1.5925885e+01   3.8679000e-04

   4.7271580e-02   1.4291373e+01   3.8754000e-04

   4.7256120e-02   1.2623411e+01   3.8807000e-04

   4.7257830e-02   1.0921415e+01   3.8875000e-04

   4.7281860e-02   9.2289565e+00   3.8961000e-04

   4.7274860e-02   7.6122912e+00   3.8997000e-04

   4.7271800e-02   5.9877098e+00   3.9030000e-04

   4.7269100e-02   4.3420769e+00   3.9055000e-04

   4.7241100e-02   2.7199249e+00   3.9039000e-04

   4.7242100e-02   1.0472032e+00   3.9051000e-04

   4.5400000e-02   9.0000000e+01   3.1286000e-04

   4.5400000e-02   8.8634620e+01   3.1289000e-04

   4.5400000e-02   8.7271106e+01   3.1298000e-04

   4.5400000e-02   8.5906656e+01   3.1314000e-04

   4.5400000e-02   8.4542612e+01   3.1335000e-04

   4.5400000e-02   8.3178661e+01   3.1363000e-04

   4.5400000e-02   8.1814335e+01   3.1397000e-04

   4.5400000e-02   8.0450586e+01   3.1437000e-04

   4.5400000e-02   7.9086177e+01   3.1483000e-04

   4.5400000e-02   7.7722252e+01   3.1534000e-04

   4.5400000e-02   7.6358070e+01   3.1592000e-04

   4.5400000e-02   7.4993926e+01   3.1654000e-04

   4.5400000e-02   7.3629906e+01   3.1723000e-04

   4.5400000e-02   7.2265770e+01   3.1796000e-04

   4.5400000e-02   7.0901605e+01   3.1875000e-04

   4.5400000e-02   6.9537687e+01   3.1958000e-04

   4.5400000e-02   6.8173050e+01   3.2046000e-04

   4.5400000e-02   6.6809609e+01   3.2139000e-04

   4.5400000e-02   6.5444904e+01   3.2236000e-04

   4.5400000e-02   6.4081406e+01   3.2337000e-04

   4.5400000e-02   6.2717026e+01   3.2441000e-04

   4.1600000e-02   6.1352114e+01   2.7439000e-04

   4.1600000e-02   2.5589433e-01   3.5141000e-04

   4.1600000e-02   1.6441078e+00   3.5133000e-04

   4.1600000e-02   3.0329256e+00   3.5113000e-04

   4.1600000e-02   4.4214816e+00   3.5081000e-04

   4.1600000e-02   5.8100474e+00   3.5038000e-04

   4.1600000e-02   7.1985897e+00   3.4984000e-04

   4.1600000e-02   8.5871960e+00   3.4918000e-04

   4.1600000e-02   9.9757403e+00   3.4841000e-04

   4.1600000e-02   1.1363972e+01   3.4753000e-04

   4.1600000e-02   1.2752802e+01   3.4654000e-04

   4.1600000e-02   1.4141350e+01   3.4544000e-04

   4.1600000e-02   1.5529893e+01   3.4424000e-04

   4.1600000e-02   1.6918443e+01   3.4294000e-04

   4.1600000e-02   1.8307065e+01   3.4154000e-04

   4.1600000e-02   1.9695616e+01   3.4005000e-04

   4.1600000e-02   2.1083826e+01   3.3847000e-04

   4.1600000e-02   2.2472656e+01   3.3680000e-04

   4.1600000e-02   2.3861207e+01   3.3505000e-04

   4.1600000e-02   2.5249754e+01   3.3321000e-04

   4.1600000e-02   2.6638312e+01   3.3131000e-04

   4.1600000e-02   2.8026939e+01   3.2933000e-04

   4.1600000e-02   2.9415480e+01   3.2729000e-04

   4.1600000e-02   3.0803694e+01   3.2518000e-04

   4.1600000e-02   3.2192515e+01   3.2303000e-04

   4.1600000e-02   3.3581069e+01   3.2082000e-04

   4.1600000e-02   3.4969617e+01   3.1856000e-04

   4.1600000e-02   3.6358173e+01   3.1626000e-04

   4.1600000e-02   3.7746809e+01   3.1393000e-04

   4.1600000e-02   3.9135360e+01   3.1157000e-04

   4.1600000e-02   4.0523566e+01   3.0919000e-04

   4.1600000e-02   4.1912380e+01   3.0679000e-04

   4.1600000e-02   4.3300932e+01   3.0437000e-04

   4.1600000e-02   4.4689487e+01   3.0195000e-04

   4.1600000e-02   4.6078047e+01   2.9953000e-04

   4.1600000e-02   4.7466689e+01   2.9711000e-04

   4.1600000e-02   4.8855237e+01   2.9470000e-04

   4.1600000e-02   5.0243433e+01   2.9231000e-04

   4.1600000e-02   5.1632497e+01   2.8994000e-04

   4.1600000e-02   5.3021058e+01   2.8759000e-04

   4.1600000e-02   5.4409100e+01   2.8528000e-04

   4.1600000e-02   5.5797643e+01   2.8301000e-04

   4.1600000e-02   5.7186552e+01   2.8078000e-04

   4.1600000e-02   5.8575098e+01   2.7859000e-04

   4.1600000e-02   5.9963298e+01   2.7646000e-04

   4.1600000e-02   9.0000000e+01   2.5141000e-04

   4.1600000e-02   6.2716219e+01   2.7242000e-04

   4.1600000e-02   6.4080412e+01   2.7052000e-04

   4.1600000e-02   6.5444599e+01   2.6868000e-04

   4.1600000e-02   6.6808794e+01   2.6692000e-04

   4.1600000e-02   6.8172981e+01   2.6523000e-04

   4.1600000e-02   6.9537173e+01   2.6363000e-04

   4.1600000e-02   7.0901359e+01   2.6211000e-04

   4.1600000e-02   7.2265554e+01   2.6069000e-04

   4.1600000e-02   7.3629735e+01   2.5935000e-04

   4.1600000e-02   7.4993926e+01   2.5811000e-04

   4.1600000e-02   7.6358124e+01   2.5697000e-04

   4.1600000e-02   7.7722320e+01   2.5593000e-04

   4.1600000e-02   7.9086510e+01   2.5499000e-04

   4.1600000e-02   8.0450691e+01   2.5416000e-04

   4.1600000e-02   8.1814889e+01   2.5344000e-04

   4.1600000e-02   8.3179073e+01   2.5282000e-04

   4.1600000e-02   8.4543277e+01   2.5231000e-04

   4.1600000e-02   8.5907461e+01   2.5192000e-04

   4.1600000e-02   8.7271647e+01   2.5164000e-04

   4.1600000e-02   8.8635842e+01   2.5147000e-04

   4.6340000e-02   9.0000000e+01   3.2427000e-04

   4.7280000e-02   9.0000000e+01   3.3600000e-04

   4.8220000e-02   9.0000000e+01   3.4775000e-04

   4.9160000e-02   9.0000000e+01   3.5950000e-04

   4.8961720e-02   6.2795238e+01   3.6852000e-04

   4.7797110e-02   6.2348897e+01   3.5431000e-04

   4.6509330e-02   6.2485999e+01   3.3810000e-04

   4.6239450e-02   6.3614500e+01   3.3391000e-04

   4.6318630e-02   6.4893959e+01   3.3391000e-04

   4.6401200e-02   6.6257190e+01   3.3393000e-04

   4.6277530e-02   6.7507137e+01   3.3156000e-04

   4.6396270e-02   7.0210372e+01   3.3126000e-04

   4.6346640e-02   7.1595297e+01   3.2983000e-04

   4.6411960e-02   7.3011062e+01   3.2985000e-04

   4.6223270e-02   7.4331046e+01   3.2687000e-04

   4.6403790e-02   7.5663171e+01   3.2842000e-04

   4.6306150e-02   7.7044000e+01   3.2663000e-04

   4.6396870e-02   7.8423128e+01   3.2718000e-04

   4.6339200e-02   7.9818841e+01   3.2598000e-04

   4.5981770e-02   8.1073651e+01   3.2125000e-04

   4.6336010e-02   8.2493698e+01   3.2516000e-04

   4.6482030e-02   8.3802277e+01   3.2667000e-04

   4.6575190e-02   8.4978404e+01   3.2761000e-04

   4.6202940e-02   8.6415013e+01   3.2282000e-04

   4.6186780e-02   8.8235663e+01   3.2246000e-04

   4.6969820e-02   8.8685831e+01   3.3215000e-04

   4.7851680e-02   8.8812954e+01   3.4317000e-04

   4.9166400e-02   8.8706422e+01   3.5961000e-04

   4.9358150e-02   8.7312446e+01   3.6210000e-04

   4.9157420e-02   8.5495995e+01   3.5981000e-04

   4.9055990e-02   8.4104453e+01   3.5878000e-04

   4.8996880e-02   8.2572259e+01   3.5838000e-04

   4.9142650e-02   8.0825389e+01   3.6068000e-04

   4.9049320e-02   7.9046687e+01   3.6010000e-04

   4.9049330e-02   7.7361537e+01   3.6075000e-04

   4.9049320e-02   7.5676360e+01   3.6148000e-04

   4.9049320e-02   7.3991175e+01   3.6230000e-04

   4.9049320e-02   7.2306003e+01   3.6320000e-04

   4.9049320e-02   7.0620826e+01   3.6417000e-04

   4.9049320e-02   6.8935657e+01   3.6522000e-04

   4.9082650e-02   6.7339125e+01   3.6670000e-04

   4.9144970e-02   6.5669227e+01   3.6865000e-04

   4.9252220e-02   6.4109585e+01   3.7114000e-04

   4.7617390e-02   8.7224992e+01   3.4035000e-04

   4.8420850e-02   8.7688442e+01   3.5035000e-04

   4.6843670e-02   8.7261217e+01   3.3067000e-04

   4.7257160e-02   8.5987165e+01   3.3598000e-04

   4.8420010e-02   8.6286952e+01   3.5048000e-04

   4.7968400e-02   8.5024082e+01   3.4502000e-04

   4.7880650e-02   8.3780370e+01   3.4415000e-04

   4.8305220e-02   8.1896298e+01   3.4991000e-04

   4.8166630e-02   8.0103357e+01   3.4871000e-04

   4.8080260e-02   7.8344980e+01   3.4825000e-04

   4.8055420e-02   7.6604299e+01   3.4864000e-04

   4.8085340e-02   7.4977117e+01   3.4976000e-04

   4.8142200e-02   7.3301879e+01   3.5132000e-04

   4.8110180e-02   7.1542255e+01   3.5189000e-04

   4.8102800e-02   6.9881435e+01   3.5279000e-04

   4.8082060e-02   6.8259395e+01   3.5357000e-04

   4.8185280e-02   6.6682578e+01   3.5593000e-04

   4.8288760e-02   6.5105685e+01   3.5836000e-04

   4.8191890e-02   6.3670058e+01   3.5822000e-04

   4.7473220e-02   8.1261194e+01   3.3969000e-04

   4.7304320e-02   7.9605297e+01   3.3809000e-04

   4.7212390e-02   7.7930275e+01   3.3756000e-04

   4.7174570e-02   7.6253019e+01   3.3779000e-04

   4.7241890e-02   7.4534193e+01   3.3943000e-04

   4.7245560e-02   7.2810223e+01   3.4037000e-04

   4.7222560e-02   7.1071001e+01   3.4107000e-04

   4.7250660e-02   6.9358796e+01   3.4247000e-04

   4.7259640e-02   6.7623075e+01   3.4372000e-04

   4.7280900e-02   6.6035276e+01   3.4509000e-04

   4.7349470e-02   6.4716508e+01   3.4690000e-04

   4.7202530e-02   6.3414425e+01   3.4605000e-04

   4.7341220e-02   8.2771400e+01   3.3764000e-04

   4.6375560e-02   6.8807615e+01   3.3189000e-04

   4.6712730e-02   8.1219385e+01   3.3019000e-04

   3.8100000e-02   6.1351971e+01   2.3144000e-04

   3.8100000e-02   2.5525541e-01   3.0845000e-04

   3.8100000e-02   1.6434688e+00   3.0837000e-04

   3.8100000e-02   3.0323415e+00   3.0817000e-04

   3.8100000e-02   4.4211748e+00   3.0786000e-04

   3.8100000e-02   5.8092789e+00   3.0743000e-04

   3.8100000e-02   7.1977352e+00   3.0688000e-04

   3.8100000e-02   8.5868011e+00   3.0623000e-04

   3.8100000e-02   9.9751626e+00   3.0545000e-04

   3.8100000e-02   1.1363378e+01   3.0457000e-04

   3.8100000e-02   1.2752175e+01   3.0358000e-04

   3.8100000e-02   1.4141006e+01   3.0249000e-04

   3.8100000e-02   1.5529202e+01   3.0129000e-04

   3.8100000e-02   1.6917701e+01   2.9999000e-04

   3.8100000e-02   1.8306744e+01   2.9859000e-04

   3.8100000e-02   1.9695115e+01   2.9710000e-04

   3.8100000e-02   2.1083338e+01   2.9551000e-04

   3.8100000e-02   2.2472207e+01   2.9384000e-04

   3.8100000e-02   2.3860995e+01   2.9209000e-04

   3.8100000e-02   2.5249189e+01   2.9026000e-04

   3.8100000e-02   2.6637629e+01   2.8835000e-04

   3.8100000e-02   2.8026703e+01   2.8638000e-04

   3.8100000e-02   2.9415156e+01   2.8433000e-04

   3.8100000e-02   3.0803320e+01   2.8223000e-04

   3.8100000e-02   3.2192141e+01   2.8007000e-04

   3.8100000e-02   3.3580957e+01   2.7786000e-04

   3.8100000e-02   3.4969170e+01   2.7561000e-04

   3.8100000e-02   3.6357576e+01   2.7331000e-04

   3.8100000e-02   3.7746659e+01   2.7098000e-04

   3.8100000e-02   3.9135083e+01   2.6862000e-04

   3.8100000e-02   4.0523290e+01   2.6624000e-04

   3.8100000e-02   4.1912104e+01   2.6383000e-04

   3.8100000e-02   4.3300873e+01   2.6142000e-04

   3.8100000e-02   4.4689134e+01   2.5900000e-04

   3.8100000e-02   4.6077546e+01   2.5657000e-04

   3.8100000e-02   4.7466620e+01   2.5415000e-04

   3.8100000e-02   4.8855030e+01   2.5175000e-04

   3.8100000e-02   5.0243225e+01   2.4935000e-04

   3.8100000e-02   5.1632033e+01   2.4698000e-04

   3.8100000e-02   5.3020850e+01   2.4464000e-04

   3.8100000e-02   5.4409050e+01   2.4233000e-04

   3.8100000e-02   5.5797462e+01   2.4005000e-04

   3.8100000e-02   5.7186533e+01   2.3782000e-04

   3.8100000e-02   5.8574936e+01   2.3564000e-04

   3.8100000e-02   5.9963155e+01   2.3351000e-04

   3.8975000e-02   6.1352114e+01   2.4218000e-04

   3.9850000e-02   6.1352114e+01   2.5292000e-04

   4.0725000e-02   6.1352114e+01   2.6366000e-04

   3.8965560e-02   9.4927866e-01   3.1905000e-04

   3.8965860e-02   2.3376641e+00   3.1891000e-04

   3.8965910e-02   3.7268390e+00   3.1866000e-04

   3.8965570e-02   5.1153390e+00   3.1828000e-04

   3.8965650e-02   6.5032512e+00   3.1780000e-04

   3.8965970e-02   7.8921609e+00   3.1720000e-04

   3.8965730e-02   9.2811527e+00   3.1648000e-04

   3.8965550e-02   1.0669197e+01   3.1565000e-04

   3.8965830e-02   1.2057545e+01   3.1472000e-04

   3.8965900e-02   1.3446647e+01   3.1367000e-04

   3.8965610e-02   1.4835188e+01   3.1252000e-04

   3.8965680e-02   1.6223225e+01   3.1127000e-04

   3.8965960e-02   1.7612142e+01   3.0993000e-04

   3.8965720e-02   1.9001090e+01   3.0848000e-04

   3.8965570e-02   2.0389136e+01   3.0694000e-04

   3.8965860e-02   2.1777551e+01   3.0532000e-04

   3.8965900e-02   2.3166683e+01   3.0360000e-04

   3.8965600e-02   2.4555202e+01   3.0181000e-04

   3.8965660e-02   2.5943175e+01   2.9994000e-04

   3.8965980e-02   2.7332044e+01   2.9800000e-04

   3.8965760e-02   2.8721104e+01   2.9599000e-04

   3.8965550e-02   3.0109167e+01   2.9391000e-04

   3.8965830e-02   3.1497485e+01   2.9178000e-04

   3.8965910e-02   3.2886600e+01   2.8960000e-04

   3.8965610e-02   3.4275171e+01   2.8736000e-04

   3.8965650e-02   3.5663149e+01   2.8509000e-04

   3.8965970e-02   3.7052017e+01   2.8278000e-04

   3.8965760e-02   3.8441044e+01   2.8043000e-04

   3.8965560e-02   3.9829119e+01   2.7805000e-04

   3.8965820e-02   4.1217483e+01   2.7566000e-04

   3.8965890e-02   4.2606537e+01   2.7325000e-04

   3.8965630e-02   4.3995107e+01   2.7083000e-04

   3.8965660e-02   4.5383135e+01   2.6841000e-04

   3.8965960e-02   4.6771977e+01   2.6599000e-04

   3.8965750e-02   4.8160986e+01   2.6357000e-04

   3.8965560e-02   4.9549060e+01   2.6117000e-04

   3.8965830e-02   5.0937405e+01   2.5879000e-04

   3.8965900e-02   5.2326494e+01   2.5643000e-04

   3.8965610e-02   5.3715051e+01   2.5410000e-04

   3.8984360e-02   5.5167644e+01   2.5193000e-04

   3.8969150e-02   5.6616096e+01   2.4940000e-04

   3.8894840e-02   5.8059118e+01   2.4620000e-04

   3.9235920e-02   5.9835005e+01   2.4765000e-04

   4.0409650e-02   5.9851610e+01   2.6203000e-04

   4.0836070e-02   5.8069462e+01   2.7001000e-04

   4.0740380e-02   5.6495054e+01   2.7133000e-04

   4.0734030e-02   5.5105384e+01   2.7351000e-04

   4.0733910e-02   5.3715160e+01   2.7580000e-04

   4.0734310e-02   5.2326871e+01   2.7814000e-04

   4.0734120e-02   5.0938125e+01   2.8049000e-04

   4.0734320e-02   4.9549414e+01   2.8288000e-04

   4.0734330e-02   4.8161193e+01   2.8528000e-04

   4.0734210e-02   4.6772587e+01   2.8769000e-04

   4.0734230e-02   4.5383921e+01   2.9011000e-04

   4.0734260e-02   4.3995372e+01   2.9254000e-04

   4.0734230e-02   4.2606910e+01   2.9496000e-04

   4.0734170e-02   4.1218074e+01   2.9736000e-04

   4.0734380e-02   3.9829573e+01   2.9976000e-04

   4.0734320e-02   3.8441350e+01   3.0213000e-04

   4.0734200e-02   3.7052711e+01   3.0448000e-04

   4.0734230e-02   3.5664043e+01   3.0679000e-04

   4.0734260e-02   3.4275510e+01   3.0907000e-04

   4.0734230e-02   3.2887039e+01   3.1130000e-04

   4.0734170e-02   3.1498209e+01   3.1349000e-04

   4.0734370e-02   3.0109703e+01   3.1562000e-04

   4.0734320e-02   2.8721458e+01   3.1769000e-04

   4.0734200e-02   2.7332846e+01   3.1970000e-04

   4.0734230e-02   2.5944182e+01   3.2164000e-04

   4.0734260e-02   2.4555644e+01   3.2351000e-04

   4.0734230e-02   2.3167181e+01   3.2531000e-04

   4.0734170e-02   2.1778343e+01   3.2702000e-04

   4.0734370e-02   2.0389830e+01   3.2865000e-04

   4.0734320e-02   1.9001591e+01   3.3018000e-04

   4.0734210e-02   1.7612986e+01   3.3163000e-04

   4.0734230e-02   1.6224328e+01   3.3298000e-04

   4.0734260e-02   1.4835778e+01   3.3423000e-04

   4.0734230e-02   1.3447321e+01   3.3538000e-04

   4.0734160e-02   1.2058498e+01   3.3642000e-04

   4.0734360e-02   1.0669963e+01   3.3736000e-04

   4.0734320e-02   9.2817167e+00   3.3818000e-04

   4.0734210e-02   7.8931156e+00   3.3890000e-04

   4.0734230e-02   6.5044813e+00   3.3950000e-04

   4.0734260e-02   5.1159250e+00   3.3999000e-04

   4.0734230e-02   3.7274516e+00   3.4036000e-04

   4.0734170e-02   2.3386229e+00   3.4062000e-04

   4.0734360e-02   9.5009828e-01   3.4076000e-04

   3.9880300e-02   5.8870590e+01   2.5703000e-04

   3.9907720e-02   5.7621059e+01   2.5932000e-04

   3.9821280e-02   5.6264066e+01   2.6042000e-04

   3.9839390e-02   5.4764421e+01   2.6309000e-04

   3.9854020e-02   5.3289586e+01   2.6571000e-04

   3.9857320e-02   5.1829948e+01   2.6821000e-04

   3.9867940e-02   5.0381380e+01   2.7082000e-04

   3.9816430e-02   4.8950866e+01   2.7265000e-04

   3.9828320e-02   4.7538977e+01   2.7524000e-04

   3.9837520e-02   4.6132636e+01   2.7780000e-04

   3.9844790e-02   4.4730493e+01   2.8034000e-04

   3.9850530e-02   4.3331638e+01   2.8285000e-04

   3.9854920e-02   4.1935318e+01   2.8533000e-04

   3.9858120e-02   4.0540827e+01   2.8778000e-04

   3.9860910e-02   3.9147771e+01   2.9021000e-04

   3.9862970e-02   3.7755936e+01   2.9260000e-04

   3.9864280e-02   3.6364918e+01   2.9495000e-04

   3.9865330e-02   3.4974465e+01   2.9726000e-04

   3.9866220e-02   3.3584474e+01   2.9953000e-04

   3.9866850e-02   3.2194881e+01   3.0175000e-04

   3.9867160e-02   3.0805468e+01   3.0392000e-04

   3.9867740e-02   2.9416257e+01   3.0603000e-04

   3.9868130e-02   2.8027306e+01   3.0807000e-04

   3.9868320e-02   2.6638642e+01   3.1005000e-04

   3.9868390e-02   2.5250090e+01   3.1196000e-04

   3.9868420e-02   2.3861604e+01   3.1379000e-04

   3.9868320e-02   2.2473197e+01   3.1555000e-04

   3.9868130e-02   2.1084362e+01   3.1721000e-04

   3.9868420e-02   1.9695528e+01   3.1880000e-04

   3.9868680e-02   1.8307359e+01   3.2029000e-04

   3.9868460e-02   1.6919199e+01   3.2169000e-04

   3.9868170e-02   1.5530513e+01   3.2299000e-04

   3.9868200e-02   1.4141650e+01   3.2419000e-04

   3.9868320e-02   1.2753102e+01   3.2528000e-04

   3.9868260e-02   1.1364427e+01   3.2627000e-04

   3.9868480e-02   9.9757540e+00   3.2716000e-04

   3.9868650e-02   8.5875889e+00   3.2793000e-04

   3.9868400e-02   7.1993443e+00   3.2859000e-04

   3.9868160e-02   5.8106195e+00   3.2913000e-04

   3.9868220e-02   4.4217745e+00   3.2956000e-04

   3.9868320e-02   3.0332599e+00   3.2988000e-04

   3.9868260e-02   1.6445664e+00   3.3007000e-04

   3.9868480e-02   2.5589433e-01   3.3016000e-04

   3.8100000e-02   9.0000000e+01   2.0845000e-04

   3.8100000e-02   8.8634620e+01   2.0851000e-04

   3.8100000e-02   8.7271106e+01   2.0868000e-04

   3.8100000e-02   8.5906656e+01   2.0896000e-04

   3.8100000e-02   8.4542612e+01   2.0936000e-04

   3.8100000e-02   8.3178661e+01   2.0987000e-04

   3.8100000e-02   8.1814321e+01   2.1048000e-04

   3.8100000e-02   8.0450586e+01   2.1121000e-04

   3.8100000e-02   7.9086177e+01   2.1204000e-04

   3.8100000e-02   7.7722252e+01   2.1298000e-04

   3.8100000e-02   7.6358070e+01   2.1402000e-04

   3.8100000e-02   7.4993926e+01   2.1516000e-04

   3.8100000e-02   7.3629906e+01   2.1640000e-04

   3.8100000e-02   7.2265770e+01   2.1773000e-04

   3.8100000e-02   7.0901605e+01   2.1916000e-04

   3.8100000e-02   6.9537687e+01   2.2068000e-04

   3.8100000e-02   6.8173050e+01   2.2228000e-04

   3.8100000e-02   6.6809609e+01   2.2396000e-04

   3.8100000e-02   6.5444910e+01   2.2572000e-04

   3.8100000e-02   6.4081400e+01   2.2756000e-04

   3.8100000e-02   6.2717014e+01   2.2947000e-04

   3.6600000e-02   6.1352114e+01   2.1303000e-04

   3.6600000e-02   2.5589433e-01   2.9004000e-04

   3.6600000e-02   1.6441078e+00   2.8996000e-04

   3.6600000e-02   3.0329256e+00   2.8977000e-04

   3.6600000e-02   4.4214816e+00   2.8945000e-04

   3.6600000e-02   5.8100474e+00   2.8902000e-04

   3.6600000e-02   7.1985897e+00   2.8848000e-04

   3.6600000e-02   8.5871960e+00   2.8782000e-04

   3.6600000e-02   9.9757403e+00   2.8704000e-04

   3.6600000e-02   1.1363972e+01   2.8616000e-04

   3.6600000e-02   1.2752802e+01   2.8517000e-04

   3.6600000e-02   1.4141350e+01   2.8408000e-04

   3.6600000e-02   1.5529893e+01   2.8288000e-04

   3.6600000e-02   1.6918443e+01   2.8158000e-04

   3.6600000e-02   1.8307065e+01   2.8018000e-04

   3.6600000e-02   1.9695616e+01   2.7869000e-04

   3.6600000e-02   2.1083826e+01   2.7710000e-04

   3.6600000e-02   2.2472656e+01   2.7543000e-04

   3.6600000e-02   2.3861207e+01   2.7368000e-04

   3.6600000e-02   2.5249754e+01   2.7185000e-04

   3.6600000e-02   2.6638312e+01   2.6994000e-04

   3.6600000e-02   2.8026939e+01   2.6797000e-04

   3.6600000e-02   2.9415480e+01   2.6592000e-04

   3.6600000e-02   3.0803694e+01   2.6382000e-04

   3.6600000e-02   3.2192515e+01   2.6166000e-04

   3.6600000e-02   3.3581069e+01   2.5945000e-04

   3.6600000e-02   3.4969617e+01   2.5720000e-04

   3.6600000e-02   3.6358173e+01   2.5490000e-04

   3.6600000e-02   3.7746809e+01   2.5257000e-04

   3.6600000e-02   3.9135360e+01   2.5021000e-04

   3.6600000e-02   4.0523566e+01   2.4783000e-04

   3.6600000e-02   4.1912380e+01   2.4542000e-04

   3.6600000e-02   4.3300932e+01   2.4301000e-04

   3.6600000e-02   4.4689487e+01   2.4059000e-04

   3.6600000e-02   4.6078047e+01   2.3816000e-04

   3.6600000e-02   4.7466689e+01   2.3575000e-04

   3.6600000e-02   4.8855237e+01   2.3334000e-04

   3.6600000e-02   5.0243433e+01   2.3095000e-04

   3.6600000e-02   5.1632497e+01   2.2857000e-04

   3.6600000e-02   5.3021058e+01   2.2623000e-04

   3.6600000e-02   5.4409100e+01   2.2392000e-04

   3.6600000e-02   5.5797643e+01   2.2164000e-04

   3.6600000e-02   5.7186552e+01   2.1941000e-04

   3.6600000e-02   5.8575098e+01   2.1723000e-04

   3.6600000e-02   5.9963298e+01   2.1510000e-04

   3.6600000e-02   9.0000000e+01   1.9005000e-04

   3.6600000e-02   6.2716219e+01   2.1106000e-04

   3.6600000e-02   6.4080412e+01   2.0915000e-04

   3.6600000e-02   6.5444599e+01   2.0732000e-04

   3.6600000e-02   6.6808794e+01   2.0555000e-04

   3.6600000e-02   6.8172981e+01   2.0387000e-04

   3.6600000e-02   6.9537173e+01   2.0227000e-04

   3.6600000e-02   7.0901359e+01   2.0075000e-04

   3.6600000e-02   7.2265554e+01   1.9932000e-04

   3.6600000e-02   7.3629735e+01   1.9799000e-04

   3.6600000e-02   7.4993926e+01   1.9675000e-04

   3.6600000e-02   7.6358124e+01   1.9561000e-04

   3.6600000e-02   7.7722320e+01   1.9457000e-04

   3.6600000e-02   7.9086510e+01   1.9363000e-04

   3.6600000e-02   8.0450691e+01   1.9280000e-04

   3.6600000e-02   8.1814889e+01   1.9207000e-04

   3.6600000e-02   8.3179073e+01   1.9146000e-04

   3.6600000e-02   8.4543277e+01   1.9095000e-04

   3.6600000e-02   8.5907461e+01   1.9055000e-04

   3.6600000e-02   8.7271647e+01   1.9027000e-04

   3.6600000e-02   8.8635842e+01   1.9010000e-04

   3.4500000e-02   6.1351971e+01   1.8726000e-04

   3.4500000e-02   2.5525541e-01   2.6427000e-04

   3.4500000e-02   1.6434549e+00   2.6419000e-04

   3.4500000e-02   3.0323415e+00   2.6399000e-04

   3.4500000e-02   4.4211609e+00   2.6368000e-04

   3.4500000e-02   5.8092789e+00   2.6325000e-04

   3.4500000e-02   7.1977352e+00   2.6270000e-04

   3.4500000e-02   8.5867874e+00   2.6204000e-04

   3.4500000e-02   9.9751626e+00   2.6127000e-04

   3.4500000e-02   1.1363378e+01   2.6039000e-04

   3.4500000e-02   1.2752175e+01   2.5940000e-04

   3.4500000e-02   1.4141006e+01   2.5830000e-04

   3.4500000e-02   1.5529202e+01   2.5711000e-04

   3.4500000e-02   1.6917687e+01   2.5580000e-04

   3.4500000e-02   1.8306731e+01   2.5441000e-04

   3.4500000e-02   1.9695115e+01   2.5292000e-04

   3.4500000e-02   2.1083338e+01   2.5133000e-04

   3.4500000e-02   2.2472207e+01   2.4966000e-04

   3.4500000e-02   2.3860995e+01   2.4791000e-04

   3.4500000e-02   2.5249189e+01   2.4608000e-04

   3.4500000e-02   2.6637617e+01   2.4417000e-04

   3.4500000e-02   2.8026703e+01   2.4219000e-04

   3.4500000e-02   2.9415156e+01   2.4015000e-04

   3.4500000e-02   3.0803308e+01   2.3805000e-04

   3.4500000e-02   3.2192141e+01   2.3589000e-04

   3.4500000e-02   3.3580957e+01   2.3368000e-04

   3.4500000e-02   3.4969170e+01   2.3142000e-04

   3.4500000e-02   3.6357576e+01   2.2913000e-04

   3.4500000e-02   3.7746659e+01   2.2680000e-04

   3.4500000e-02   3.9135074e+01   2.2444000e-04

   3.4500000e-02   4.0523290e+01   2.2205000e-04

   3.4500000e-02   4.1912104e+01   2.1965000e-04

   3.4500000e-02   4.3300873e+01   2.1724000e-04

   3.4500000e-02   4.4689134e+01   2.1482000e-04

   3.4500000e-02   4.6077546e+01   2.1239000e-04

   3.4500000e-02   4.7466620e+01   2.0997000e-04

   3.4500000e-02   4.8855030e+01   2.0756000e-04

   3.4500000e-02   5.0243225e+01   2.0517000e-04

   3.4500000e-02   5.1632033e+01   2.0280000e-04

   3.4500000e-02   5.3020850e+01   2.0046000e-04

   3.4500000e-02   5.4409041e+01   1.9814000e-04

   3.4500000e-02   5.5797462e+01   1.9587000e-04

   3.4500000e-02   5.7186533e+01   1.9364000e-04

   3.4500000e-02   5.8574936e+01   1.9146000e-04

   3.4500000e-02   5.9963143e+01   1.8933000e-04

   3.5550000e-02   6.1352114e+01   2.0014000e-04

   3.5549960e-02   9.4969530e-01   2.7713000e-04

   3.5550010e-02   2.3381505e+00   2.7699000e-04

   3.5550070e-02   3.7271458e+00   2.7674000e-04

   3.5549910e-02   5.1156320e+00   2.7636000e-04

   3.5549940e-02   6.5038662e+00   2.7588000e-04

   3.5550090e-02   7.8926383e+00   2.7527000e-04

   3.5550030e-02   9.2814358e+00   2.7456000e-04

   3.5549960e-02   1.0669581e+01   2.7373000e-04

   3.5550000e-02   1.2058013e+01   2.7280000e-04

   3.5550070e-02   1.3446978e+01   2.7175000e-04

   3.5549940e-02   1.4835488e+01   2.7060000e-04

   3.5549960e-02   1.6223778e+01   2.6935000e-04

   3.5550080e-02   1.7612551e+01   2.6800000e-04

   3.5550020e-02   1.9001341e+01   2.6656000e-04

   3.5549960e-02   2.0389479e+01   2.6502000e-04

   3.5550010e-02   2.1777951e+01   2.6339000e-04

   3.5550060e-02   2.3166920e+01   2.6168000e-04

   3.5549930e-02   2.4555414e+01   2.5989000e-04

   3.5549950e-02   2.5943672e+01   2.5802000e-04

   3.5550090e-02   2.7332442e+01   2.5608000e-04

   3.5550040e-02   2.8721278e+01   2.5407000e-04

   3.5549960e-02   3.0109429e+01   2.5199000e-04

   3.5550000e-02   3.1497847e+01   2.4986000e-04

   3.5550070e-02   3.2886820e+01   2.4768000e-04

   3.5549940e-02   3.4275340e+01   2.4544000e-04

   3.5549940e-02   3.5663596e+01   2.4317000e-04

   3.5550080e-02   3.7052364e+01   2.4085000e-04

   3.5550030e-02   3.8441192e+01   2.3851000e-04

   3.5549970e-02   3.9829345e+01   2.3613000e-04

   3.5550000e-02   4.1217779e+01   2.3374000e-04

   3.5550060e-02   4.2606724e+01   2.3133000e-04

   3.5549950e-02   4.3995244e+01   2.2891000e-04

   3.5549950e-02   4.5383528e+01   2.2649000e-04

   3.5550080e-02   4.6772282e+01   2.2407000e-04

   3.5550040e-02   4.8161095e+01   2.2165000e-04

   3.5549940e-02   4.9549227e+01   2.1925000e-04

   3.5549950e-02   5.0937750e+01   2.1687000e-04

   3.5550080e-02   5.2326772e+01   2.1451000e-04

   3.5549890e-02   5.3715179e+01   2.1218000e-04

   3.5550000e-02   5.5103758e+01   2.0989000e-04

   3.5551380e-02   5.6573593e+01   2.0752000e-04

   3.5544690e-02   5.8044268e+01   2.0511000e-04

   3.5567100e-02   5.9609392e+01   2.0296000e-04

   3.4500000e-02   9.0000000e+01   1.6427000e-04

   3.4500000e-02   8.8634620e+01   1.6433000e-04

   3.4500000e-02   8.7271106e+01   1.6450000e-04

   3.4500000e-02   8.5906656e+01   1.6478000e-04

   3.4500000e-02   8.4542612e+01   1.6518000e-04

   3.4500000e-02   8.3178661e+01   1.6568000e-04

   3.4500000e-02   8.1814321e+01   1.6630000e-04

   3.4500000e-02   8.0450586e+01   1.6703000e-04

   3.4500000e-02   7.9086177e+01   1.6786000e-04

   3.4500000e-02   7.7722252e+01   1.6879000e-04

   3.4500000e-02   7.6358070e+01   1.6984000e-04

   3.4500000e-02   7.4993926e+01   1.7098000e-04

   3.4500000e-02   7.3629906e+01   1.7222000e-04

   3.4500000e-02   7.2265770e+01   1.7355000e-04

   3.4500000e-02   7.0901605e+01   1.7498000e-04

   3.4500000e-02   6.9537687e+01   1.7649000e-04

   3.4500000e-02   6.8173050e+01   1.7810000e-04

   3.4500000e-02   6.6809609e+01   1.7978000e-04

   3.4500000e-02   6.5444910e+01   1.8154000e-04

   3.4500000e-02   6.4081400e+01   1.8338000e-04

   3.4500000e-02   6.2717014e+01   1.8528000e-04

   3.2500000e-02   6.1352114e+01   2.1559000e-04

   3.2500000e-02   2.5589433e-01   5.7689000e-04

   3.2500000e-02   1.6441078e+00   5.7588000e-04

   3.2500000e-02   3.0329256e+00   5.7419000e-04

   3.2500000e-02   4.4214816e+00   5.7181000e-04

   3.2500000e-02   5.8100335e+00   5.6877000e-04

   3.2500000e-02   7.1985897e+00   5.6506000e-04

   3.2500000e-02   8.5871960e+00   5.6071000e-04

   3.2500000e-02   9.9757403e+00   5.5574000e-04

   3.2500000e-02   1.1363972e+01   5.5016000e-04

   3.2500000e-02   1.2752788e+01   5.4398000e-04

   3.2500000e-02   1.4141333e+01   5.3725000e-04

   3.2500000e-02   1.5529893e+01   5.2998000e-04
-------------- next part --------------
package com.profiles;

import java.awt.BorderLayout;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.SwingUtilities;
import vtk.*;

public class PlotSpheres extends JPanel {

	public static void main(String[] args) throws FileNotFoundException {
		SwingUtilities.invokeLater(new Runnable() {
			public void run() {
				JFrame frame = new JFrame("PlotSheres");
				frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
				frame.getContentPane().setLayout(new BorderLayout());
				try {
					frame.getContentPane().add(new PlotSpheres(),
							BorderLayout.CENTER);
				} catch (FileNotFoundException e) {
					e.printStackTrace();
				}
				frame.setSize(1000, 1000);
				frame.setVisible(true);
			}
		});
	}

	// Load VTK libraries
	static {
		if (!vtkNativeLibrary.LoadAllNativeLibraries()) {
			for (vtkNativeLibrary lib : vtkNativeLibrary.values()) {
				if (!lib.IsLoaded())
					System.out.println(lib.GetLibraryName() + " not loaded");
			}
			System.out.println("Make sure the search path is correct: ");
			System.out.println(System.getProperty("java.library.path"));
		}
		vtkNativeLibrary.DisableOutputWindow(null);
	}

	// Variables
	private String dataFile;
	private String dataFilePathString;
	Double[] xValsArray = new Double[41];
	Double[] yValsArray = new Double[721];
	Double[][] zValsArray = new Double[41][721];
	private vtkRenderWindowPanel renderWindowPanel = new vtkRenderWindowPanel();
	private vtkPoints points;
	private int pointsNum;
	private vtkRenderWindowInteractor renderWindowInteractor;
	private vtkPolyData polyData = new vtkPolyData();
	private vtkFloatArray colorsScalars;

	public PlotSpheres() throws FileNotFoundException {
		super(new BorderLayout());
		dataFilePathString = "C:\\vtk123";
		dataFile = "some_points.txt";
		calcSheres();
		System.out.println("calcSheres done");
	}

	public void calcSheres() throws FileNotFoundException {
		try {
			renderWindowPanel.GetRenderer().RemoveAllViewProps();
		} catch (Exception nullEx) {
			System.out.println("renderWindowPanel props are null.");
		}
		
		// Read the file
		// Count the lines in the file
		BufferedReader br_count = new BufferedReader(new FileReader(
				dataFilePathString + File.separator + dataFile));
		String lineData = null;
		int lineNum = 0;
		try {
			lineData = br_count.readLine();
			// The first data line has just been read
			while (lineData != null) {
				// Do nothing except increment the counter				
				lineNum = lineNum + 1; // on iteration 1, lineNum = 1
				// Read blank line
				lineData = br_count.readLine();
				// Next action is in for the  br_count.readLine() (the
				// next data line)
				lineData = br_count.readLine();
				System.out.println("lineNum = " + lineNum + "   " + lineData);
			}
		} catch (Exception e) {
			e.printStackTrace();
			System.out.println("Datafile line counting error");
		}
		try {
			br_count.close();
		} catch (IOException e) {
			System.out.println("Error closing br_count");
			e.printStackTrace();
		}
		
		BufferedReader br = new BufferedReader(new FileReader(
				dataFilePathString + File.separator + dataFile));
		// Set number of data point sets (x,y,z sets)
		pointsNum = lineNum;
		
		// Fill colorsScalars array with the actual scalar values
		// Initialize/reinitialize variables
		String linej;
		int indexNum = 0;
		points = new vtkPoints();
		points.SetNumberOfPoints(pointsNum);
		Double ZPOSi;
		Double theta;
		Double dRi;
		Double tempx;
		Double tempy;
		Double tempz;
		// colorsScalars is the array of native (pos or neg) scalars
		// the sign is changed to meet the required application convention
		// the sign change line can be used to show difference between 
		// plotting of positive and negative scalars
		colorsScalars = new vtkFloatArray();
		colorsScalars.SetNumberOfTuples(pointsNum);
		String[] linejArray = {};
		try {
			linej = br.readLine();
			while (linej != null) {
				linejArray = linej.split("\\s+");
				ZPOSi = Double.parseDouble(linejArray[1]); // Z position (m)
				theta = Double.parseDouble(linejArray[2]); // theta (deg)
				dRi = Double.parseDouble(linejArray[3]); // dRi (m)
				// dRi negative value means smaller than nominal radius
				// tempx = (r - dr) * cos(theta)
				// tempy = (r - dr) * sin(theta)
				// tempz = ZPOSi
				tempx = (.094629 - dRi) * Math.cos((3.14159 / 180) * theta);
				tempy = (.094629 - dRi) * Math.sin((3.14159 / 180) * theta);
				tempz = ZPOSi;
				points.SetPoint(indexNum, tempx, tempy, tempz);
				System.out.println(tempx + " " + tempy + " " + tempz);
				// Account for convention used in application
				// Change sign of dRi:
				dRi *= -1;
				colorsScalars.SetValue(indexNum, dRi);
				indexNum = indexNum + 1;
				System.out.println("indexNum = " + indexNum
						+ "......... dRi  = " + dRi);
				linej = br.readLine();
				// (Account for blank line...)
				linej = br.readLine();
			}
		} catch (Exception ex) {
			ex.printStackTrace();
			System.out.println("Error reading datafile");
		}
		try {
			br_count.close();
		} catch (IOException e) {
			System.out.println("Error closing br_count");
			e.printStackTrace();
		}

		// populate the polyData
		this.polyData.SetPoints(points);
		
		// find min and max of colorsScalars array
		double[] tmpScalarRange = new double[2];
		tmpScalarRange = this.colorsScalars.GetRange();
		Double scalarMax = tmpScalarRange[1];
		Double scalarMin = tmpScalarRange[0];

		// populate the scalars
		this.polyData.GetPointData().SetScalars(this.colorsScalars);

		// create sphere source
		vtkSphereSource sphere = new vtkSphereSource();
		sphere.Update();

		// setup glyph3D
		vtkGlyph3D glyph3D = new vtkGlyph3D();
		glyph3D.SetColorModeToColorByScalar();
		glyph3D.SetSourceConnection(sphere.GetOutputPort());
		glyph3D.SetInputData(polyData);
		glyph3D.Update();

		// visualize
		vtkDataSetMapper mapper = new vtkDataSetMapper();
		mapper.SetInputConnection(glyph3D.GetOutputPort());
		mapper.SetScalarRange(scalarMin, scalarMax);
		mapper.Update();
		
		vtkActor actor = new vtkActor();
		actor.GetProperty().SetSpecularPower(1.0);
		actor.GetProperty().SetDiffuse(1.0);
		actor.GetProperty().SetOpacity(1.0);
		actor.SetMapper(mapper);

		vtkRenderer renderer = new vtkRenderer();
		renderer = renderWindowPanel.GetRenderer();
		renderer.AddActor(actor);
		renderer.SetBackground(0.0, 0.0, 0.0);
		renderer.ResetCameraClippingRange();

		// Create a lookup table to share between the mapper and the scalarbar
		vtkLookupTable hueLut = new vtkLookupTable();
		hueLut.SetTableRange(scalarMin, scalarMax);
		hueLut.SetHueRange(0.6667, 0.0000); // H from HSV red (top) to blue
		hueLut.SetSaturationRange(1.0, 1.0);
		hueLut.SetValueRange(1.0, 1.0); // V from HSV
		hueLut.Build();
		mapper.SetLookupTable(hueLut);
		mapper.Update();
		
		vtkScalarBarWidget sbWidget = new vtkScalarBarWidget();
		sbWidget.RepositionableOn();
		renderWindowInteractor = renderWindowPanel.getRenderWindowInteractor();
		sbWidget.SetInteractor(renderWindowInteractor);
		sbWidget.GetScalarBarActor().SetTitle("dR (m)");
		sbWidget.GetScalarBarActor().SetLookupTable(mapper.GetLookupTable());
		
		vtkTextProperty SBtprop = new vtkTextProperty();
		SBtprop.SetFontSize(1);
		SBtprop.SetBold(1);
		sbWidget.GetScalarBarActor().SetLabelTextProperty(SBtprop);
		sbWidget.GetScalarBarActor().SetBarRatio(.7);
		SBtprop.SetLineOffset(-10);

		renderer.ResetCameraClippingRange();

		vtkCubeAxesActor2D axes = new vtkCubeAxesActor2D();
		axes.SetCamera(renderer.GetActiveCamera());
		axes.SetBounds(actor.GetBounds());
		axes.SetFlyModeToOuterEdges();
		renderer.AddActor(axes);
		renderer.ResetCamera();
		sbWidget.EnabledOn();
		
		System.out.println("B4 this.add");
		this.add(renderWindowPanel, BorderLayout.CENTER);

		renderer.ResetCamera();
		renderWindowInteractor.Start();
	}
}


More information about the vtkusers mailing list