X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=vtk%2Fsrc%2Fvtk%2FvtkControlPointsItem.java;h=5838618ca8a850d6b3b8943adfc066b024889160;hb=064a7d0401dba71baae82737271620ca7bcb6bfa;hp=9c4472bf436367912641f2000c6def690da549e7;hpb=471c46e9a685e20de958d77166461aebc7a7b6ee;p=simantics%2F3d.git diff --git a/vtk/src/vtk/vtkControlPointsItem.java b/vtk/src/vtk/vtkControlPointsItem.java index 9c4472bf..5838618c 100644 --- a/vtk/src/vtk/vtkControlPointsItem.java +++ b/vtk/src/vtk/vtkControlPointsItem.java @@ -1,190 +1,194 @@ -// java wrapper for vtkControlPointsItem object -// - -package vtk; -import vtk.*; - -public class vtkControlPointsItem extends vtkPlot -{ - - 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 GetBounds_2(double id0[]); - public void GetBounds(double id0[]) - { GetBounds_2(id0); } - - private native void SetUserBounds_3(double id0,double id1,double id2,double id3); - public void SetUserBounds(double id0,double id1,double id2,double id3) - { SetUserBounds_3(id0,id1,id2,id3); } - - private native void SetUserBounds_4(double id0[]); - public void SetUserBounds(double id0[]) - { SetUserBounds_4(id0); } - - private native double[] GetUserBounds_5(); - public double[] GetUserBounds() - { return GetUserBounds_5(); } - - private native void SetValidBounds_6(double id0,double id1,double id2,double id3); - public void SetValidBounds(double id0,double id1,double id2,double id3) - { SetValidBounds_6(id0,id1,id2,id3); } - - private native void SetValidBounds_7(double id0[]); - public void SetValidBounds(double id0[]) - { SetValidBounds_7(id0); } - - private native double[] GetValidBounds_8(); - public double[] GetValidBounds() - { return GetValidBounds_8(); } - - private native double GetScreenPointRadius_9(); - public double GetScreenPointRadius() - { return GetScreenPointRadius_9(); } - - private native void SetScreenPointRadius_10(double id0); - public void SetScreenPointRadius(double id0) - { SetScreenPointRadius_10(id0); } - - private native boolean Paint_11(vtkContext2D id0); - public boolean Paint(vtkContext2D id0) - { return Paint_11(id0); } - - private native void SelectPoint_12(int id0); - public void SelectPoint(int id0) - { SelectPoint_12(id0); } - - private native void SelectAllPoints_13(); - public void SelectAllPoints() - { SelectAllPoints_13(); } - - private native void DeselectPoint_14(int id0); - public void DeselectPoint(int id0) - { DeselectPoint_14(id0); } - - private native void DeselectAllPoints_15(); - public void DeselectAllPoints() - { DeselectAllPoints_15(); } - - private native void ToggleSelectPoint_16(int id0); - public void ToggleSelectPoint(int id0) - { ToggleSelectPoint_16(id0); } - - private native int GetNumberOfSelectedPoints_17(); - public int GetNumberOfSelectedPoints() - { return GetNumberOfSelectedPoints_17(); } - - private native long GetControlPointsIds_18(); - public vtkIdTypeArray GetControlPointsIds() { - long temp = GetControlPointsIds_18(); - - if (temp == 0) return null; - return (vtkIdTypeArray)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native long GetControlPointsIds_19(boolean id0); - public vtkIdTypeArray GetControlPointsIds(boolean id0) { - long temp = GetControlPointsIds_19(id0); - - if (temp == 0) return null; - return (vtkIdTypeArray)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native boolean GetStrokeMode_20(); - public boolean GetStrokeMode() - { return GetStrokeMode_20(); } - - private native void SetSwitchPointsMode_21(boolean id0); - public void SetSwitchPointsMode(boolean id0) - { SetSwitchPointsMode_21(id0); } - - private native boolean GetSwitchPointsMode_22(); - public boolean GetSwitchPointsMode() - { return GetSwitchPointsMode_22(); } - - private native void SetEndPointsXMovable_23(boolean id0); - public void SetEndPointsXMovable(boolean id0) - { SetEndPointsXMovable_23(id0); } - - private native boolean GetEndPointsXMovable_24(); - public boolean GetEndPointsXMovable() - { return GetEndPointsXMovable_24(); } - - private native void SetEndPointsYMovable_25(boolean id0); - public void SetEndPointsYMovable(boolean id0) - { SetEndPointsYMovable_25(id0); } - - private native boolean GetEndPointsYMovable_26(); - public boolean GetEndPointsYMovable() - { return GetEndPointsYMovable_26(); } - - private native boolean GetEndPointsMovable_27(); - public boolean GetEndPointsMovable() - { return GetEndPointsMovable_27(); } - - private native void SetEndPointsRemovable_28(boolean id0); - public void SetEndPointsRemovable(boolean id0) - { SetEndPointsRemovable_28(id0); } - - private native boolean GetEndPointsRemovable_29(); - public boolean GetEndPointsRemovable() - { return GetEndPointsRemovable_29(); } - - private native int RemovePoint_30(int id0); - public int RemovePoint(int id0) - { return RemovePoint_30(id0); } - - private native void RemoveCurrentPoint_31(); - public void RemoveCurrentPoint() - { RemoveCurrentPoint_31(); } - - private native int GetNumberOfPoints_32(); - public int GetNumberOfPoints() - { return GetNumberOfPoints_32(); } - - private native void SpreadPoints_33(double id0,vtkIdTypeArray id1); - public void SpreadPoints(double id0,vtkIdTypeArray id1) - { SpreadPoints_33(id0,id1); } - - private native void SpreadPoints_34(double id0,boolean id1); - public void SpreadPoints(double id0,boolean id1) - { SpreadPoints_34(id0,id1); } - - private native int GetCurrentPoint_35(); - public int GetCurrentPoint() - { return GetCurrentPoint_35(); } - - private native void SetCurrentPoint_36(int id0); - public void SetCurrentPoint(int id0) - { SetCurrentPoint_36(id0); } - - private native long GetSelectedPointPen_37(); - public vtkPen GetSelectedPointPen() { - long temp = GetSelectedPointPen_37(); - - if (temp == 0) return null; - return (vtkPen)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native long GetSelectedPointBrush_38(); - public vtkBrush GetSelectedPointBrush() { - long temp = GetSelectedPointBrush_38(); - - if (temp == 0) return null; - return (vtkBrush)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native void ResetBounds_39(); - public void ResetBounds() - { ResetBounds_39(); } - - public vtkControlPointsItem() { super(); } - - public vtkControlPointsItem(long id) { super(id); } - -} +// java wrapper for vtkControlPointsItem object +// + +package vtk; +import vtk.*; + +public class vtkControlPointsItem extends vtkPlot +{ + + 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 GetBounds_2(double id0[]); + public void GetBounds(double id0[]) + { GetBounds_2(id0); } + + private native void SetUserBounds_3(double id0,double id1,double id2,double id3); + public void SetUserBounds(double id0,double id1,double id2,double id3) + { SetUserBounds_3(id0,id1,id2,id3); } + + private native void SetUserBounds_4(double id0[]); + public void SetUserBounds(double id0[]) + { SetUserBounds_4(id0); } + + private native double[] GetUserBounds_5(); + public double[] GetUserBounds() + { return GetUserBounds_5(); } + + private native void SetValidBounds_6(double id0,double id1,double id2,double id3); + public void SetValidBounds(double id0,double id1,double id2,double id3) + { SetValidBounds_6(id0,id1,id2,id3); } + + private native void SetValidBounds_7(double id0[]); + public void SetValidBounds(double id0[]) + { SetValidBounds_7(id0); } + + private native double[] GetValidBounds_8(); + public double[] GetValidBounds() + { return GetValidBounds_8(); } + + private native double GetScreenPointRadius_9(); + public double GetScreenPointRadius() + { return GetScreenPointRadius_9(); } + + private native void SetScreenPointRadius_10(double id0); + public void SetScreenPointRadius(double id0) + { SetScreenPointRadius_10(id0); } + + private native boolean Paint_11(vtkContext2D id0); + public boolean Paint(vtkContext2D id0) + { return Paint_11(id0); } + + private native void SelectPoint_12(int id0); + public void SelectPoint(int id0) + { SelectPoint_12(id0); } + + private native void SelectAllPoints_13(); + public void SelectAllPoints() + { SelectAllPoints_13(); } + + private native void DeselectPoint_14(int id0); + public void DeselectPoint(int id0) + { DeselectPoint_14(id0); } + + private native void DeselectAllPoints_15(); + public void DeselectAllPoints() + { DeselectAllPoints_15(); } + + private native void ToggleSelectPoint_16(int id0); + public void ToggleSelectPoint(int id0) + { ToggleSelectPoint_16(id0); } + + private native int GetNumberOfSelectedPoints_17(); + public int GetNumberOfSelectedPoints() + { return GetNumberOfSelectedPoints_17(); } + + private native void GetControlPointsIds_18(vtkIdTypeArray id0,boolean id1); + public void GetControlPointsIds(vtkIdTypeArray id0,boolean id1) + { GetControlPointsIds_18(id0,id1); } + + private native boolean GetStrokeMode_19(); + public boolean GetStrokeMode() + { return GetStrokeMode_19(); } + + private native void SetSwitchPointsMode_20(boolean id0); + public void SetSwitchPointsMode(boolean id0) + { SetSwitchPointsMode_20(id0); } + + private native boolean GetSwitchPointsMode_21(); + public boolean GetSwitchPointsMode() + { return GetSwitchPointsMode_21(); } + + private native void SetEndPointsXMovable_22(boolean id0); + public void SetEndPointsXMovable(boolean id0) + { SetEndPointsXMovable_22(id0); } + + private native boolean GetEndPointsXMovable_23(); + public boolean GetEndPointsXMovable() + { return GetEndPointsXMovable_23(); } + + private native void SetEndPointsYMovable_24(boolean id0); + public void SetEndPointsYMovable(boolean id0) + { SetEndPointsYMovable_24(id0); } + + private native boolean GetEndPointsYMovable_25(); + public boolean GetEndPointsYMovable() + { return GetEndPointsYMovable_25(); } + + private native boolean GetEndPointsMovable_26(); + public boolean GetEndPointsMovable() + { return GetEndPointsMovable_26(); } + + private native void SetEndPointsRemovable_27(boolean id0); + public void SetEndPointsRemovable(boolean id0) + { SetEndPointsRemovable_27(id0); } + + private native boolean GetEndPointsRemovable_28(); + public boolean GetEndPointsRemovable() + { return GetEndPointsRemovable_28(); } + + private native void SetShowLabels_29(boolean id0); + public void SetShowLabels(boolean id0) + { SetShowLabels_29(id0); } + + private native boolean GetShowLabels_30(); + public boolean GetShowLabels() + { return GetShowLabels_30(); } + + private native void SetLabelFormat_31(String id0); + public void SetLabelFormat(String id0) + { SetLabelFormat_31(id0); } + + private native String GetLabelFormat_32(); + public String GetLabelFormat() + { return GetLabelFormat_32(); } + + private native int RemovePoint_33(int id0); + public int RemovePoint(int id0) + { return RemovePoint_33(id0); } + + private native void RemoveCurrentPoint_34(); + public void RemoveCurrentPoint() + { RemoveCurrentPoint_34(); } + + private native int GetNumberOfPoints_35(); + public int GetNumberOfPoints() + { return GetNumberOfPoints_35(); } + + private native void SpreadPoints_36(double id0,vtkIdTypeArray id1); + public void SpreadPoints(double id0,vtkIdTypeArray id1) + { SpreadPoints_36(id0,id1); } + + private native void SpreadPoints_37(double id0,boolean id1); + public void SpreadPoints(double id0,boolean id1) + { SpreadPoints_37(id0,id1); } + + private native int GetCurrentPoint_38(); + public int GetCurrentPoint() + { return GetCurrentPoint_38(); } + + private native void SetCurrentPoint_39(int id0); + public void SetCurrentPoint(int id0) + { SetCurrentPoint_39(id0); } + + private native long GetSelectedPointPen_40(); + public vtkPen GetSelectedPointPen() { + long temp = GetSelectedPointPen_40(); + + if (temp == 0) return null; + return (vtkPen)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native long GetSelectedPointBrush_41(); + public vtkBrush GetSelectedPointBrush() { + long temp = GetSelectedPointBrush_41(); + + if (temp == 0) return null; + return (vtkBrush)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native void ResetBounds_42(); + public void ResetBounds() + { ResetBounds_42(); } + + public vtkControlPointsItem() { super(); } + + public vtkControlPointsItem(long id) { super(id); } + +}