X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=vtk%2Fsrc%2Fvtk%2FvtkInteractorStyle.java;h=3823d9d30ddc4da7f2892c98799e1b7a95bf62b8;hb=5303ddc439764f9263054f519deab7f9f350d561;hp=f4e080fbdf98b5dd0155ec46b23ed5ec8dcb9694;hpb=471c46e9a685e20de958d77166461aebc7a7b6ee;p=simantics%2F3d.git diff --git a/vtk/src/vtk/vtkInteractorStyle.java b/vtk/src/vtk/vtkInteractorStyle.java index f4e080fb..3823d9d3 100644 --- a/vtk/src/vtk/vtkInteractorStyle.java +++ b/vtk/src/vtk/vtkInteractorStyle.java @@ -1,327 +1,375 @@ -// java wrapper for vtkInteractorStyle object -// - -package vtk; -import vtk.*; - -public class vtkInteractorStyle extends vtkInteractorObserver -{ - - 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 SetInteractor_2(vtkRenderWindowInteractor id0); - public void SetInteractor(vtkRenderWindowInteractor id0) - { SetInteractor_2(id0); } - - private native void SetEnabled_3(int id0); - public void SetEnabled(int id0) - { SetEnabled_3(id0); } - - private native void SetAutoAdjustCameraClippingRange_4(int id0); - public void SetAutoAdjustCameraClippingRange(int id0) - { SetAutoAdjustCameraClippingRange_4(id0); } - - private native int GetAutoAdjustCameraClippingRangeMinValue_5(); - public int GetAutoAdjustCameraClippingRangeMinValue() - { return GetAutoAdjustCameraClippingRangeMinValue_5(); } - - private native int GetAutoAdjustCameraClippingRangeMaxValue_6(); - public int GetAutoAdjustCameraClippingRangeMaxValue() - { return GetAutoAdjustCameraClippingRangeMaxValue_6(); } - - private native int GetAutoAdjustCameraClippingRange_7(); - public int GetAutoAdjustCameraClippingRange() - { return GetAutoAdjustCameraClippingRange_7(); } - - private native void AutoAdjustCameraClippingRangeOn_8(); - public void AutoAdjustCameraClippingRangeOn() - { AutoAdjustCameraClippingRangeOn_8(); } - - private native void AutoAdjustCameraClippingRangeOff_9(); - public void AutoAdjustCameraClippingRangeOff() - { AutoAdjustCameraClippingRangeOff_9(); } - - private native void FindPokedRenderer_10(int id0,int id1); - public void FindPokedRenderer(int id0,int id1) - { FindPokedRenderer_10(id0,id1); } - - private native int GetState_11(); - public int GetState() - { return GetState_11(); } - - private native int GetUseTimers_12(); - public int GetUseTimers() - { return GetUseTimers_12(); } - - private native void SetUseTimers_13(int id0); - public void SetUseTimers(int id0) - { SetUseTimers_13(id0); } - - private native void UseTimersOn_14(); - public void UseTimersOn() - { UseTimersOn_14(); } - - private native void UseTimersOff_15(); - public void UseTimersOff() - { UseTimersOff_15(); } - - private native void SetTimerDuration_16(int id0); - public void SetTimerDuration(int id0) - { SetTimerDuration_16(id0); } - - private native int GetTimerDurationMinValue_17(); - public int GetTimerDurationMinValue() - { return GetTimerDurationMinValue_17(); } - - private native int GetTimerDurationMaxValue_18(); - public int GetTimerDurationMaxValue() - { return GetTimerDurationMaxValue_18(); } - - private native int GetTimerDuration_19(); - public int GetTimerDuration() - { return GetTimerDuration_19(); } - - private native void SetHandleObservers_20(int id0); - public void SetHandleObservers(int id0) - { SetHandleObservers_20(id0); } - - private native int GetHandleObservers_21(); - public int GetHandleObservers() - { return GetHandleObservers_21(); } - - private native void HandleObserversOn_22(); - public void HandleObserversOn() - { HandleObserversOn_22(); } - - private native void HandleObserversOff_23(); - public void HandleObserversOff() - { HandleObserversOff_23(); } - - private native void OnMouseMove_24(); - public void OnMouseMove() - { OnMouseMove_24(); } - - private native void OnLeftButtonDown_25(); - public void OnLeftButtonDown() - { OnLeftButtonDown_25(); } - - private native void OnLeftButtonUp_26(); - public void OnLeftButtonUp() - { OnLeftButtonUp_26(); } - - private native void OnMiddleButtonDown_27(); - public void OnMiddleButtonDown() - { OnMiddleButtonDown_27(); } - - private native void OnMiddleButtonUp_28(); - public void OnMiddleButtonUp() - { OnMiddleButtonUp_28(); } - - private native void OnRightButtonDown_29(); - public void OnRightButtonDown() - { OnRightButtonDown_29(); } - - private native void OnRightButtonUp_30(); - public void OnRightButtonUp() - { OnRightButtonUp_30(); } - - private native void OnMouseWheelForward_31(); - public void OnMouseWheelForward() - { OnMouseWheelForward_31(); } - - private native void OnMouseWheelBackward_32(); - public void OnMouseWheelBackward() - { OnMouseWheelBackward_32(); } - - private native void OnChar_33(); - public void OnChar() - { OnChar_33(); } - - private native void OnKeyDown_34(); - public void OnKeyDown() - { OnKeyDown_34(); } - - private native void OnKeyUp_35(); - public void OnKeyUp() - { OnKeyUp_35(); } - - private native void OnKeyPress_36(); - public void OnKeyPress() - { OnKeyPress_36(); } - - private native void OnKeyRelease_37(); - public void OnKeyRelease() - { OnKeyRelease_37(); } - - private native void OnExpose_38(); - public void OnExpose() - { OnExpose_38(); } - - private native void OnConfigure_39(); - public void OnConfigure() - { OnConfigure_39(); } - - private native void OnEnter_40(); - public void OnEnter() - { OnEnter_40(); } - - private native void OnLeave_41(); - public void OnLeave() - { OnLeave_41(); } - - private native void OnTimer_42(); - public void OnTimer() - { OnTimer_42(); } - - private native void Rotate_43(); - public void Rotate() - { Rotate_43(); } - - private native void Spin_44(); - public void Spin() - { Spin_44(); } - - private native void Pan_45(); - public void Pan() - { Pan_45(); } - - private native void Dolly_46(); - public void Dolly() - { Dolly_46(); } - - private native void Zoom_47(); - public void Zoom() - { Zoom_47(); } - - private native void UniformScale_48(); - public void UniformScale() - { UniformScale_48(); } - - private native void StartState_49(int id0); - public void StartState(int id0) - { StartState_49(id0); } - - private native void StopState_50(); - public void StopState() - { StopState_50(); } - - private native void StartAnimate_51(); - public void StartAnimate() - { StartAnimate_51(); } - - private native void StopAnimate_52(); - public void StopAnimate() - { StopAnimate_52(); } - - private native void StartRotate_53(); - public void StartRotate() - { StartRotate_53(); } - - private native void EndRotate_54(); - public void EndRotate() - { EndRotate_54(); } - - private native void StartZoom_55(); - public void StartZoom() - { StartZoom_55(); } - - private native void EndZoom_56(); - public void EndZoom() - { EndZoom_56(); } - - private native void StartPan_57(); - public void StartPan() - { StartPan_57(); } - - private native void EndPan_58(); - public void EndPan() - { EndPan_58(); } - - private native void StartSpin_59(); - public void StartSpin() - { StartSpin_59(); } - - private native void EndSpin_60(); - public void EndSpin() - { EndSpin_60(); } - - private native void StartDolly_61(); - public void StartDolly() - { StartDolly_61(); } - - private native void EndDolly_62(); - public void EndDolly() - { EndDolly_62(); } - - private native void StartUniformScale_63(); - public void StartUniformScale() - { StartUniformScale_63(); } - - private native void EndUniformScale_64(); - public void EndUniformScale() - { EndUniformScale_64(); } - - private native void StartTimer_65(); - public void StartTimer() - { StartTimer_65(); } - - private native void EndTimer_66(); - public void EndTimer() - { EndTimer_66(); } - - private native void HighlightProp_67(vtkProp id0); - public void HighlightProp(vtkProp id0) - { HighlightProp_67(id0); } - - private native void HighlightActor2D_68(vtkActor2D id0); - public void HighlightActor2D(vtkActor2D id0) - { HighlightActor2D_68(id0); } - - private native void HighlightProp3D_69(vtkProp3D id0); - public void HighlightProp3D(vtkProp3D id0) - { HighlightProp3D_69(id0); } - - private native void SetPickColor_70(double id0,double id1,double id2); - public void SetPickColor(double id0,double id1,double id2) - { SetPickColor_70(id0,id1,id2); } - - private native void SetPickColor_71(double id0[]); - public void SetPickColor(double id0[]) - { SetPickColor_71(id0); } - - private native double[] GetPickColor_72(); - public double[] GetPickColor() - { return GetPickColor_72(); } - - private native void SetMouseWheelMotionFactor_73(double id0); - public void SetMouseWheelMotionFactor(double id0) - { SetMouseWheelMotionFactor_73(id0); } - - private native double GetMouseWheelMotionFactor_74(); - public double GetMouseWheelMotionFactor() - { return GetMouseWheelMotionFactor_74(); } - - private native long GetTDxStyle_75(); - public vtkTDxInteractorStyle GetTDxStyle() { - long temp = GetTDxStyle_75(); - - if (temp == 0) return null; - return (vtkTDxInteractorStyle)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native void SetTDxStyle_76(vtkTDxInteractorStyle id0); - public void SetTDxStyle(vtkTDxInteractorStyle id0) - { SetTDxStyle_76(id0); } - - public vtkInteractorStyle() { super(); } - - public vtkInteractorStyle(long id) { super(id); } - public native long VTKInit(); - -} +// java wrapper for vtkInteractorStyle object +// + +package vtk; +import vtk.*; + +public class vtkInteractorStyle extends vtkInteractorObserver +{ + + 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 SetInteractor_2(vtkRenderWindowInteractor id0); + public void SetInteractor(vtkRenderWindowInteractor id0) + { SetInteractor_2(id0); } + + private native void SetEnabled_3(int id0); + public void SetEnabled(int id0) + { SetEnabled_3(id0); } + + private native void SetAutoAdjustCameraClippingRange_4(int id0); + public void SetAutoAdjustCameraClippingRange(int id0) + { SetAutoAdjustCameraClippingRange_4(id0); } + + private native int GetAutoAdjustCameraClippingRangeMinValue_5(); + public int GetAutoAdjustCameraClippingRangeMinValue() + { return GetAutoAdjustCameraClippingRangeMinValue_5(); } + + private native int GetAutoAdjustCameraClippingRangeMaxValue_6(); + public int GetAutoAdjustCameraClippingRangeMaxValue() + { return GetAutoAdjustCameraClippingRangeMaxValue_6(); } + + private native int GetAutoAdjustCameraClippingRange_7(); + public int GetAutoAdjustCameraClippingRange() + { return GetAutoAdjustCameraClippingRange_7(); } + + private native void AutoAdjustCameraClippingRangeOn_8(); + public void AutoAdjustCameraClippingRangeOn() + { AutoAdjustCameraClippingRangeOn_8(); } + + private native void AutoAdjustCameraClippingRangeOff_9(); + public void AutoAdjustCameraClippingRangeOff() + { AutoAdjustCameraClippingRangeOff_9(); } + + private native void FindPokedRenderer_10(int id0,int id1); + public void FindPokedRenderer(int id0,int id1) + { FindPokedRenderer_10(id0,id1); } + + private native int GetState_11(); + public int GetState() + { return GetState_11(); } + + private native int GetUseTimers_12(); + public int GetUseTimers() + { return GetUseTimers_12(); } + + private native void SetUseTimers_13(int id0); + public void SetUseTimers(int id0) + { SetUseTimers_13(id0); } + + private native void UseTimersOn_14(); + public void UseTimersOn() + { UseTimersOn_14(); } + + private native void UseTimersOff_15(); + public void UseTimersOff() + { UseTimersOff_15(); } + + private native void SetTimerDuration_16(int id0); + public void SetTimerDuration(int id0) + { SetTimerDuration_16(id0); } + + private native int GetTimerDurationMinValue_17(); + public int GetTimerDurationMinValue() + { return GetTimerDurationMinValue_17(); } + + private native int GetTimerDurationMaxValue_18(); + public int GetTimerDurationMaxValue() + { return GetTimerDurationMaxValue_18(); } + + private native int GetTimerDuration_19(); + public int GetTimerDuration() + { return GetTimerDuration_19(); } + + private native void SetHandleObservers_20(int id0); + public void SetHandleObservers(int id0) + { SetHandleObservers_20(id0); } + + private native int GetHandleObservers_21(); + public int GetHandleObservers() + { return GetHandleObservers_21(); } + + private native void HandleObserversOn_22(); + public void HandleObserversOn() + { HandleObserversOn_22(); } + + private native void HandleObserversOff_23(); + public void HandleObserversOff() + { HandleObserversOff_23(); } + + private native void OnMouseMove_24(); + public void OnMouseMove() + { OnMouseMove_24(); } + + private native void OnLeftButtonDown_25(); + public void OnLeftButtonDown() + { OnLeftButtonDown_25(); } + + private native void OnLeftButtonUp_26(); + public void OnLeftButtonUp() + { OnLeftButtonUp_26(); } + + private native void OnMiddleButtonDown_27(); + public void OnMiddleButtonDown() + { OnMiddleButtonDown_27(); } + + private native void OnMiddleButtonUp_28(); + public void OnMiddleButtonUp() + { OnMiddleButtonUp_28(); } + + private native void OnRightButtonDown_29(); + public void OnRightButtonDown() + { OnRightButtonDown_29(); } + + private native void OnRightButtonUp_30(); + public void OnRightButtonUp() + { OnRightButtonUp_30(); } + + private native void OnMouseWheelForward_31(); + public void OnMouseWheelForward() + { OnMouseWheelForward_31(); } + + private native void OnMouseWheelBackward_32(); + public void OnMouseWheelBackward() + { OnMouseWheelBackward_32(); } + + private native void OnFourthButtonDown_33(); + public void OnFourthButtonDown() + { OnFourthButtonDown_33(); } + + private native void OnFourthButtonUp_34(); + public void OnFourthButtonUp() + { OnFourthButtonUp_34(); } + + private native void OnFifthButtonDown_35(); + public void OnFifthButtonDown() + { OnFifthButtonDown_35(); } + + private native void OnFifthButtonUp_36(); + public void OnFifthButtonUp() + { OnFifthButtonUp_36(); } + + private native void OnChar_37(); + public void OnChar() + { OnChar_37(); } + + private native void OnKeyDown_38(); + public void OnKeyDown() + { OnKeyDown_38(); } + + private native void OnKeyUp_39(); + public void OnKeyUp() + { OnKeyUp_39(); } + + private native void OnKeyPress_40(); + public void OnKeyPress() + { OnKeyPress_40(); } + + private native void OnKeyRelease_41(); + public void OnKeyRelease() + { OnKeyRelease_41(); } + + private native void OnExpose_42(); + public void OnExpose() + { OnExpose_42(); } + + private native void OnConfigure_43(); + public void OnConfigure() + { OnConfigure_43(); } + + private native void OnEnter_44(); + public void OnEnter() + { OnEnter_44(); } + + private native void OnLeave_45(); + public void OnLeave() + { OnLeave_45(); } + + private native void OnTimer_46(); + public void OnTimer() + { OnTimer_46(); } + + private native void Rotate_47(); + public void Rotate() + { Rotate_47(); } + + private native void Spin_48(); + public void Spin() + { Spin_48(); } + + private native void Pan_49(); + public void Pan() + { Pan_49(); } + + private native void Dolly_50(); + public void Dolly() + { Dolly_50(); } + + private native void Zoom_51(); + public void Zoom() + { Zoom_51(); } + + private native void UniformScale_52(); + public void UniformScale() + { UniformScale_52(); } + + private native void OnPinch_53(); + public void OnPinch() + { OnPinch_53(); } + + private native void OnRotate_54(); + public void OnRotate() + { OnRotate_54(); } + + private native void OnPan_55(); + public void OnPan() + { OnPan_55(); } + + private native void OnTap_56(); + public void OnTap() + { OnTap_56(); } + + private native void OnLongTap_57(); + public void OnLongTap() + { OnLongTap_57(); } + + private native void OnSwipe_58(); + public void OnSwipe() + { OnSwipe_58(); } + + private native void StartState_59(int id0); + public void StartState(int id0) + { StartState_59(id0); } + + private native void StopState_60(); + public void StopState() + { StopState_60(); } + + private native void StartAnimate_61(); + public void StartAnimate() + { StartAnimate_61(); } + + private native void StopAnimate_62(); + public void StopAnimate() + { StopAnimate_62(); } + + private native void StartRotate_63(); + public void StartRotate() + { StartRotate_63(); } + + private native void EndRotate_64(); + public void EndRotate() + { EndRotate_64(); } + + private native void StartZoom_65(); + public void StartZoom() + { StartZoom_65(); } + + private native void EndZoom_66(); + public void EndZoom() + { EndZoom_66(); } + + private native void StartPan_67(); + public void StartPan() + { StartPan_67(); } + + private native void EndPan_68(); + public void EndPan() + { EndPan_68(); } + + private native void StartSpin_69(); + public void StartSpin() + { StartSpin_69(); } + + private native void EndSpin_70(); + public void EndSpin() + { EndSpin_70(); } + + private native void StartDolly_71(); + public void StartDolly() + { StartDolly_71(); } + + private native void EndDolly_72(); + public void EndDolly() + { EndDolly_72(); } + + private native void StartUniformScale_73(); + public void StartUniformScale() + { StartUniformScale_73(); } + + private native void EndUniformScale_74(); + public void EndUniformScale() + { EndUniformScale_74(); } + + private native void StartTimer_75(); + public void StartTimer() + { StartTimer_75(); } + + private native void EndTimer_76(); + public void EndTimer() + { EndTimer_76(); } + + private native void StartTwoPointer_77(); + public void StartTwoPointer() + { StartTwoPointer_77(); } + + private native void EndTwoPointer_78(); + public void EndTwoPointer() + { EndTwoPointer_78(); } + + private native void HighlightProp_79(vtkProp id0); + public void HighlightProp(vtkProp id0) + { HighlightProp_79(id0); } + + private native void HighlightActor2D_80(vtkActor2D id0); + public void HighlightActor2D(vtkActor2D id0) + { HighlightActor2D_80(id0); } + + private native void HighlightProp3D_81(vtkProp3D id0); + public void HighlightProp3D(vtkProp3D id0) + { HighlightProp3D_81(id0); } + + private native void SetPickColor_82(double id0,double id1,double id2); + public void SetPickColor(double id0,double id1,double id2) + { SetPickColor_82(id0,id1,id2); } + + private native void SetPickColor_83(double id0[]); + public void SetPickColor(double id0[]) + { SetPickColor_83(id0); } + + private native double[] GetPickColor_84(); + public double[] GetPickColor() + { return GetPickColor_84(); } + + private native void SetMouseWheelMotionFactor_85(double id0); + public void SetMouseWheelMotionFactor(double id0) + { SetMouseWheelMotionFactor_85(id0); } + + private native double GetMouseWheelMotionFactor_86(); + public double GetMouseWheelMotionFactor() + { return GetMouseWheelMotionFactor_86(); } + + private native long GetTDxStyle_87(); + public vtkTDxInteractorStyle GetTDxStyle() { + long temp = GetTDxStyle_87(); + + if (temp == 0) return null; + return (vtkTDxInteractorStyle)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native void SetTDxStyle_88(vtkTDxInteractorStyle id0); + public void SetTDxStyle(vtkTDxInteractorStyle id0) + { SetTDxStyle_88(id0); } + + public vtkInteractorStyle() { super(); } + + public vtkInteractorStyle(long id) { super(id); } + public native long VTKInit(); + +}