[vtkusers] c++ to java mapping in KMeansClustering.cxx

Graham Seed gmseed at gmail.com
Tue Jul 2 03:52:46 EDT 2013


Hi

I'm trying to replicate the C++ example at:

http://www.vtk.org/Wiki/VTK/Examples/Cxx/InfoVis/KMeansClustering

in Java.

I'm getting stuck at the line:

  kMeansStatistics->SetInputData( vtkStatisticsAlgorithm::INPUT_DATA,
inputData );


which I assumed in Java would be:

kMeansStatistics.SetInputData(vtkStatisticsAlgorithm.INPUT_DATA, inputData
);

However, INPUT_DATA is not a static member of vtkStatisticsAlgorithm.

How do we map such use of statics in VTK Java?

Thanks.

-- 
Graham
gmseed at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130702/bfb05359/attachment.htm>


More information about the vtkusers mailing list