1 // java wrapper for vtkOpenGLContextDevice2D object
7 public class vtkOpenGLContextDevice2D extends vtkContextDevice2D
10 private native int IsTypeOf_0(String id0);
11 public int IsTypeOf(String id0)
12 { return IsTypeOf_0(id0); }
14 private native int IsA_1(String id0);
15 public int IsA(String id0)
16 { return IsA_1(id0); }
18 private native void SetMaximumMarkerCacheSize_2(int id0);
19 public void SetMaximumMarkerCacheSize(int id0)
20 { SetMaximumMarkerCacheSize_2(id0); }
22 private native int GetMaximumMarkerCacheSize_3();
23 public int GetMaximumMarkerCacheSize()
24 { return GetMaximumMarkerCacheSize_3(); }
26 private native void DrawEllipseWedge_4(double id0,double id1,double id2,double id3,double id4,double id5,double id6,double id7);
27 public void DrawEllipseWedge(double id0,double id1,double id2,double id3,double id4,double id5,double id6,double id7)
28 { DrawEllipseWedge_4(id0,id1,id2,id3,id4,id5,id6,id7); }
30 private native void DrawEllipticArc_5(double id0,double id1,double id2,double id3,double id4,double id5);
31 public void DrawEllipticArc(double id0,double id1,double id2,double id3,double id4,double id5)
32 { DrawEllipticArc_5(id0,id1,id2,id3,id4,id5); }
34 private native void ComputeStringBounds_6(String id0,double id1[]);
35 public void ComputeStringBounds(String id0,double id1[])
36 { ComputeStringBounds_6(id0,id1); }
38 private native void ComputeJustifiedStringBounds_7(String id0,double id1[]);
39 public void ComputeJustifiedStringBounds(String id0,double id1[])
40 { ComputeJustifiedStringBounds_7(id0,id1); }
42 private native void DrawMathTextString_8(double id0[],String id1);
43 public void DrawMathTextString(double id0[],String id1)
44 { DrawMathTextString_8(id0,id1); }
46 private native void DrawImage_9(double id0[],double id1,vtkImageData id2);
47 public void DrawImage(double id0[],double id1,vtkImageData id2)
48 { DrawImage_9(id0,id1,id2); }
50 private native void DrawPolyData_10(double id0[],double id1,vtkPolyData id2,vtkUnsignedCharArray id3,int id4);
51 public void DrawPolyData(double id0[],double id1,vtkPolyData id2,vtkUnsignedCharArray id3,int id4)
52 { DrawPolyData_10(id0,id1,id2,id3,id4); }
54 private native void SetTexture_11(vtkImageData id0,int id1);
55 public void SetTexture(vtkImageData id0,int id1)
56 { SetTexture_11(id0,id1); }
58 private native void SetPointSize_12(double id0);
59 public void SetPointSize(double id0)
60 { SetPointSize_12(id0); }
62 private native void SetLineWidth_13(double id0);
63 public void SetLineWidth(double id0)
64 { SetLineWidth_13(id0); }
66 private native void SetLineType_14(int id0);
67 public void SetLineType(int id0)
68 { SetLineType_14(id0); }
70 private native void MultiplyMatrix_15(vtkMatrix3x3 id0);
71 public void MultiplyMatrix(vtkMatrix3x3 id0)
72 { MultiplyMatrix_15(id0); }
74 private native void SetMatrix_16(vtkMatrix3x3 id0);
75 public void SetMatrix(vtkMatrix3x3 id0)
76 { SetMatrix_16(id0); }
78 private native void GetMatrix_17(vtkMatrix3x3 id0);
79 public void GetMatrix(vtkMatrix3x3 id0)
80 { GetMatrix_17(id0); }
82 private native void PushMatrix_18();
83 public void PushMatrix()
86 private native void PopMatrix_19();
87 public void PopMatrix()
90 private native void EnableClipping_20(boolean id0);
91 public void EnableClipping(boolean id0)
92 { EnableClipping_20(id0); }
94 private native void Begin_21(vtkViewport id0);
95 public void Begin(vtkViewport id0)
98 private native void End_22();
102 private native void BufferIdModeBegin_23(vtkAbstractContextBufferId id0);
103 public void BufferIdModeBegin(vtkAbstractContextBufferId id0)
104 { BufferIdModeBegin_23(id0); }
106 private native void BufferIdModeEnd_24();
107 public void BufferIdModeEnd()
108 { BufferIdModeEnd_24(); }
110 private native boolean SetStringRendererToFreeType_25();
111 public boolean SetStringRendererToFreeType()
112 { return SetStringRendererToFreeType_25(); }
114 private native boolean SetStringRendererToQt_26();
115 public boolean SetStringRendererToQt()
116 { return SetStringRendererToQt_26(); }
118 private native boolean HasGLSL_27();
119 public boolean HasGLSL()
120 { return HasGLSL_27(); }
122 private native long GetRenderWindow_28();
123 public vtkOpenGLRenderWindow GetRenderWindow() {
124 long temp = GetRenderWindow_28();
126 if (temp == 0) return null;
127 return (vtkOpenGLRenderWindow)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
130 private native void ReleaseGraphicsResources_29(vtkWindow id0);
131 public void ReleaseGraphicsResources(vtkWindow id0)
132 { ReleaseGraphicsResources_29(id0); }
134 private native long GetProjectionMatrix_30();
135 public vtkMatrix4x4 GetProjectionMatrix() {
136 long temp = GetProjectionMatrix_30();
138 if (temp == 0) return null;
139 return (vtkMatrix4x4)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
142 private native long GetModelMatrix_31();
143 public vtkMatrix4x4 GetModelMatrix() {
144 long temp = GetModelMatrix_31();
146 if (temp == 0) return null;
147 return (vtkMatrix4x4)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
150 public vtkOpenGLContextDevice2D() { super(); }
152 public vtkOpenGLContextDevice2D(long id) { super(id); }
153 public native long VTKInit();