Does the vtk java version support SMP?
I compiled vtk9.3 under windows, JDK1.8, set the parameters and turned on
VTK_WRAP_JAVA
VTK_SMP_ENABLE_OPENMP
VTK_SMP_ENABLE_SEQUENTIAL
VTK_SMP_ENABLE_STDTHREAD
VTK_SMP_IMPLEMENTATION_TYPE STDThread
VTK_MODULE_ENABLE_VTK_FiltersMP YES
in test code
public SimpleVTK() {
super(new BorderLayout());
// compile error
vtkSMPTools smpTools = new vtkSMPTools();
smpTools.SetBackend("STDThread");
//.......
}
The IDE error message: ‘vtk.vtkSMPTools’ is not public in ‘vtk’. Cannot be accessed from outside package.
It seems vtkSMPTools can not be used in vtk java.
Do I missed something or just SMP not supported in vtk java?
Notice:
I have run vtk java program normally without using vtkSMPTools.
Thanks!