X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=vtk%2Fsrc%2Fvtk%2FvtkContextScene.java;h=d3106aa21d97e0073d275775adbc4b58b627eb79;hb=3523a218827de60e1aa4ce7be126342418ddb054;hp=c966dc299a38dfbded859f3d39871e9477378c65;hpb=471c46e9a685e20de958d77166461aebc7a7b6ee;p=simantics%2F3d.git diff --git a/vtk/src/vtk/vtkContextScene.java b/vtk/src/vtk/vtkContextScene.java index c966dc29..d3106aa2 100644 --- a/vtk/src/vtk/vtkContextScene.java +++ b/vtk/src/vtk/vtkContextScene.java @@ -1,151 +1,167 @@ -// java wrapper for vtkContextScene object -// - -package vtk; -import vtk.*; - -public class vtkContextScene 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 Paint_2(vtkContext2D id0); - public boolean Paint(vtkContext2D id0) - { return Paint_2(id0); } - - private native int AddItem_3(vtkAbstractContextItem id0); - public int AddItem(vtkAbstractContextItem id0) - { return AddItem_3(id0); } - - private native boolean RemoveItem_4(vtkAbstractContextItem id0); - public boolean RemoveItem(vtkAbstractContextItem id0) - { return RemoveItem_4(id0); } - - private native boolean RemoveItem_5(int id0); - public boolean RemoveItem(int id0) - { return RemoveItem_5(id0); } - - private native long GetItem_6(int id0); - public vtkAbstractContextItem GetItem(int id0) { - long temp = GetItem_6(id0); - - if (temp == 0) return null; - return (vtkAbstractContextItem)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native int GetNumberOfItems_7(); - public int GetNumberOfItems() - { return GetNumberOfItems_7(); } - - private native void ClearItems_8(); - public void ClearItems() - { ClearItems_8(); } - - private native void SetAnnotationLink_9(vtkAnnotationLink id0); - public void SetAnnotationLink(vtkAnnotationLink id0) - { SetAnnotationLink_9(id0); } - - private native long GetAnnotationLink_10(); - public vtkAnnotationLink GetAnnotationLink() { - long temp = GetAnnotationLink_10(); - - if (temp == 0) return null; - return (vtkAnnotationLink)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native void SetGeometry_11(int id0,int id1); - public void SetGeometry(int id0,int id1) - { SetGeometry_11(id0,id1); } - - private native void SetGeometry_12(int id0[]); - public void SetGeometry(int id0[]) - { SetGeometry_12(id0); } - - private native int[] GetGeometry_13(); - public int[] GetGeometry() - { return GetGeometry_13(); } - - private native void SetUseBufferId_14(boolean id0); - public void SetUseBufferId(boolean id0) - { SetUseBufferId_14(id0); } - - private native boolean GetUseBufferId_15(); - public boolean GetUseBufferId() - { return GetUseBufferId_15(); } - - private native int GetViewWidth_16(); - public int GetViewWidth() - { return GetViewWidth_16(); } - - private native int GetViewHeight_17(); - public int GetViewHeight() - { return GetViewHeight_17(); } - - private native int GetSceneWidth_18(); - public int GetSceneWidth() - { return GetSceneWidth_18(); } - - private native int GetSceneHeight_19(); - public int GetSceneHeight() - { return GetSceneHeight_19(); } - - private native void SetScaleTiles_20(boolean id0); - public void SetScaleTiles(boolean id0) - { SetScaleTiles_20(id0); } - - private native boolean GetScaleTiles_21(); - public boolean GetScaleTiles() - { return GetScaleTiles_21(); } - - private native void ScaleTilesOn_22(); - public void ScaleTilesOn() - { ScaleTilesOn_22(); } - - private native void ScaleTilesOff_23(); - public void ScaleTilesOff() - { ScaleTilesOff_23(); } - - private native void SetRenderer_24(vtkRenderer id0); - public void SetRenderer(vtkRenderer id0) - { SetRenderer_24(id0); } - - private native void SetDirty_25(boolean id0); - public void SetDirty(boolean id0) - { SetDirty_25(id0); } - - private native boolean GetDirty_26(); - public boolean GetDirty() - { return GetDirty_26(); } - - private native void ReleaseGraphicsResources_27(); - public void ReleaseGraphicsResources() - { ReleaseGraphicsResources_27(); } - - private native void SetTransform_28(vtkTransform2D id0); - public void SetTransform(vtkTransform2D id0) - { SetTransform_28(id0); } - - private native long GetTransform_29(); - public vtkTransform2D GetTransform() { - long temp = GetTransform_29(); - - if (temp == 0) return null; - return (vtkTransform2D)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native boolean HasTransform_30(); - public boolean HasTransform() - { return HasTransform_30(); } - - public vtkContextScene() { super(); } - - public vtkContextScene(long id) { super(id); } - public native long VTKInit(); - -} +// java wrapper for vtkContextScene object +// + +package vtk; +import vtk.*; + +public class vtkContextScene 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 Paint_2(vtkContext2D id0); + public boolean Paint(vtkContext2D id0) + { return Paint_2(id0); } + + private native int AddItem_3(vtkAbstractContextItem id0); + public int AddItem(vtkAbstractContextItem id0) + { return AddItem_3(id0); } + + private native boolean RemoveItem_4(vtkAbstractContextItem id0); + public boolean RemoveItem(vtkAbstractContextItem id0) + { return RemoveItem_4(id0); } + + private native boolean RemoveItem_5(int id0); + public boolean RemoveItem(int id0) + { return RemoveItem_5(id0); } + + private native long GetItem_6(int id0); + public vtkAbstractContextItem GetItem(int id0) { + long temp = GetItem_6(id0); + + if (temp == 0) return null; + return (vtkAbstractContextItem)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native int GetNumberOfItems_7(); + public int GetNumberOfItems() + { return GetNumberOfItems_7(); } + + private native void ClearItems_8(); + public void ClearItems() + { ClearItems_8(); } + + private native void SetAnnotationLink_9(vtkAnnotationLink id0); + public void SetAnnotationLink(vtkAnnotationLink id0) + { SetAnnotationLink_9(id0); } + + private native long GetAnnotationLink_10(); + public vtkAnnotationLink GetAnnotationLink() { + long temp = GetAnnotationLink_10(); + + if (temp == 0) return null; + return (vtkAnnotationLink)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native void SetGeometry_11(int id0,int id1); + public void SetGeometry(int id0,int id1) + { SetGeometry_11(id0,id1); } + + private native void SetGeometry_12(int id0[]); + public void SetGeometry(int id0[]) + { SetGeometry_12(id0); } + + private native int[] GetGeometry_13(); + public int[] GetGeometry() + { return GetGeometry_13(); } + + private native void SetUseBufferId_14(boolean id0); + public void SetUseBufferId(boolean id0) + { SetUseBufferId_14(id0); } + + private native boolean GetUseBufferId_15(); + public boolean GetUseBufferId() + { return GetUseBufferId_15(); } + + private native int GetViewWidth_16(); + public int GetViewWidth() + { return GetViewWidth_16(); } + + private native int GetViewHeight_17(); + public int GetViewHeight() + { return GetViewHeight_17(); } + + private native int GetSceneWidth_18(); + public int GetSceneWidth() + { return GetSceneWidth_18(); } + + private native int GetSceneHeight_19(); + public int GetSceneHeight() + { return GetSceneHeight_19(); } + + private native void SetScaleTiles_20(boolean id0); + public void SetScaleTiles(boolean id0) + { SetScaleTiles_20(id0); } + + private native boolean GetScaleTiles_21(); + public boolean GetScaleTiles() + { return GetScaleTiles_21(); } + + private native void ScaleTilesOn_22(); + public void ScaleTilesOn() + { ScaleTilesOn_22(); } + + private native void ScaleTilesOff_23(); + public void ScaleTilesOff() + { ScaleTilesOff_23(); } + + private native void SetRenderer_24(vtkRenderer id0); + public void SetRenderer(vtkRenderer id0) + { SetRenderer_24(id0); } + + private native long GetRenderer_25(); + public vtkRenderer GetRenderer() { + long temp = GetRenderer_25(); + + if (temp == 0) return null; + return (vtkRenderer)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native void SetDirty_26(boolean id0); + public void SetDirty(boolean id0) + { SetDirty_26(id0); } + + private native boolean GetDirty_27(); + public boolean GetDirty() + { return GetDirty_27(); } + + private native void ReleaseGraphicsResources_28(); + public void ReleaseGraphicsResources() + { ReleaseGraphicsResources_28(); } + + private native long GetBufferId_29(); + public vtkAbstractContextBufferId GetBufferId() { + long temp = GetBufferId_29(); + + if (temp == 0) return null; + return (vtkAbstractContextBufferId)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native void SetTransform_30(vtkTransform2D id0); + public void SetTransform(vtkTransform2D id0) + { SetTransform_30(id0); } + + private native long GetTransform_31(); + public vtkTransform2D GetTransform() { + long temp = GetTransform_31(); + + if (temp == 0) return null; + return (vtkTransform2D)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native boolean HasTransform_32(); + public boolean HasTransform() + { return HasTransform_32(); } + + public vtkContextScene() { super(); } + + public vtkContextScene(long id) { super(id); } + public native long VTKInit(); + +}