<div dir="ltr">Hi<div><br></div><div>I&#39;m trying to replicate the C++ example at:</div><div><br></div><div><a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/InfoVis/KMeansClustering">http://www.vtk.org/Wiki/VTK/Examples/Cxx/InfoVis/KMeansClustering</a></div>
<div><br></div><div>in Java.</div><div><br></div><div>I&#39;m getting stuck at the line:</div><div><br></div><div><pre class="" style="padding:0px;border:0px none white;color:rgb(0,0,0);line-height:1.2em;font-size:10.399999618530273px;margin-top:0px;margin-bottom:0px;background-image:none;vertical-align:top">
  kMeansStatistics<span class="" style="color:rgb(0,0,64)">-</span><span class="" style="color:rgb(0,0,128)">&gt;</span>SetInputData<span class="" style="color:rgb(0,128,0)">(</span> vtkStatisticsAlgorithm<span class="" style="color:rgb(0,128,128)">::</span><span class="" style="color:rgb(0,119,136)">INPUT_DATA</span>, inputData <span class="" style="color:rgb(0,128,0)">)</span><span class="" style="color:rgb(0,128,128)">;</span>
</pre><div><span class="" style="color:rgb(0,128,128)"><br></span></div><div style><span class="" style="color:rgb(0,128,128)">which I assumed in Java would be:</span></div><div style><span class="" style="color:rgb(0,128,128)"><br>
</span></div><div style><span class=""><font color="#008080">kMeansStatistics.SetInputData(vtkStatisticsAlgorithm.INPUT_DATA, inputData );</font><br></span></div><div style><span class=""><font color="#008080"><br></font></span></div>
<div style><span class=""><font color="#008080">However, </font></span><span style="color:rgb(0,128,128)">INPUT_DATA is not a static member of </span><span style="color:rgb(0,128,128)">vtkStatisticsAlgorithm.</span></div>
<div style><span style="color:rgb(0,128,128)"><br></span></div><div style><span style="color:rgb(0,128,128)">How do we map such use of statics in VTK Java?</span></div><div style><span style="color:rgb(0,128,128)"><br></span></div>
<div style><span style="color:rgb(0,128,128)">Thanks.</span></div><div><br></div>-- <br>Graham<br><a href="mailto:gmseed@gmail.com" target="_blank">gmseed@gmail.com</a><br>
</div></div>