X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=vtk%2Fsrc%2Fvtk%2FvtkContextTransform.java;h=239d2bbe8b22a917a363a6523a85abbfca771f0b;hb=7e8142b80067a2af52ceb5bdf3a9307756c1c78c;hp=af15cfd99033f24ebfda49ec0edf01d84b060c7d;hpb=471c46e9a685e20de958d77166461aebc7a7b6ee;p=simantics%2F3d.git diff --git a/vtk/src/vtk/vtkContextTransform.java b/vtk/src/vtk/vtkContextTransform.java index af15cfd9..239d2bbe 100644 --- a/vtk/src/vtk/vtkContextTransform.java +++ b/vtk/src/vtk/vtkContextTransform.java @@ -1,51 +1,151 @@ -// java wrapper for vtkContextTransform object -// - -package vtk; -import vtk.*; - -public class vtkContextTransform extends vtkAbstractContextItem -{ - - 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 Update_2(); - public void Update() - { Update_2(); } - - private native boolean Paint_3(vtkContext2D id0); - public boolean Paint(vtkContext2D id0) - { return Paint_3(id0); } - - private native void Translate_4(double id0,double id1); - public void Translate(double id0,double id1) - { Translate_4(id0,id1); } - - private native void Scale_5(double id0,double id1); - public void Scale(double id0,double id1) - { Scale_5(id0,id1); } - - private native void Rotate_6(double id0); - public void Rotate(double id0) - { Rotate_6(id0); } - - private native long GetTransform_7(); - public vtkTransform2D GetTransform() { - long temp = GetTransform_7(); - - if (temp == 0) return null; - return (vtkTransform2D)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - public vtkContextTransform() { super(); } - - public vtkContextTransform(long id) { super(id); } - public native long VTKInit(); - -} +// java wrapper for vtkContextTransform object +// + +package vtk; +import vtk.*; + +public class vtkContextTransform extends vtkAbstractContextItem +{ + + 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 Update_2(); + public void Update() + { Update_2(); } + + private native boolean Paint_3(vtkContext2D id0); + public boolean Paint(vtkContext2D id0) + { return Paint_3(id0); } + + private native void Identity_4(); + public void Identity() + { Identity_4(); } + + private native void Translate_5(double id0,double id1); + public void Translate(double id0,double id1) + { Translate_5(id0,id1); } + + private native void Scale_6(double id0,double id1); + public void Scale(double id0,double id1) + { Scale_6(id0,id1); } + + private native void Rotate_7(double id0); + public void Rotate(double id0) + { Rotate_7(id0); } + + private native long GetTransform_8(); + public vtkTransform2D GetTransform() { + long temp = GetTransform_8(); + + if (temp == 0) return null; + return (vtkTransform2D)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native void SetPanMouseButton_9(int id0); + public void SetPanMouseButton(int id0) + { SetPanMouseButton_9(id0); } + + private native int GetPanMouseButton_10(); + public int GetPanMouseButton() + { return GetPanMouseButton_10(); } + + private native void SetPanModifier_11(int id0); + public void SetPanModifier(int id0) + { SetPanModifier_11(id0); } + + private native int GetPanModifier_12(); + public int GetPanModifier() + { return GetPanModifier_12(); } + + private native void SetSecondaryPanMouseButton_13(int id0); + public void SetSecondaryPanMouseButton(int id0) + { SetSecondaryPanMouseButton_13(id0); } + + private native int GetSecondaryPanMouseButton_14(); + public int GetSecondaryPanMouseButton() + { return GetSecondaryPanMouseButton_14(); } + + private native void SetSecondaryPanModifier_15(int id0); + public void SetSecondaryPanModifier(int id0) + { SetSecondaryPanModifier_15(id0); } + + private native int GetSecondaryPanModifier_16(); + public int GetSecondaryPanModifier() + { return GetSecondaryPanModifier_16(); } + + private native void SetZoomMouseButton_17(int id0); + public void SetZoomMouseButton(int id0) + { SetZoomMouseButton_17(id0); } + + private native int GetZoomMouseButton_18(); + public int GetZoomMouseButton() + { return GetZoomMouseButton_18(); } + + private native void SetZoomModifier_19(int id0); + public void SetZoomModifier(int id0) + { SetZoomModifier_19(id0); } + + private native int GetZoomModifier_20(); + public int GetZoomModifier() + { return GetZoomModifier_20(); } + + private native void SetSecondaryZoomMouseButton_21(int id0); + public void SetSecondaryZoomMouseButton(int id0) + { SetSecondaryZoomMouseButton_21(id0); } + + private native int GetSecondaryZoomMouseButton_22(); + public int GetSecondaryZoomMouseButton() + { return GetSecondaryZoomMouseButton_22(); } + + private native void SetSecondaryZoomModifier_23(int id0); + public void SetSecondaryZoomModifier(int id0) + { SetSecondaryZoomModifier_23(id0); } + + private native int GetSecondaryZoomModifier_24(); + public int GetSecondaryZoomModifier() + { return GetSecondaryZoomModifier_24(); } + + private native void SetZoomOnMouseWheel_25(boolean id0); + public void SetZoomOnMouseWheel(boolean id0) + { SetZoomOnMouseWheel_25(id0); } + + private native boolean GetZoomOnMouseWheel_26(); + public boolean GetZoomOnMouseWheel() + { return GetZoomOnMouseWheel_26(); } + + private native void ZoomOnMouseWheelOn_27(); + public void ZoomOnMouseWheelOn() + { ZoomOnMouseWheelOn_27(); } + + private native void ZoomOnMouseWheelOff_28(); + public void ZoomOnMouseWheelOff() + { ZoomOnMouseWheelOff_28(); } + + private native void SetPanYOnMouseWheel_29(boolean id0); + public void SetPanYOnMouseWheel(boolean id0) + { SetPanYOnMouseWheel_29(id0); } + + private native boolean GetPanYOnMouseWheel_30(); + public boolean GetPanYOnMouseWheel() + { return GetPanYOnMouseWheel_30(); } + + private native void PanYOnMouseWheelOn_31(); + public void PanYOnMouseWheelOn() + { PanYOnMouseWheelOn_31(); } + + private native void PanYOnMouseWheelOff_32(); + public void PanYOnMouseWheelOff() + { PanYOnMouseWheelOff_32(); } + + public vtkContextTransform() { super(); } + + public vtkContextTransform(long id) { super(id); } + public native long VTKInit(); + +}