Cannot display voxels from Java
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
I am using VTK 6.3.0 from Java on Windows 7 using Eclipse.
Attached is a simple Java demo program based on vtkDemo. I have inserted a method called createVoxels() that is trying to create a voxel display based on the article
http://vtk.1045678.n5.nabble.com/Visualizing-populated-voxels-td4385698.html
I don't get any display.
I have posted this same question on the nabble forum, but have not gotten any response.
I suspect that part of the problem may be that I don't know the proper value for the constants (FIELD_ASSOCIATION_POINTS, SCALARS) that appear in the C++ code. I do not know what values to use. I have tracked down the constants in the C++ documentation, but I cannot be sure I am assigning them correctly. It would be helpful to know how to supply these constants in Java.
Thanks, Kent