]> gerrit.simantics Code Review - simantics/3d.git/blob - vtk/src/vtk/vtkFrameBufferObject.java
Mesh API to use Tuple3d instead of Vector3d
[simantics/3d.git] / vtk / src / vtk / vtkFrameBufferObject.java
1 // java wrapper for vtkFrameBufferObject object\r
2 //\r
3 \r
4 package vtk;\r
5 import vtk.*;\r
6 \r
7 public class vtkFrameBufferObject extends vtkObject\r
8 {\r
9 \r
10   private native String GetClassName_0();\r
11   public String GetClassName()\r
12     { return GetClassName_0(); }\r
13 \r
14   private native int IsA_1(String id0);\r
15   public int IsA(String id0)\r
16     { return IsA_1(id0); }\r
17 \r
18   private native void SetContext_2(vtkRenderWindow id0);\r
19   public void SetContext(vtkRenderWindow id0)\r
20     { SetContext_2(id0); }\r
21 \r
22   private native long GetContext_3();\r
23   public vtkRenderWindow GetContext() {\r
24     long temp = GetContext_3();\r
25 \r
26     if (temp == 0) return null;\r
27     return (vtkRenderWindow)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp);\r
28   }\r
29 \r
30   private native boolean Start_4(int id0,int id1,boolean id2);\r
31   public boolean Start(int id0,int id1,boolean id2)\r
32     { return Start_4(id0,id1,id2); }\r
33 \r
34   private native boolean StartNonOrtho_5(int id0,int id1,boolean id2);\r
35   public boolean StartNonOrtho(int id0,int id1,boolean id2)\r
36     { return StartNonOrtho_5(id0,id1,id2); }\r
37 \r
38   private native void RenderQuad_6(int id0,int id1,int id2,int id3);\r
39   public void RenderQuad(int id0,int id1,int id2,int id3)\r
40     { RenderQuad_6(id0,id1,id2,id3); }\r
41 \r
42   private native void Bind_7();\r
43   public void Bind()\r
44     { Bind_7(); }\r
45 \r
46   private native void UnBind_8();\r
47   public void UnBind()\r
48     { UnBind_8(); }\r
49 \r
50   private native void SetActiveBuffer_9(int id0);\r
51   public void SetActiveBuffer(int id0)\r
52     { SetActiveBuffer_9(id0); }\r
53 \r
54   private native void SetColorBuffer_10(int id0,vtkTextureObject id1,int id2);\r
55   public void SetColorBuffer(int id0,vtkTextureObject id1,int id2)\r
56     { SetColorBuffer_10(id0,id1,id2); }\r
57 \r
58   private native long GetColorBuffer_11(int id0);\r
59   public vtkTextureObject GetColorBuffer(int id0) {\r
60     long temp = GetColorBuffer_11(id0);\r
61 \r
62     if (temp == 0) return null;\r
63     return (vtkTextureObject)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp);\r
64   }\r
65 \r
66   private native void RemoveColorBuffer_12(int id0);\r
67   public void RemoveColorBuffer(int id0)\r
68     { RemoveColorBuffer_12(id0); }\r
69 \r
70   private native void RemoveAllColorBuffers_13();\r
71   public void RemoveAllColorBuffers()\r
72     { RemoveAllColorBuffers_13(); }\r
73 \r
74   private native void SetDepthBuffer_14(vtkTextureObject id0);\r
75   public void SetDepthBuffer(vtkTextureObject id0)\r
76     { SetDepthBuffer_14(id0); }\r
77 \r
78   private native void RemoveDepthBuffer_15();\r
79   public void RemoveDepthBuffer()\r
80     { RemoveDepthBuffer_15(); }\r
81 \r
82   private native void SetDepthBufferNeeded_16(boolean id0);\r
83   public void SetDepthBufferNeeded(boolean id0)\r
84     { SetDepthBufferNeeded_16(id0); }\r
85 \r
86   private native boolean GetDepthBufferNeeded_17();\r
87   public boolean GetDepthBufferNeeded()\r
88     { return GetDepthBufferNeeded_17(); }\r
89 \r
90   private native void SetNumberOfRenderTargets_18(int id0);\r
91   public void SetNumberOfRenderTargets(int id0)\r
92     { SetNumberOfRenderTargets_18(id0); }\r
93 \r
94   private native int GetNumberOfRenderTargets_19();\r
95   public int GetNumberOfRenderTargets()\r
96     { return GetNumberOfRenderTargets_19(); }\r
97 \r
98   private native int GetMaximumNumberOfActiveTargets_20();\r
99   public int GetMaximumNumberOfActiveTargets()\r
100     { return GetMaximumNumberOfActiveTargets_20(); }\r
101 \r
102   private native int GetMaximumNumberOfRenderTargets_21();\r
103   public int GetMaximumNumberOfRenderTargets()\r
104     { return GetMaximumNumberOfRenderTargets_21(); }\r
105 \r
106   private native int[]  GetLastSize_22();\r
107   public int[]  GetLastSize()\r
108     { return GetLastSize_22(); }\r
109 \r
110   private native boolean IsSupported_23(vtkRenderWindow id0);\r
111   public boolean IsSupported(vtkRenderWindow id0)\r
112     { return IsSupported_23(id0); }\r
113 \r
114   public vtkFrameBufferObject() { super(); }\r
115 \r
116   public vtkFrameBufferObject(long id) { super(id); }\r
117   public native long   VTKInit();\r
118 \r
119 }\r