X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=vtk%2Fsrc%2Fvtk%2FvtkDistanceRepresentation.java;h=603efcf2d6741fa51aa7c5f7000751f94aebe91d;hb=efb52587babd1b858c8e77fedc44a5b4ef0c1088;hp=cceff114eae50847482df4d31eaf5ffe461ed86a;hpb=471c46e9a685e20de958d77166461aebc7a7b6ee;p=simantics%2F3d.git diff --git a/vtk/src/vtk/vtkDistanceRepresentation.java b/vtk/src/vtk/vtkDistanceRepresentation.java index cceff114..603efcf2 100644 --- a/vtk/src/vtk/vtkDistanceRepresentation.java +++ b/vtk/src/vtk/vtkDistanceRepresentation.java @@ -1,178 +1,186 @@ -// java wrapper for vtkDistanceRepresentation object -// - -package vtk; -import vtk.*; - -public class vtkDistanceRepresentation extends vtkWidgetRepresentation -{ - - 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 double GetDistance_2(); - public double GetDistance() - { return GetDistance_2(); } - - private native void GetPoint1WorldPosition_3(double id0[]); - public void GetPoint1WorldPosition(double id0[]) - { GetPoint1WorldPosition_3(id0); } - - private native void GetPoint2WorldPosition_4(double id0[]); - public void GetPoint2WorldPosition(double id0[]) - { GetPoint2WorldPosition_4(id0); } - - private native double[] GetPoint1WorldPosition_5(); - public double[] GetPoint1WorldPosition() - { return GetPoint1WorldPosition_5(); } - - private native double[] GetPoint2WorldPosition_6(); - public double[] GetPoint2WorldPosition() - { return GetPoint2WorldPosition_6(); } - - private native void SetPoint1DisplayPosition_7(double id0[]); - public void SetPoint1DisplayPosition(double id0[]) - { SetPoint1DisplayPosition_7(id0); } - - private native void SetPoint2DisplayPosition_8(double id0[]); - public void SetPoint2DisplayPosition(double id0[]) - { SetPoint2DisplayPosition_8(id0); } - - private native void GetPoint1DisplayPosition_9(double id0[]); - public void GetPoint1DisplayPosition(double id0[]) - { GetPoint1DisplayPosition_9(id0); } - - private native void GetPoint2DisplayPosition_10(double id0[]); - public void GetPoint2DisplayPosition(double id0[]) - { GetPoint2DisplayPosition_10(id0); } - - private native void SetPoint1WorldPosition_11(double id0[]); - public void SetPoint1WorldPosition(double id0[]) - { SetPoint1WorldPosition_11(id0); } - - private native void SetPoint2WorldPosition_12(double id0[]); - public void SetPoint2WorldPosition(double id0[]) - { SetPoint2WorldPosition_12(id0); } - - private native void SetHandleRepresentation_13(vtkHandleRepresentation id0); - public void SetHandleRepresentation(vtkHandleRepresentation id0) - { SetHandleRepresentation_13(id0); } - - private native void InstantiateHandleRepresentation_14(); - public void InstantiateHandleRepresentation() - { InstantiateHandleRepresentation_14(); } - - private native long GetPoint1Representation_15(); - public vtkHandleRepresentation GetPoint1Representation() { - long temp = GetPoint1Representation_15(); - - if (temp == 0) return null; - return (vtkHandleRepresentation)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native long GetPoint2Representation_16(); - public vtkHandleRepresentation GetPoint2Representation() { - long temp = GetPoint2Representation_16(); - - if (temp == 0) return null; - return (vtkHandleRepresentation)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native void SetTolerance_17(int id0); - public void SetTolerance(int id0) - { SetTolerance_17(id0); } - - private native int GetToleranceMinValue_18(); - public int GetToleranceMinValue() - { return GetToleranceMinValue_18(); } - - private native int GetToleranceMaxValue_19(); - public int GetToleranceMaxValue() - { return GetToleranceMaxValue_19(); } - - private native int GetTolerance_20(); - public int GetTolerance() - { return GetTolerance_20(); } - - private native void SetLabelFormat_21(String id0); - public void SetLabelFormat(String id0) - { SetLabelFormat_21(id0); } - - private native String GetLabelFormat_22(); - public String GetLabelFormat() - { return GetLabelFormat_22(); } - - private native void SetRulerMode_23(int id0); - public void SetRulerMode(int id0) - { SetRulerMode_23(id0); } - - private native int GetRulerMode_24(); - public int GetRulerMode() - { return GetRulerMode_24(); } - - private native void RulerModeOn_25(); - public void RulerModeOn() - { RulerModeOn_25(); } - - private native void RulerModeOff_26(); - public void RulerModeOff() - { RulerModeOff_26(); } - - private native void SetRulerDistance_27(double id0); - public void SetRulerDistance(double id0) - { SetRulerDistance_27(id0); } - - private native double GetRulerDistanceMinValue_28(); - public double GetRulerDistanceMinValue() - { return GetRulerDistanceMinValue_28(); } - - private native double GetRulerDistanceMaxValue_29(); - public double GetRulerDistanceMaxValue() - { return GetRulerDistanceMaxValue_29(); } - - private native double GetRulerDistance_30(); - public double GetRulerDistance() - { return GetRulerDistance_30(); } - - private native void SetNumberOfRulerTicks_31(int id0); - public void SetNumberOfRulerTicks(int id0) - { SetNumberOfRulerTicks_31(id0); } - - private native int GetNumberOfRulerTicksMinValue_32(); - public int GetNumberOfRulerTicksMinValue() - { return GetNumberOfRulerTicksMinValue_32(); } - - private native int GetNumberOfRulerTicksMaxValue_33(); - public int GetNumberOfRulerTicksMaxValue() - { return GetNumberOfRulerTicksMaxValue_33(); } - - private native int GetNumberOfRulerTicks_34(); - public int GetNumberOfRulerTicks() - { return GetNumberOfRulerTicks_34(); } - - private native void BuildRepresentation_35(); - public void BuildRepresentation() - { BuildRepresentation_35(); } - - private native int ComputeInteractionState_36(int id0,int id1,int id2); - public int ComputeInteractionState(int id0,int id1,int id2) - { return ComputeInteractionState_36(id0,id1,id2); } - - private native void StartWidgetInteraction_37(double id0[]); - public void StartWidgetInteraction(double id0[]) - { StartWidgetInteraction_37(id0); } - - private native void WidgetInteraction_38(double id0[]); - public void WidgetInteraction(double id0[]) - { WidgetInteraction_38(id0); } - - public vtkDistanceRepresentation() { super(); } - - public vtkDistanceRepresentation(long id) { super(id); } - -} +// java wrapper for vtkDistanceRepresentation object +// + +package vtk; +import vtk.*; + +public class vtkDistanceRepresentation extends vtkWidgetRepresentation +{ + + 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 double GetDistance_2(); + public double GetDistance() + { return GetDistance_2(); } + + private native void GetPoint1WorldPosition_3(double id0[]); + public void GetPoint1WorldPosition(double id0[]) + { GetPoint1WorldPosition_3(id0); } + + private native void GetPoint2WorldPosition_4(double id0[]); + public void GetPoint2WorldPosition(double id0[]) + { GetPoint2WorldPosition_4(id0); } + + private native double[] GetPoint1WorldPosition_5(); + public double[] GetPoint1WorldPosition() + { return GetPoint1WorldPosition_5(); } + + private native double[] GetPoint2WorldPosition_6(); + public double[] GetPoint2WorldPosition() + { return GetPoint2WorldPosition_6(); } + + private native void SetPoint1DisplayPosition_7(double id0[]); + public void SetPoint1DisplayPosition(double id0[]) + { SetPoint1DisplayPosition_7(id0); } + + private native void SetPoint2DisplayPosition_8(double id0[]); + public void SetPoint2DisplayPosition(double id0[]) + { SetPoint2DisplayPosition_8(id0); } + + private native void GetPoint1DisplayPosition_9(double id0[]); + public void GetPoint1DisplayPosition(double id0[]) + { GetPoint1DisplayPosition_9(id0); } + + private native void GetPoint2DisplayPosition_10(double id0[]); + public void GetPoint2DisplayPosition(double id0[]) + { GetPoint2DisplayPosition_10(id0); } + + private native void SetPoint1WorldPosition_11(double id0[]); + public void SetPoint1WorldPosition(double id0[]) + { SetPoint1WorldPosition_11(id0); } + + private native void SetPoint2WorldPosition_12(double id0[]); + public void SetPoint2WorldPosition(double id0[]) + { SetPoint2WorldPosition_12(id0); } + + private native void SetHandleRepresentation_13(vtkHandleRepresentation id0); + public void SetHandleRepresentation(vtkHandleRepresentation id0) + { SetHandleRepresentation_13(id0); } + + private native void InstantiateHandleRepresentation_14(); + public void InstantiateHandleRepresentation() + { InstantiateHandleRepresentation_14(); } + + private native long GetPoint1Representation_15(); + public vtkHandleRepresentation GetPoint1Representation() { + long temp = GetPoint1Representation_15(); + + if (temp == 0) return null; + return (vtkHandleRepresentation)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native long GetPoint2Representation_16(); + public vtkHandleRepresentation GetPoint2Representation() { + long temp = GetPoint2Representation_16(); + + if (temp == 0) return null; + return (vtkHandleRepresentation)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native void SetTolerance_17(int id0); + public void SetTolerance(int id0) + { SetTolerance_17(id0); } + + private native int GetToleranceMinValue_18(); + public int GetToleranceMinValue() + { return GetToleranceMinValue_18(); } + + private native int GetToleranceMaxValue_19(); + public int GetToleranceMaxValue() + { return GetToleranceMaxValue_19(); } + + private native int GetTolerance_20(); + public int GetTolerance() + { return GetTolerance_20(); } + + private native void SetLabelFormat_21(String id0); + public void SetLabelFormat(String id0) + { SetLabelFormat_21(id0); } + + private native String GetLabelFormat_22(); + public String GetLabelFormat() + { return GetLabelFormat_22(); } + + private native void SetScale_23(double id0); + public void SetScale(double id0) + { SetScale_23(id0); } + + private native double GetScale_24(); + public double GetScale() + { return GetScale_24(); } + + private native void SetRulerMode_25(int id0); + public void SetRulerMode(int id0) + { SetRulerMode_25(id0); } + + private native int GetRulerMode_26(); + public int GetRulerMode() + { return GetRulerMode_26(); } + + private native void RulerModeOn_27(); + public void RulerModeOn() + { RulerModeOn_27(); } + + private native void RulerModeOff_28(); + public void RulerModeOff() + { RulerModeOff_28(); } + + private native void SetRulerDistance_29(double id0); + public void SetRulerDistance(double id0) + { SetRulerDistance_29(id0); } + + private native double GetRulerDistanceMinValue_30(); + public double GetRulerDistanceMinValue() + { return GetRulerDistanceMinValue_30(); } + + private native double GetRulerDistanceMaxValue_31(); + public double GetRulerDistanceMaxValue() + { return GetRulerDistanceMaxValue_31(); } + + private native double GetRulerDistance_32(); + public double GetRulerDistance() + { return GetRulerDistance_32(); } + + private native void SetNumberOfRulerTicks_33(int id0); + public void SetNumberOfRulerTicks(int id0) + { SetNumberOfRulerTicks_33(id0); } + + private native int GetNumberOfRulerTicksMinValue_34(); + public int GetNumberOfRulerTicksMinValue() + { return GetNumberOfRulerTicksMinValue_34(); } + + private native int GetNumberOfRulerTicksMaxValue_35(); + public int GetNumberOfRulerTicksMaxValue() + { return GetNumberOfRulerTicksMaxValue_35(); } + + private native int GetNumberOfRulerTicks_36(); + public int GetNumberOfRulerTicks() + { return GetNumberOfRulerTicks_36(); } + + private native void BuildRepresentation_37(); + public void BuildRepresentation() + { BuildRepresentation_37(); } + + private native int ComputeInteractionState_38(int id0,int id1,int id2); + public int ComputeInteractionState(int id0,int id1,int id2) + { return ComputeInteractionState_38(id0,id1,id2); } + + private native void StartWidgetInteraction_39(double id0[]); + public void StartWidgetInteraction(double id0[]) + { StartWidgetInteraction_39(id0); } + + private native void WidgetInteraction_40(double id0[]); + public void WidgetInteraction(double id0[]) + { WidgetInteraction_40(id0); } + + public vtkDistanceRepresentation() { super(); } + + public vtkDistanceRepresentation(long id) { super(id); } + +}