X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=vtk%2Fsrc%2Fvtk%2FvtkContext2D.java;h=f179b66a9179e579796d9930402ca6be46c333f7;hb=0f1acf557db4515528bc452c037db0831fd34ecf;hp=532b7c83d758f12389ceddf8a1b05ecb1c937bac;hpb=471c46e9a685e20de958d77166461aebc7a7b6ee;p=simantics%2F3d.git diff --git a/vtk/src/vtk/vtkContext2D.java b/vtk/src/vtk/vtkContext2D.java index 532b7c83..f179b66a 100644 --- a/vtk/src/vtk/vtkContext2D.java +++ b/vtk/src/vtk/vtkContext2D.java @@ -1,211 +1,271 @@ -// java wrapper for vtkContext2D object -// - -package vtk; -import vtk.*; - -public class vtkContext2D 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 boolean Begin_2(vtkContextDevice2D id0); - public boolean Begin(vtkContextDevice2D id0) - { return Begin_2(id0); } - - private native long GetDevice_3(); - public vtkContextDevice2D GetDevice() { - long temp = GetDevice_3(); - - if (temp == 0) return null; - return (vtkContextDevice2D)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native boolean End_4(); - public boolean End() - { return End_4(); } - - private native boolean GetBufferIdMode_5(); - public boolean GetBufferIdMode() - { return GetBufferIdMode_5(); } - - private native void BufferIdModeEnd_6(); - public void BufferIdModeEnd() - { BufferIdModeEnd_6(); } - - private native void DrawLine_7(double id0,double id1,double id2,double id3); - public void DrawLine(double id0,double id1,double id2,double id3) - { DrawLine_7(id0,id1,id2,id3); } - - private native void DrawLine_8(double id0[]); - public void DrawLine(double id0[]) - { DrawLine_8(id0); } - - private native void DrawLine_9(vtkPoints2D id0); - public void DrawLine(vtkPoints2D id0) - { DrawLine_9(id0); } - - private native void DrawPoly_10(vtkPoints2D id0); - public void DrawPoly(vtkPoints2D id0) - { DrawPoly_10(id0); } - - private native void DrawPoint_11(double id0,double id1); - public void DrawPoint(double id0,double id1) - { DrawPoint_11(id0,id1); } - - private native void DrawPoints_12(vtkPoints2D id0); - public void DrawPoints(vtkPoints2D id0) - { DrawPoints_12(id0); } - - private native void DrawPointSprites_13(vtkImageData id0,vtkPoints2D id1); - public void DrawPointSprites(vtkImageData id0,vtkPoints2D id1) - { DrawPointSprites_13(id0,id1); } - - private native void DrawPointSprites_14(vtkImageData id0,vtkPoints2D id1,vtkUnsignedCharArray id2); - public void DrawPointSprites(vtkImageData id0,vtkPoints2D id1,vtkUnsignedCharArray id2) - { DrawPointSprites_14(id0,id1,id2); } - - private native void DrawRect_15(double id0,double id1,double id2,double id3); - public void DrawRect(double id0,double id1,double id2,double id3) - { DrawRect_15(id0,id1,id2,id3); } - - private native void DrawQuad_16(double id0,double id1,double id2,double id3,double id4,double id5,double id6,double id7); - public void DrawQuad(double id0,double id1,double id2,double id3,double id4,double id5,double id6,double id7) - { DrawQuad_16(id0,id1,id2,id3,id4,id5,id6,id7); } - - private native void DrawQuadStrip_17(vtkPoints2D id0); - public void DrawQuadStrip(vtkPoints2D id0) - { DrawQuadStrip_17(id0); } - - private native void DrawPolygon_18(vtkPoints2D id0); - public void DrawPolygon(vtkPoints2D id0) - { DrawPolygon_18(id0); } - - private native void DrawEllipse_19(double id0,double id1,double id2,double id3); - public void DrawEllipse(double id0,double id1,double id2,double id3) - { DrawEllipse_19(id0,id1,id2,id3); } - - private native void DrawWedge_20(double id0,double id1,double id2,double id3,double id4,double id5); - public void DrawWedge(double id0,double id1,double id2,double id3,double id4,double id5) - { DrawWedge_20(id0,id1,id2,id3,id4,id5); } - - private native void DrawEllipseWedge_21(double id0,double id1,double id2,double id3,double id4,double id5,double id6,double id7); - public void DrawEllipseWedge(double id0,double id1,double id2,double id3,double id4,double id5,double id6,double id7) - { DrawEllipseWedge_21(id0,id1,id2,id3,id4,id5,id6,id7); } - - private native void DrawArc_22(double id0,double id1,double id2,double id3,double id4); - public void DrawArc(double id0,double id1,double id2,double id3,double id4) - { DrawArc_22(id0,id1,id2,id3,id4); } - - private native void DrawEllipticArc_23(double id0,double id1,double id2,double id3,double id4,double id5); - public void DrawEllipticArc(double id0,double id1,double id2,double id3,double id4,double id5) - { DrawEllipticArc_23(id0,id1,id2,id3,id4,id5); } - - private native void DrawImage_24(double id0,double id1,vtkImageData id2); - public void DrawImage(double id0,double id1,vtkImageData id2) - { DrawImage_24(id0,id1,id2); } - - private native void DrawImage_25(double id0,double id1,double id2,vtkImageData id3); - public void DrawImage(double id0,double id1,double id2,vtkImageData id3) - { DrawImage_25(id0,id1,id2,id3); } - - private native void DrawStringRect_26(vtkPoints2D id0,String id1); - public void DrawStringRect(vtkPoints2D id0,String id1) - { DrawStringRect_26(id0,id1); } - - private native void DrawString_27(vtkPoints2D id0,String id1); - public void DrawString(vtkPoints2D id0,String id1) - { DrawString_27(id0,id1); } - - private native void DrawString_28(double id0,double id1,String id2); - public void DrawString(double id0,double id1,String id2) - { DrawString_28(id0,id1,id2); } - - private native void ComputeStringBounds_29(String id0,vtkPoints2D id1); - public void ComputeStringBounds(String id0,vtkPoints2D id1) - { ComputeStringBounds_29(id0,id1); } - - private native void ComputeStringBounds_30(String id0,double id1[]); - public void ComputeStringBounds(String id0,double id1[]) - { ComputeStringBounds_30(id0,id1); } - - private native void ApplyPen_31(vtkPen id0); - public void ApplyPen(vtkPen id0) - { ApplyPen_31(id0); } - - private native long GetPen_32(); - public vtkPen GetPen() { - long temp = GetPen_32(); - - if (temp == 0) return null; - return (vtkPen)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native void ApplyBrush_33(vtkBrush id0); - public void ApplyBrush(vtkBrush id0) - { ApplyBrush_33(id0); } - - private native long GetBrush_34(); - public vtkBrush GetBrush() { - long temp = GetBrush_34(); - - if (temp == 0) return null; - return (vtkBrush)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native void ApplyTextProp_35(vtkTextProperty id0); - public void ApplyTextProp(vtkTextProperty id0) - { ApplyTextProp_35(id0); } - - private native long GetTextProp_36(); - public vtkTextProperty GetTextProp() { - long temp = GetTextProp_36(); - - if (temp == 0) return null; - return (vtkTextProperty)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native void SetTransform_37(vtkTransform2D id0); - public void SetTransform(vtkTransform2D id0) - { SetTransform_37(id0); } - - private native long GetTransform_38(); - public vtkTransform2D GetTransform() { - long temp = GetTransform_38(); - - if (temp == 0) return null; - return (vtkTransform2D)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native void AppendTransform_39(vtkTransform2D id0); - public void AppendTransform(vtkTransform2D id0) - { AppendTransform_39(id0); } - - private native void PushMatrix_40(); - public void PushMatrix() - { PushMatrix_40(); } - - private native void PopMatrix_41(); - public void PopMatrix() - { PopMatrix_41(); } - - private native void ApplyId_42(int id0); - public void ApplyId(int id0) - { ApplyId_42(id0); } - - private native int FloatToInt_43(double id0); - public int FloatToInt(double id0) - { return FloatToInt_43(id0); } - - public vtkContext2D() { super(); } - - public vtkContext2D(long id) { super(id); } - public native long VTKInit(); - -} +// java wrapper for vtkContext2D object +// + +package vtk; +import vtk.*; + +public class vtkContext2D 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 boolean Begin_2(vtkContextDevice2D id0); + public boolean Begin(vtkContextDevice2D id0) + { return Begin_2(id0); } + + private native long GetDevice_3(); + public vtkContextDevice2D GetDevice() { + long temp = GetDevice_3(); + + if (temp == 0) return null; + return (vtkContextDevice2D)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native boolean End_4(); + public boolean End() + { return End_4(); } + + private native boolean GetBufferIdMode_5(); + public boolean GetBufferIdMode() + { return GetBufferIdMode_5(); } + + private native void BufferIdModeBegin_6(vtkAbstractContextBufferId id0); + public void BufferIdModeBegin(vtkAbstractContextBufferId id0) + { BufferIdModeBegin_6(id0); } + + private native void BufferIdModeEnd_7(); + public void BufferIdModeEnd() + { BufferIdModeEnd_7(); } + + private native void DrawLine_8(double id0,double id1,double id2,double id3); + public void DrawLine(double id0,double id1,double id2,double id3) + { DrawLine_8(id0,id1,id2,id3); } + + private native void DrawLine_9(double id0[]); + public void DrawLine(double id0[]) + { DrawLine_9(id0); } + + private native void DrawLine_10(vtkPoints2D id0); + public void DrawLine(vtkPoints2D id0) + { DrawLine_10(id0); } + + private native void DrawPoly_11(vtkPoints2D id0); + public void DrawPoly(vtkPoints2D id0) + { DrawPoly_11(id0); } + + private native void DrawLines_12(vtkPoints2D id0); + public void DrawLines(vtkPoints2D id0) + { DrawLines_12(id0); } + + private native void DrawPoint_13(double id0,double id1); + public void DrawPoint(double id0,double id1) + { DrawPoint_13(id0,id1); } + + private native void DrawPoints_14(vtkPoints2D id0); + public void DrawPoints(vtkPoints2D id0) + { DrawPoints_14(id0); } + + private native void DrawPointSprites_15(vtkImageData id0,vtkPoints2D id1); + public void DrawPointSprites(vtkImageData id0,vtkPoints2D id1) + { DrawPointSprites_15(id0,id1); } + + private native void DrawPointSprites_16(vtkImageData id0,vtkPoints2D id1,vtkUnsignedCharArray id2); + public void DrawPointSprites(vtkImageData id0,vtkPoints2D id1,vtkUnsignedCharArray id2) + { DrawPointSprites_16(id0,id1,id2); } + + private native void DrawMarkers_17(int id0,boolean id1,vtkPoints2D id2); + public void DrawMarkers(int id0,boolean id1,vtkPoints2D id2) + { DrawMarkers_17(id0,id1,id2); } + + private native void DrawMarkers_18(int id0,boolean id1,vtkPoints2D id2,vtkUnsignedCharArray id3); + public void DrawMarkers(int id0,boolean id1,vtkPoints2D id2,vtkUnsignedCharArray id3) + { DrawMarkers_18(id0,id1,id2,id3); } + + private native void DrawRect_19(double id0,double id1,double id2,double id3); + public void DrawRect(double id0,double id1,double id2,double id3) + { DrawRect_19(id0,id1,id2,id3); } + + private native void DrawQuad_20(double id0,double id1,double id2,double id3,double id4,double id5,double id6,double id7); + public void DrawQuad(double id0,double id1,double id2,double id3,double id4,double id5,double id6,double id7) + { DrawQuad_20(id0,id1,id2,id3,id4,id5,id6,id7); } + + private native void DrawQuadStrip_21(vtkPoints2D id0); + public void DrawQuadStrip(vtkPoints2D id0) + { DrawQuadStrip_21(id0); } + + private native void DrawPolygon_22(vtkPoints2D id0); + public void DrawPolygon(vtkPoints2D id0) + { DrawPolygon_22(id0); } + + private native void DrawEllipse_23(double id0,double id1,double id2,double id3); + public void DrawEllipse(double id0,double id1,double id2,double id3) + { DrawEllipse_23(id0,id1,id2,id3); } + + private native void DrawWedge_24(double id0,double id1,double id2,double id3,double id4,double id5); + public void DrawWedge(double id0,double id1,double id2,double id3,double id4,double id5) + { DrawWedge_24(id0,id1,id2,id3,id4,id5); } + + private native void DrawEllipseWedge_25(double id0,double id1,double id2,double id3,double id4,double id5,double id6,double id7); + public void DrawEllipseWedge(double id0,double id1,double id2,double id3,double id4,double id5,double id6,double id7) + { DrawEllipseWedge_25(id0,id1,id2,id3,id4,id5,id6,id7); } + + private native void DrawArc_26(double id0,double id1,double id2,double id3,double id4); + public void DrawArc(double id0,double id1,double id2,double id3,double id4) + { DrawArc_26(id0,id1,id2,id3,id4); } + + private native void DrawEllipticArc_27(double id0,double id1,double id2,double id3,double id4,double id5); + public void DrawEllipticArc(double id0,double id1,double id2,double id3,double id4,double id5) + { DrawEllipticArc_27(id0,id1,id2,id3,id4,id5); } + + private native void DrawImage_28(double id0,double id1,vtkImageData id2); + public void DrawImage(double id0,double id1,vtkImageData id2) + { DrawImage_28(id0,id1,id2); } + + private native void DrawImage_29(double id0,double id1,double id2,vtkImageData id3); + public void DrawImage(double id0,double id1,double id2,vtkImageData id3) + { DrawImage_29(id0,id1,id2,id3); } + + private native void DrawPolyData_30(double id0,double id1,vtkPolyData id2,vtkUnsignedCharArray id3,int id4); + public void DrawPolyData(double id0,double id1,vtkPolyData id2,vtkUnsignedCharArray id3,int id4) + { DrawPolyData_30(id0,id1,id2,id3,id4); } + + private native void DrawStringRect_31(vtkPoints2D id0,String id1); + public void DrawStringRect(vtkPoints2D id0,String id1) + { DrawStringRect_31(id0,id1); } + + private native void DrawString_32(vtkPoints2D id0,String id1); + public void DrawString(vtkPoints2D id0,String id1) + { DrawString_32(id0,id1); } + + private native void DrawString_33(double id0,double id1,String id2); + public void DrawString(double id0,double id1,String id2) + { DrawString_33(id0,id1,id2); } + + private native void ComputeStringBounds_34(String id0,vtkPoints2D id1); + public void ComputeStringBounds(String id0,vtkPoints2D id1) + { ComputeStringBounds_34(id0,id1); } + + private native void ComputeStringBounds_35(String id0,double id1[]); + public void ComputeStringBounds(String id0,double id1[]) + { ComputeStringBounds_35(id0,id1); } + + private native void ComputeJustifiedStringBounds_36(String id0,double id1[]); + public void ComputeJustifiedStringBounds(String id0,double id1[]) + { ComputeJustifiedStringBounds_36(id0,id1); } + + private native int ComputeFontSizeForBoundedString_37(String id0,double id1,double id2); + public int ComputeFontSizeForBoundedString(String id0,double id1,double id2) + { return ComputeFontSizeForBoundedString_37(id0,id1,id2); } + + private native void DrawMathTextString_38(vtkPoints2D id0,String id1); + public void DrawMathTextString(vtkPoints2D id0,String id1) + { DrawMathTextString_38(id0,id1); } + + private native void DrawMathTextString_39(double id0,double id1,String id2); + public void DrawMathTextString(double id0,double id1,String id2) + { DrawMathTextString_39(id0,id1,id2); } + + private native void DrawMathTextString_40(vtkPoints2D id0,String id1,String id2); + public void DrawMathTextString(vtkPoints2D id0,String id1,String id2) + { DrawMathTextString_40(id0,id1,id2); } + + private native void DrawMathTextString_41(double id0,double id1,String id2,String id3); + public void DrawMathTextString(double id0,double id1,String id2,String id3) + { DrawMathTextString_41(id0,id1,id2,id3); } + + private native boolean MathTextIsSupported_42(); + public boolean MathTextIsSupported() + { return MathTextIsSupported_42(); } + + private native void ApplyPen_43(vtkPen id0); + public void ApplyPen(vtkPen id0) + { ApplyPen_43(id0); } + + private native long GetPen_44(); + public vtkPen GetPen() { + long temp = GetPen_44(); + + if (temp == 0) return null; + return (vtkPen)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native void ApplyBrush_45(vtkBrush id0); + public void ApplyBrush(vtkBrush id0) + { ApplyBrush_45(id0); } + + private native long GetBrush_46(); + public vtkBrush GetBrush() { + long temp = GetBrush_46(); + + if (temp == 0) return null; + return (vtkBrush)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native void ApplyTextProp_47(vtkTextProperty id0); + public void ApplyTextProp(vtkTextProperty id0) + { ApplyTextProp_47(id0); } + + private native long GetTextProp_48(); + public vtkTextProperty GetTextProp() { + long temp = GetTextProp_48(); + + if (temp == 0) return null; + return (vtkTextProperty)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native void SetTransform_49(vtkTransform2D id0); + public void SetTransform(vtkTransform2D id0) + { SetTransform_49(id0); } + + private native long GetTransform_50(); + public vtkTransform2D GetTransform() { + long temp = GetTransform_50(); + + if (temp == 0) return null; + return (vtkTransform2D)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native void AppendTransform_51(vtkTransform2D id0); + public void AppendTransform(vtkTransform2D id0) + { AppendTransform_51(id0); } + + private native void PushMatrix_52(); + public void PushMatrix() + { PushMatrix_52(); } + + private native void PopMatrix_53(); + public void PopMatrix() + { PopMatrix_53(); } + + private native void ApplyId_54(int id0); + public void ApplyId(int id0) + { ApplyId_54(id0); } + + private native int FloatToInt_55(double id0); + public int FloatToInt(double id0) + { return FloatToInt_55(id0); } + + private native long GetContext3D_56(); + public vtkContext3D GetContext3D() { + long temp = GetContext3D_56(); + + if (temp == 0) return null; + return (vtkContext3D)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native void SetContext3D_57(vtkContext3D id0); + public void SetContext3D(vtkContext3D id0) + { SetContext3D_57(id0); } + + public vtkContext2D() { super(); } + + public vtkContext2D(long id) { super(id); } + public native long VTKInit(); + +}