X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=vtk%2Fsrc%2Fvtk%2FvtkScalarsToColors.java;h=7a9cb184c56ceda1f8135961c41cf988e788a4d2;hb=3523a218827de60e1aa4ce7be126342418ddb054;hp=c163b2147871c53abd91fe9a8cd1f67e2a854ccd;hpb=471c46e9a685e20de958d77166461aebc7a7b6ee;p=simantics%2F3d.git diff --git a/vtk/src/vtk/vtkScalarsToColors.java b/vtk/src/vtk/vtkScalarsToColors.java index c163b214..7a9cb184 100644 --- a/vtk/src/vtk/vtkScalarsToColors.java +++ b/vtk/src/vtk/vtkScalarsToColors.java @@ -1,130 +1,187 @@ -// java wrapper for vtkScalarsToColors object -// - -package vtk; -import vtk.*; - -public class vtkScalarsToColors extends vtkObject -{ - - 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 int IsOpaque_2(); - public int IsOpaque() - { return IsOpaque_2(); } - - private native void Build_3(); - public void Build() - { Build_3(); } - - private native double[] GetRange_4(); - public double[] GetRange() - { return GetRange_4(); } - - private native void SetRange_5(double id0,double id1); - public void SetRange(double id0,double id1) - { SetRange_5(id0,id1); } - - private native void SetRange_6(double id0[]); - public void SetRange(double id0[]) - { SetRange_6(id0); } - - private native void GetColor_7(double id0,double id1[]); - public void GetColor(double id0,double id1[]) - { GetColor_7(id0,id1); } - - private native double[] GetColor_8(double id0); - public double[] GetColor(double id0) - { return GetColor_8(id0); } - - private native double GetOpacity_9(double id0); - public double GetOpacity(double id0) - { return GetOpacity_9(id0); } - - private native double GetLuminance_10(double id0); - public double GetLuminance(double id0) - { return GetLuminance_10(id0); } - - private native void SetAlpha_11(double id0); - public void SetAlpha(double id0) - { SetAlpha_11(id0); } - - private native double GetAlpha_12(); - public double GetAlpha() - { return GetAlpha_12(); } - - private native long MapScalars_13(vtkDataArray id0,int id1,int id2); - public vtkUnsignedCharArray MapScalars(vtkDataArray id0,int id1,int id2) { - long temp = MapScalars_13(id0,id1,id2); - - if (temp == 0) return null; - return (vtkUnsignedCharArray)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native void SetVectorMode_14(int id0); - public void SetVectorMode(int id0) - { SetVectorMode_14(id0); } - - private native int GetVectorMode_15(); - public int GetVectorMode() - { return GetVectorMode_15(); } - - private native void SetVectorModeToMagnitude_16(); - public void SetVectorModeToMagnitude() - { SetVectorModeToMagnitude_16(); } - - private native void SetVectorModeToComponent_17(); - public void SetVectorModeToComponent() - { SetVectorModeToComponent_17(); } - - private native void SetVectorModeToRGBColors_18(); - public void SetVectorModeToRGBColors() - { SetVectorModeToRGBColors_18(); } - - private native void SetVectorComponent_19(int id0); - public void SetVectorComponent(int id0) - { SetVectorComponent_19(id0); } - - private native int GetVectorComponent_20(); - public int GetVectorComponent() - { return GetVectorComponent_20(); } - - private native void SetVectorSize_21(int id0); - public void SetVectorSize(int id0) - { SetVectorSize_21(id0); } - - private native int GetVectorSize_22(); - public int GetVectorSize() - { return GetVectorSize_22(); } - - private native long ConvertUnsignedCharToRGBA_23(vtkUnsignedCharArray id0,int id1,int id2); - public vtkUnsignedCharArray ConvertUnsignedCharToRGBA(vtkUnsignedCharArray id0,int id1,int id2) { - long temp = ConvertUnsignedCharToRGBA_23(id0,id1,id2); - - if (temp == 0) return null; - return (vtkUnsignedCharArray)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native void DeepCopy_24(vtkScalarsToColors id0); - public void DeepCopy(vtkScalarsToColors id0) - { DeepCopy_24(id0); } - - private native int UsingLogScale_25(); - public int UsingLogScale() - { return UsingLogScale_25(); } - - private native int GetNumberOfAvailableColors_26(); - public int GetNumberOfAvailableColors() - { return GetNumberOfAvailableColors_26(); } - - public vtkScalarsToColors() { super(); } - - public vtkScalarsToColors(long id) { super(id); } - -} +// java wrapper for vtkScalarsToColors object +// + +package vtk; +import vtk.*; + +public class vtkScalarsToColors extends vtkObject +{ + + 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 int IsOpaque_2(); + public int IsOpaque() + { return IsOpaque_2(); } + + private native void Build_3(); + public void Build() + { Build_3(); } + + private native double[] GetRange_4(); + public double[] GetRange() + { return GetRange_4(); } + + private native void SetRange_5(double id0,double id1); + public void SetRange(double id0,double id1) + { SetRange_5(id0,id1); } + + private native void SetRange_6(double id0[]); + public void SetRange(double id0[]) + { SetRange_6(id0); } + + private native void GetColor_7(double id0,double id1[]); + public void GetColor(double id0,double id1[]) + { GetColor_7(id0,id1); } + + private native double[] GetColor_8(double id0); + public double[] GetColor(double id0) + { return GetColor_8(id0); } + + private native double GetOpacity_9(double id0); + public double GetOpacity(double id0) + { return GetOpacity_9(id0); } + + private native double GetLuminance_10(double id0); + public double GetLuminance(double id0) + { return GetLuminance_10(id0); } + + private native void SetAlpha_11(double id0); + public void SetAlpha(double id0) + { SetAlpha_11(id0); } + + private native double GetAlpha_12(); + public double GetAlpha() + { return GetAlpha_12(); } + + private native long MapScalars_13(vtkDataArray id0,int id1,int id2); + public vtkUnsignedCharArray MapScalars(vtkDataArray id0,int id1,int id2) { + long temp = MapScalars_13(id0,id1,id2); + + if (temp == 0) return null; + return (vtkUnsignedCharArray)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native long MapScalars_14(vtkAbstractArray id0,int id1,int id2); + public vtkUnsignedCharArray MapScalars(vtkAbstractArray id0,int id1,int id2) { + long temp = MapScalars_14(id0,id1,id2); + + if (temp == 0) return null; + return (vtkUnsignedCharArray)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native void SetVectorMode_15(int id0); + public void SetVectorMode(int id0) + { SetVectorMode_15(id0); } + + private native int GetVectorMode_16(); + public int GetVectorMode() + { return GetVectorMode_16(); } + + private native void SetVectorModeToMagnitude_17(); + public void SetVectorModeToMagnitude() + { SetVectorModeToMagnitude_17(); } + + private native void SetVectorModeToComponent_18(); + public void SetVectorModeToComponent() + { SetVectorModeToComponent_18(); } + + private native void SetVectorModeToRGBColors_19(); + public void SetVectorModeToRGBColors() + { SetVectorModeToRGBColors_19(); } + + private native void SetVectorComponent_20(int id0); + public void SetVectorComponent(int id0) + { SetVectorComponent_20(id0); } + + private native int GetVectorComponent_21(); + public int GetVectorComponent() + { return GetVectorComponent_21(); } + + private native void SetVectorSize_22(int id0); + public void SetVectorSize(int id0) + { SetVectorSize_22(id0); } + + private native int GetVectorSize_23(); + public int GetVectorSize() + { return GetVectorSize_23(); } + + private native void DeepCopy_24(vtkScalarsToColors id0); + public void DeepCopy(vtkScalarsToColors id0) + { DeepCopy_24(id0); } + + private native int UsingLogScale_25(); + public int UsingLogScale() + { return UsingLogScale_25(); } + + private native int GetNumberOfAvailableColors_26(); + public int GetNumberOfAvailableColors() + { return GetNumberOfAvailableColors_26(); } + + private native void SetAnnotations_27(vtkAbstractArray id0,vtkStringArray id1); + public void SetAnnotations(vtkAbstractArray id0,vtkStringArray id1) + { SetAnnotations_27(id0,id1); } + + private native long GetAnnotatedValues_28(); + public vtkAbstractArray GetAnnotatedValues() { + long temp = GetAnnotatedValues_28(); + + if (temp == 0) return null; + return (vtkAbstractArray)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native long GetAnnotations_29(); + public vtkStringArray GetAnnotations() { + long temp = GetAnnotations_29(); + + if (temp == 0) return null; + return (vtkStringArray)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native int SetAnnotation_30(String id0,String id1); + public int SetAnnotation(String id0,String id1) + { return SetAnnotation_30(id0,id1); } + + private native int GetNumberOfAnnotatedValues_31(); + public int GetNumberOfAnnotatedValues() + { return GetNumberOfAnnotatedValues_31(); } + + private native String GetAnnotation_32(int id0); + public String GetAnnotation(int id0) + { return GetAnnotation_32(id0); } + + private native void GetIndexedColor_33(int id0,double id1[]); + public void GetIndexedColor(int id0,double id1[]) + { GetIndexedColor_33(id0,id1); } + + private native void ResetAnnotations_34(); + public void ResetAnnotations() + { ResetAnnotations_34(); } + + private native void SetIndexedLookup_35(int id0); + public void SetIndexedLookup(int id0) + { SetIndexedLookup_35(id0); } + + private native int GetIndexedLookup_36(); + public int GetIndexedLookup() + { return GetIndexedLookup_36(); } + + private native void IndexedLookupOn_37(); + public void IndexedLookupOn() + { IndexedLookupOn_37(); } + + private native void IndexedLookupOff_38(); + public void IndexedLookupOff() + { IndexedLookupOff_38(); } + + public vtkScalarsToColors() { super(); } + + public vtkScalarsToColors(long id) { super(id); } + public native long VTKInit(); + +}