X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=vtk%2Fsrc%2Fvtk%2FvtkMINCImageReader.java;h=b63df5d106c9968ca270584573a048fe69fd1e4d;hb=7995175d871d693e39b97fcffae70a9b2a7ab3bf;hp=a43e5845ddac013e2ef54870fc1907862b69fc1a;hpb=471c46e9a685e20de958d77166461aebc7a7b6ee;p=simantics%2F3d.git diff --git a/vtk/src/vtk/vtkMINCImageReader.java b/vtk/src/vtk/vtkMINCImageReader.java index a43e5845..b63df5d1 100644 --- a/vtk/src/vtk/vtkMINCImageReader.java +++ b/vtk/src/vtk/vtkMINCImageReader.java @@ -1,99 +1,99 @@ -// java wrapper for vtkMINCImageReader object -// - -package vtk; -import vtk.*; - -public class vtkMINCImageReader extends vtkImageReader2 -{ - - private native String GetClassName_0(); - public String GetClassName() - { return GetClassName_0(); } - - private native int IsA_1(String id0); - public int IsA(String id0) - { return IsA_1(id0); } - - private native void SetFileName_2(String id0); - public void SetFileName(String id0) - { SetFileName_2(id0); } - - private native String GetFileExtensions_3(); - public String GetFileExtensions() - { return GetFileExtensions_3(); } - - private native String GetDescriptiveName_4(); - public String GetDescriptiveName() - { return GetDescriptiveName_4(); } - - private native int CanReadFile_5(String id0); - public int CanReadFile(String id0) - { return CanReadFile_5(id0); } - - private native long GetDirectionCosines_6(); - public vtkMatrix4x4 GetDirectionCosines() { - long temp = GetDirectionCosines_6(); - - if (temp == 0) return null; - return (vtkMatrix4x4)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native double GetRescaleSlope_7(); - public double GetRescaleSlope() - { return GetRescaleSlope_7(); } - - private native double GetRescaleIntercept_8(); - public double GetRescaleIntercept() - { return GetRescaleIntercept_8(); } - - private native void SetRescaleRealValues_9(int id0); - public void SetRescaleRealValues(int id0) - { SetRescaleRealValues_9(id0); } - - private native void RescaleRealValuesOn_10(); - public void RescaleRealValuesOn() - { RescaleRealValuesOn_10(); } - - private native void RescaleRealValuesOff_11(); - public void RescaleRealValuesOff() - { RescaleRealValuesOff_11(); } - - private native int GetRescaleRealValues_12(); - public int GetRescaleRealValues() - { return GetRescaleRealValues_12(); } - - private native double[] GetDataRange_13(); - public double[] GetDataRange() - { return GetDataRange_13(); } - - private native void GetDataRange_14(double id0[]); - public void GetDataRange(double id0[]) - { GetDataRange_14(id0); } - - private native int GetNumberOfTimeSteps_15(); - public int GetNumberOfTimeSteps() - { return GetNumberOfTimeSteps_15(); } - - private native void SetTimeStep_16(int id0); - public void SetTimeStep(int id0) - { SetTimeStep_16(id0); } - - private native int GetTimeStep_17(); - public int GetTimeStep() - { return GetTimeStep_17(); } - - private native long GetImageAttributes_18(); - public vtkMINCImageAttributes GetImageAttributes() { - long temp = GetImageAttributes_18(); - - if (temp == 0) return null; - return (vtkMINCImageAttributes)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - public vtkMINCImageReader() { super(); } - - public vtkMINCImageReader(long id) { super(id); } - public native long VTKInit(); - -} +// java wrapper for vtkMINCImageReader object +// + +package vtk; +import vtk.*; + +public class vtkMINCImageReader extends vtkImageReader2 +{ + + private native int IsTypeOf_0(String id0); + public int IsTypeOf(String id0) + { return IsTypeOf_0(id0); } + + private native int IsA_1(String id0); + public int IsA(String id0) + { return IsA_1(id0); } + + private native void SetFileName_2(String id0); + public void SetFileName(String id0) + { SetFileName_2(id0); } + + private native String GetFileExtensions_3(); + public String GetFileExtensions() + { return GetFileExtensions_3(); } + + private native String GetDescriptiveName_4(); + public String GetDescriptiveName() + { return GetDescriptiveName_4(); } + + private native int CanReadFile_5(String id0); + public int CanReadFile(String id0) + { return CanReadFile_5(id0); } + + private native long GetDirectionCosines_6(); + public vtkMatrix4x4 GetDirectionCosines() { + long temp = GetDirectionCosines_6(); + + if (temp == 0) return null; + return (vtkMatrix4x4)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native double GetRescaleSlope_7(); + public double GetRescaleSlope() + { return GetRescaleSlope_7(); } + + private native double GetRescaleIntercept_8(); + public double GetRescaleIntercept() + { return GetRescaleIntercept_8(); } + + private native void SetRescaleRealValues_9(int id0); + public void SetRescaleRealValues(int id0) + { SetRescaleRealValues_9(id0); } + + private native void RescaleRealValuesOn_10(); + public void RescaleRealValuesOn() + { RescaleRealValuesOn_10(); } + + private native void RescaleRealValuesOff_11(); + public void RescaleRealValuesOff() + { RescaleRealValuesOff_11(); } + + private native int GetRescaleRealValues_12(); + public int GetRescaleRealValues() + { return GetRescaleRealValues_12(); } + + private native double[] GetDataRange_13(); + public double[] GetDataRange() + { return GetDataRange_13(); } + + private native void GetDataRange_14(double id0[]); + public void GetDataRange(double id0[]) + { GetDataRange_14(id0); } + + private native int GetNumberOfTimeSteps_15(); + public int GetNumberOfTimeSteps() + { return GetNumberOfTimeSteps_15(); } + + private native void SetTimeStep_16(int id0); + public void SetTimeStep(int id0) + { SetTimeStep_16(id0); } + + private native int GetTimeStep_17(); + public int GetTimeStep() + { return GetTimeStep_17(); } + + private native long GetImageAttributes_18(); + public vtkMINCImageAttributes GetImageAttributes() { + long temp = GetImageAttributes_18(); + + if (temp == 0) return null; + return (vtkMINCImageAttributes)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + public vtkMINCImageReader() { super(); } + + public vtkMINCImageReader(long id) { super(id); } + public native long VTKInit(); + +}