X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=vtk%2Fsrc%2Fvtk%2FvtkInteractorStyleImage.java;h=7ae312e228fe90df1512450cd08ddf478db4c341;hb=3523a218827de60e1aa4ce7be126342418ddb054;hp=1aa635f4b1bca3e677ad444ed49b0a4f662d9c04;hpb=471c46e9a685e20de958d77166461aebc7a7b6ee;p=simantics%2F3d.git diff --git a/vtk/src/vtk/vtkInteractorStyleImage.java b/vtk/src/vtk/vtkInteractorStyleImage.java index 1aa635f4..7ae312e2 100644 --- a/vtk/src/vtk/vtkInteractorStyleImage.java +++ b/vtk/src/vtk/vtkInteractorStyleImage.java @@ -1,203 +1,219 @@ -// java wrapper for vtkInteractorStyleImage object -// - -package vtk; -import vtk.*; - -public class vtkInteractorStyleImage extends vtkInteractorStyleTrackballCamera -{ - - 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 int[] GetWindowLevelStartPosition_2(); - public int[] GetWindowLevelStartPosition() - { return GetWindowLevelStartPosition_2(); } - - private native int[] GetWindowLevelCurrentPosition_3(); - public int[] GetWindowLevelCurrentPosition() - { return GetWindowLevelCurrentPosition_3(); } - - private native void OnMouseMove_4(); - public void OnMouseMove() - { OnMouseMove_4(); } - - private native void OnLeftButtonDown_5(); - public void OnLeftButtonDown() - { OnLeftButtonDown_5(); } - - private native void OnLeftButtonUp_6(); - public void OnLeftButtonUp() - { OnLeftButtonUp_6(); } - - private native void OnMiddleButtonDown_7(); - public void OnMiddleButtonDown() - { OnMiddleButtonDown_7(); } - - private native void OnMiddleButtonUp_8(); - public void OnMiddleButtonUp() - { OnMiddleButtonUp_8(); } - - private native void OnRightButtonDown_9(); - public void OnRightButtonDown() - { OnRightButtonDown_9(); } - - private native void OnRightButtonUp_10(); - public void OnRightButtonUp() - { OnRightButtonUp_10(); } - - private native void OnChar_11(); - public void OnChar() - { OnChar_11(); } - - private native void WindowLevel_12(); - public void WindowLevel() - { WindowLevel_12(); } - - private native void Pick_13(); - public void Pick() - { Pick_13(); } - - private native void Slice_14(); - public void Slice() - { Slice_14(); } - - private native void StartWindowLevel_15(); - public void StartWindowLevel() - { StartWindowLevel_15(); } - - private native void EndWindowLevel_16(); - public void EndWindowLevel() - { EndWindowLevel_16(); } - - private native void StartPick_17(); - public void StartPick() - { StartPick_17(); } - - private native void EndPick_18(); - public void EndPick() - { EndPick_18(); } - - private native void StartSlice_19(); - public void StartSlice() - { StartSlice_19(); } - - private native void EndSlice_20(); - public void EndSlice() - { EndSlice_20(); } - - private native void SetInteractionMode_21(int id0); - public void SetInteractionMode(int id0) - { SetInteractionMode_21(id0); } - - private native int GetInteractionModeMinValue_22(); - public int GetInteractionModeMinValue() - { return GetInteractionModeMinValue_22(); } - - private native int GetInteractionModeMaxValue_23(); - public int GetInteractionModeMaxValue() - { return GetInteractionModeMaxValue_23(); } - - private native int GetInteractionMode_24(); - public int GetInteractionMode() - { return GetInteractionMode_24(); } - - private native void SetInteractionModeToImage2D_25(); - public void SetInteractionModeToImage2D() - { SetInteractionModeToImage2D_25(); } - - private native void SetInteractionModeToImage3D_26(); - public void SetInteractionModeToImage3D() - { SetInteractionModeToImage3D_26(); } - - private native void SetInteractionModeToImageSlicing_27(); - public void SetInteractionModeToImageSlicing() - { SetInteractionModeToImageSlicing_27(); } - - private native void SetXViewRightVector_28(double id0,double id1,double id2); - public void SetXViewRightVector(double id0,double id1,double id2) - { SetXViewRightVector_28(id0,id1,id2); } - - private native void SetXViewRightVector_29(double id0[]); - public void SetXViewRightVector(double id0[]) - { SetXViewRightVector_29(id0); } - - private native double[] GetXViewRightVector_30(); - public double[] GetXViewRightVector() - { return GetXViewRightVector_30(); } - - private native void SetXViewUpVector_31(double id0,double id1,double id2); - public void SetXViewUpVector(double id0,double id1,double id2) - { SetXViewUpVector_31(id0,id1,id2); } - - private native void SetXViewUpVector_32(double id0[]); - public void SetXViewUpVector(double id0[]) - { SetXViewUpVector_32(id0); } - - private native double[] GetXViewUpVector_33(); - public double[] GetXViewUpVector() - { return GetXViewUpVector_33(); } - - private native void SetYViewRightVector_34(double id0,double id1,double id2); - public void SetYViewRightVector(double id0,double id1,double id2) - { SetYViewRightVector_34(id0,id1,id2); } - - private native void SetYViewRightVector_35(double id0[]); - public void SetYViewRightVector(double id0[]) - { SetYViewRightVector_35(id0); } - - private native double[] GetYViewRightVector_36(); - public double[] GetYViewRightVector() - { return GetYViewRightVector_36(); } - - private native void SetYViewUpVector_37(double id0,double id1,double id2); - public void SetYViewUpVector(double id0,double id1,double id2) - { SetYViewUpVector_37(id0,id1,id2); } - - private native void SetYViewUpVector_38(double id0[]); - public void SetYViewUpVector(double id0[]) - { SetYViewUpVector_38(id0); } - - private native double[] GetYViewUpVector_39(); - public double[] GetYViewUpVector() - { return GetYViewUpVector_39(); } - - private native void SetZViewRightVector_40(double id0,double id1,double id2); - public void SetZViewRightVector(double id0,double id1,double id2) - { SetZViewRightVector_40(id0,id1,id2); } - - private native void SetZViewRightVector_41(double id0[]); - public void SetZViewRightVector(double id0[]) - { SetZViewRightVector_41(id0); } - - private native double[] GetZViewRightVector_42(); - public double[] GetZViewRightVector() - { return GetZViewRightVector_42(); } - - private native void SetZViewUpVector_43(double id0,double id1,double id2); - public void SetZViewUpVector(double id0,double id1,double id2) - { SetZViewUpVector_43(id0,id1,id2); } - - private native void SetZViewUpVector_44(double id0[]); - public void SetZViewUpVector(double id0[]) - { SetZViewUpVector_44(id0); } - - private native double[] GetZViewUpVector_45(); - public double[] GetZViewUpVector() - { return GetZViewUpVector_45(); } - - private native void SetImageOrientation_46(double id0[],double id1[]); - public void SetImageOrientation(double id0[],double id1[]) - { SetImageOrientation_46(id0,id1); } - - public vtkInteractorStyleImage() { super(); } - - public vtkInteractorStyleImage(long id) { super(id); } - public native long VTKInit(); - -} +// java wrapper for vtkInteractorStyleImage object +// + +package vtk; +import vtk.*; + +public class vtkInteractorStyleImage extends vtkInteractorStyleTrackballCamera +{ + + 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 int[] GetWindowLevelStartPosition_2(); + public int[] GetWindowLevelStartPosition() + { return GetWindowLevelStartPosition_2(); } + + private native int[] GetWindowLevelCurrentPosition_3(); + public int[] GetWindowLevelCurrentPosition() + { return GetWindowLevelCurrentPosition_3(); } + + private native void OnMouseMove_4(); + public void OnMouseMove() + { OnMouseMove_4(); } + + private native void OnLeftButtonDown_5(); + public void OnLeftButtonDown() + { OnLeftButtonDown_5(); } + + private native void OnLeftButtonUp_6(); + public void OnLeftButtonUp() + { OnLeftButtonUp_6(); } + + private native void OnMiddleButtonDown_7(); + public void OnMiddleButtonDown() + { OnMiddleButtonDown_7(); } + + private native void OnMiddleButtonUp_8(); + public void OnMiddleButtonUp() + { OnMiddleButtonUp_8(); } + + private native void OnRightButtonDown_9(); + public void OnRightButtonDown() + { OnRightButtonDown_9(); } + + private native void OnRightButtonUp_10(); + public void OnRightButtonUp() + { OnRightButtonUp_10(); } + + private native void OnChar_11(); + public void OnChar() + { OnChar_11(); } + + private native void WindowLevel_12(); + public void WindowLevel() + { WindowLevel_12(); } + + private native void Pick_13(); + public void Pick() + { Pick_13(); } + + private native void Slice_14(); + public void Slice() + { Slice_14(); } + + private native void StartWindowLevel_15(); + public void StartWindowLevel() + { StartWindowLevel_15(); } + + private native void EndWindowLevel_16(); + public void EndWindowLevel() + { EndWindowLevel_16(); } + + private native void StartPick_17(); + public void StartPick() + { StartPick_17(); } + + private native void EndPick_18(); + public void EndPick() + { EndPick_18(); } + + private native void StartSlice_19(); + public void StartSlice() + { StartSlice_19(); } + + private native void EndSlice_20(); + public void EndSlice() + { EndSlice_20(); } + + private native void SetInteractionMode_21(int id0); + public void SetInteractionMode(int id0) + { SetInteractionMode_21(id0); } + + private native int GetInteractionModeMinValue_22(); + public int GetInteractionModeMinValue() + { return GetInteractionModeMinValue_22(); } + + private native int GetInteractionModeMaxValue_23(); + public int GetInteractionModeMaxValue() + { return GetInteractionModeMaxValue_23(); } + + private native int GetInteractionMode_24(); + public int GetInteractionMode() + { return GetInteractionMode_24(); } + + private native void SetInteractionModeToImage2D_25(); + public void SetInteractionModeToImage2D() + { SetInteractionModeToImage2D_25(); } + + private native void SetInteractionModeToImage3D_26(); + public void SetInteractionModeToImage3D() + { SetInteractionModeToImage3D_26(); } + + private native void SetInteractionModeToImageSlicing_27(); + public void SetInteractionModeToImageSlicing() + { SetInteractionModeToImageSlicing_27(); } + + private native void SetXViewRightVector_28(double id0,double id1,double id2); + public void SetXViewRightVector(double id0,double id1,double id2) + { SetXViewRightVector_28(id0,id1,id2); } + + private native void SetXViewRightVector_29(double id0[]); + public void SetXViewRightVector(double id0[]) + { SetXViewRightVector_29(id0); } + + private native double[] GetXViewRightVector_30(); + public double[] GetXViewRightVector() + { return GetXViewRightVector_30(); } + + private native void SetXViewUpVector_31(double id0,double id1,double id2); + public void SetXViewUpVector(double id0,double id1,double id2) + { SetXViewUpVector_31(id0,id1,id2); } + + private native void SetXViewUpVector_32(double id0[]); + public void SetXViewUpVector(double id0[]) + { SetXViewUpVector_32(id0); } + + private native double[] GetXViewUpVector_33(); + public double[] GetXViewUpVector() + { return GetXViewUpVector_33(); } + + private native void SetYViewRightVector_34(double id0,double id1,double id2); + public void SetYViewRightVector(double id0,double id1,double id2) + { SetYViewRightVector_34(id0,id1,id2); } + + private native void SetYViewRightVector_35(double id0[]); + public void SetYViewRightVector(double id0[]) + { SetYViewRightVector_35(id0); } + + private native double[] GetYViewRightVector_36(); + public double[] GetYViewRightVector() + { return GetYViewRightVector_36(); } + + private native void SetYViewUpVector_37(double id0,double id1,double id2); + public void SetYViewUpVector(double id0,double id1,double id2) + { SetYViewUpVector_37(id0,id1,id2); } + + private native void SetYViewUpVector_38(double id0[]); + public void SetYViewUpVector(double id0[]) + { SetYViewUpVector_38(id0); } + + private native double[] GetYViewUpVector_39(); + public double[] GetYViewUpVector() + { return GetYViewUpVector_39(); } + + private native void SetZViewRightVector_40(double id0,double id1,double id2); + public void SetZViewRightVector(double id0,double id1,double id2) + { SetZViewRightVector_40(id0,id1,id2); } + + private native void SetZViewRightVector_41(double id0[]); + public void SetZViewRightVector(double id0[]) + { SetZViewRightVector_41(id0); } + + private native double[] GetZViewRightVector_42(); + public double[] GetZViewRightVector() + { return GetZViewRightVector_42(); } + + private native void SetZViewUpVector_43(double id0,double id1,double id2); + public void SetZViewUpVector(double id0,double id1,double id2) + { SetZViewUpVector_43(id0,id1,id2); } + + private native void SetZViewUpVector_44(double id0[]); + public void SetZViewUpVector(double id0[]) + { SetZViewUpVector_44(id0); } + + private native double[] GetZViewUpVector_45(); + public double[] GetZViewUpVector() + { return GetZViewUpVector_45(); } + + private native void SetImageOrientation_46(double id0[],double id1[]); + public void SetImageOrientation(double id0[],double id1[]) + { SetImageOrientation_46(id0,id1); } + + private native void SetCurrentImageNumber_47(int id0); + public void SetCurrentImageNumber(int id0) + { SetCurrentImageNumber_47(id0); } + + private native int GetCurrentImageNumber_48(); + public int GetCurrentImageNumber() + { return GetCurrentImageNumber_48(); } + + private native long GetCurrentImageProperty_49(); + public vtkImageProperty GetCurrentImageProperty() { + long temp = GetCurrentImageProperty_49(); + + if (temp == 0) return null; + return (vtkImageProperty)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + public vtkInteractorStyleImage() { super(); } + + public vtkInteractorStyleImage(long id) { super(id); } + public native long VTKInit(); + +}