X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=vtk%2Fsrc%2Fvtk%2FvtkSphereWidget.java;h=58c67e5eb86fbb959e15e9a7c52ea063ac3f803c;hb=5303ddc439764f9263054f519deab7f9f350d561;hp=1262fcf73eb8c679006fe737fb9a876d834625db;hpb=471c46e9a685e20de958d77166461aebc7a7b6ee;p=simantics%2F3d.git diff --git a/vtk/src/vtk/vtkSphereWidget.java b/vtk/src/vtk/vtkSphereWidget.java index 1262fcf7..58c67e5e 100644 --- a/vtk/src/vtk/vtkSphereWidget.java +++ b/vtk/src/vtk/vtkSphereWidget.java @@ -1,211 +1,211 @@ -// java wrapper for vtkSphereWidget object -// - -package vtk; -import vtk.*; - -public class vtkSphereWidget extends vtk3DWidget -{ - - 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 SetEnabled_2(int id0); - public void SetEnabled(int id0) - { SetEnabled_2(id0); } - - private native void PlaceWidget_3(double id0[]); - public void PlaceWidget(double id0[]) - { PlaceWidget_3(id0); } - - private native void PlaceWidget_4(); - public void PlaceWidget() - { PlaceWidget_4(); } - - private native void PlaceWidget_5(double id0,double id1,double id2,double id3,double id4,double id5); - public void PlaceWidget(double id0,double id1,double id2,double id3,double id4,double id5) - { PlaceWidget_5(id0,id1,id2,id3,id4,id5); } - - private native void SetRepresentation_6(int id0); - public void SetRepresentation(int id0) - { SetRepresentation_6(id0); } - - private native int GetRepresentationMinValue_7(); - public int GetRepresentationMinValue() - { return GetRepresentationMinValue_7(); } - - private native int GetRepresentationMaxValue_8(); - public int GetRepresentationMaxValue() - { return GetRepresentationMaxValue_8(); } - - private native int GetRepresentation_9(); - public int GetRepresentation() - { return GetRepresentation_9(); } - - private native void SetRepresentationToOff_10(); - public void SetRepresentationToOff() - { SetRepresentationToOff_10(); } - - private native void SetRepresentationToWireframe_11(); - public void SetRepresentationToWireframe() - { SetRepresentationToWireframe_11(); } - - private native void SetRepresentationToSurface_12(); - public void SetRepresentationToSurface() - { SetRepresentationToSurface_12(); } - - private native void SetThetaResolution_13(int id0); - public void SetThetaResolution(int id0) - { SetThetaResolution_13(id0); } - - private native int GetThetaResolution_14(); - public int GetThetaResolution() - { return GetThetaResolution_14(); } - - private native void SetPhiResolution_15(int id0); - public void SetPhiResolution(int id0) - { SetPhiResolution_15(id0); } - - private native int GetPhiResolution_16(); - public int GetPhiResolution() - { return GetPhiResolution_16(); } - - private native void SetRadius_17(double id0); - public void SetRadius(double id0) - { SetRadius_17(id0); } - - private native double GetRadius_18(); - public double GetRadius() - { return GetRadius_18(); } - - private native void SetCenter_19(double id0,double id1,double id2); - public void SetCenter(double id0,double id1,double id2) - { SetCenter_19(id0,id1,id2); } - - private native void SetCenter_20(double id0[]); - public void SetCenter(double id0[]) - { SetCenter_20(id0); } - - private native double[] GetCenter_21(); - public double[] GetCenter() - { return GetCenter_21(); } - - private native void GetCenter_22(double id0[]); - public void GetCenter(double id0[]) - { GetCenter_22(id0); } - - private native void SetTranslation_23(int id0); - public void SetTranslation(int id0) - { SetTranslation_23(id0); } - - private native int GetTranslation_24(); - public int GetTranslation() - { return GetTranslation_24(); } - - private native void TranslationOn_25(); - public void TranslationOn() - { TranslationOn_25(); } - - private native void TranslationOff_26(); - public void TranslationOff() - { TranslationOff_26(); } - - private native void SetScale_27(int id0); - public void SetScale(int id0) - { SetScale_27(id0); } - - private native int GetScale_28(); - public int GetScale() - { return GetScale_28(); } - - private native void ScaleOn_29(); - public void ScaleOn() - { ScaleOn_29(); } - - private native void ScaleOff_30(); - public void ScaleOff() - { ScaleOff_30(); } - - private native void SetHandleVisibility_31(int id0); - public void SetHandleVisibility(int id0) - { SetHandleVisibility_31(id0); } - - private native int GetHandleVisibility_32(); - public int GetHandleVisibility() - { return GetHandleVisibility_32(); } - - private native void HandleVisibilityOn_33(); - public void HandleVisibilityOn() - { HandleVisibilityOn_33(); } - - private native void HandleVisibilityOff_34(); - public void HandleVisibilityOff() - { HandleVisibilityOff_34(); } - - private native void SetHandleDirection_35(double id0,double id1,double id2); - public void SetHandleDirection(double id0,double id1,double id2) - { SetHandleDirection_35(id0,id1,id2); } - - private native void SetHandleDirection_36(double id0[]); - public void SetHandleDirection(double id0[]) - { SetHandleDirection_36(id0); } - - private native double[] GetHandleDirection_37(); - public double[] GetHandleDirection() - { return GetHandleDirection_37(); } - - private native double[] GetHandlePosition_38(); - public double[] GetHandlePosition() - { return GetHandlePosition_38(); } - - private native void GetPolyData_39(vtkPolyData id0); - public void GetPolyData(vtkPolyData id0) - { GetPolyData_39(id0); } - - private native void GetSphere_40(vtkSphere id0); - public void GetSphere(vtkSphere id0) - { GetSphere_40(id0); } - - private native long GetSphereProperty_41(); - public vtkProperty GetSphereProperty() { - long temp = GetSphereProperty_41(); - - if (temp == 0) return null; - return (vtkProperty)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native long GetSelectedSphereProperty_42(); - public vtkProperty GetSelectedSphereProperty() { - long temp = GetSelectedSphereProperty_42(); - - if (temp == 0) return null; - return (vtkProperty)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native long GetHandleProperty_43(); - public vtkProperty GetHandleProperty() { - long temp = GetHandleProperty_43(); - - if (temp == 0) return null; - return (vtkProperty)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native long GetSelectedHandleProperty_44(); - public vtkProperty GetSelectedHandleProperty() { - long temp = GetSelectedHandleProperty_44(); - - if (temp == 0) return null; - return (vtkProperty)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - public vtkSphereWidget() { super(); } - - public vtkSphereWidget(long id) { super(id); } - public native long VTKInit(); - -} +// java wrapper for vtkSphereWidget object +// + +package vtk; +import vtk.*; + +public class vtkSphereWidget extends vtk3DWidget +{ + + 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 SetEnabled_2(int id0); + public void SetEnabled(int id0) + { SetEnabled_2(id0); } + + private native void PlaceWidget_3(double id0[]); + public void PlaceWidget(double id0[]) + { PlaceWidget_3(id0); } + + private native void PlaceWidget_4(); + public void PlaceWidget() + { PlaceWidget_4(); } + + private native void PlaceWidget_5(double id0,double id1,double id2,double id3,double id4,double id5); + public void PlaceWidget(double id0,double id1,double id2,double id3,double id4,double id5) + { PlaceWidget_5(id0,id1,id2,id3,id4,id5); } + + private native void SetRepresentation_6(int id0); + public void SetRepresentation(int id0) + { SetRepresentation_6(id0); } + + private native int GetRepresentationMinValue_7(); + public int GetRepresentationMinValue() + { return GetRepresentationMinValue_7(); } + + private native int GetRepresentationMaxValue_8(); + public int GetRepresentationMaxValue() + { return GetRepresentationMaxValue_8(); } + + private native int GetRepresentation_9(); + public int GetRepresentation() + { return GetRepresentation_9(); } + + private native void SetRepresentationToOff_10(); + public void SetRepresentationToOff() + { SetRepresentationToOff_10(); } + + private native void SetRepresentationToWireframe_11(); + public void SetRepresentationToWireframe() + { SetRepresentationToWireframe_11(); } + + private native void SetRepresentationToSurface_12(); + public void SetRepresentationToSurface() + { SetRepresentationToSurface_12(); } + + private native void SetThetaResolution_13(int id0); + public void SetThetaResolution(int id0) + { SetThetaResolution_13(id0); } + + private native int GetThetaResolution_14(); + public int GetThetaResolution() + { return GetThetaResolution_14(); } + + private native void SetPhiResolution_15(int id0); + public void SetPhiResolution(int id0) + { SetPhiResolution_15(id0); } + + private native int GetPhiResolution_16(); + public int GetPhiResolution() + { return GetPhiResolution_16(); } + + private native void SetRadius_17(double id0); + public void SetRadius(double id0) + { SetRadius_17(id0); } + + private native double GetRadius_18(); + public double GetRadius() + { return GetRadius_18(); } + + private native void SetCenter_19(double id0,double id1,double id2); + public void SetCenter(double id0,double id1,double id2) + { SetCenter_19(id0,id1,id2); } + + private native void SetCenter_20(double id0[]); + public void SetCenter(double id0[]) + { SetCenter_20(id0); } + + private native double[] GetCenter_21(); + public double[] GetCenter() + { return GetCenter_21(); } + + private native void GetCenter_22(double id0[]); + public void GetCenter(double id0[]) + { GetCenter_22(id0); } + + private native void SetTranslation_23(int id0); + public void SetTranslation(int id0) + { SetTranslation_23(id0); } + + private native int GetTranslation_24(); + public int GetTranslation() + { return GetTranslation_24(); } + + private native void TranslationOn_25(); + public void TranslationOn() + { TranslationOn_25(); } + + private native void TranslationOff_26(); + public void TranslationOff() + { TranslationOff_26(); } + + private native void SetScale_27(int id0); + public void SetScale(int id0) + { SetScale_27(id0); } + + private native int GetScale_28(); + public int GetScale() + { return GetScale_28(); } + + private native void ScaleOn_29(); + public void ScaleOn() + { ScaleOn_29(); } + + private native void ScaleOff_30(); + public void ScaleOff() + { ScaleOff_30(); } + + private native void SetHandleVisibility_31(int id0); + public void SetHandleVisibility(int id0) + { SetHandleVisibility_31(id0); } + + private native int GetHandleVisibility_32(); + public int GetHandleVisibility() + { return GetHandleVisibility_32(); } + + private native void HandleVisibilityOn_33(); + public void HandleVisibilityOn() + { HandleVisibilityOn_33(); } + + private native void HandleVisibilityOff_34(); + public void HandleVisibilityOff() + { HandleVisibilityOff_34(); } + + private native void SetHandleDirection_35(double id0,double id1,double id2); + public void SetHandleDirection(double id0,double id1,double id2) + { SetHandleDirection_35(id0,id1,id2); } + + private native void SetHandleDirection_36(double id0[]); + public void SetHandleDirection(double id0[]) + { SetHandleDirection_36(id0); } + + private native double[] GetHandleDirection_37(); + public double[] GetHandleDirection() + { return GetHandleDirection_37(); } + + private native double[] GetHandlePosition_38(); + public double[] GetHandlePosition() + { return GetHandlePosition_38(); } + + private native void GetPolyData_39(vtkPolyData id0); + public void GetPolyData(vtkPolyData id0) + { GetPolyData_39(id0); } + + private native void GetSphere_40(vtkSphere id0); + public void GetSphere(vtkSphere id0) + { GetSphere_40(id0); } + + private native long GetSphereProperty_41(); + public vtkProperty GetSphereProperty() { + long temp = GetSphereProperty_41(); + + if (temp == 0) return null; + return (vtkProperty)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native long GetSelectedSphereProperty_42(); + public vtkProperty GetSelectedSphereProperty() { + long temp = GetSelectedSphereProperty_42(); + + if (temp == 0) return null; + return (vtkProperty)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native long GetHandleProperty_43(); + public vtkProperty GetHandleProperty() { + long temp = GetHandleProperty_43(); + + if (temp == 0) return null; + return (vtkProperty)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native long GetSelectedHandleProperty_44(); + public vtkProperty GetSelectedHandleProperty() { + long temp = GetSelectedHandleProperty_44(); + + if (temp == 0) return null; + return (vtkProperty)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + public vtkSphereWidget() { super(); } + + public vtkSphereWidget(long id) { super(id); } + public native long VTKInit(); + +}