]> gerrit.simantics Code Review - simantics/3d.git/blobdiff - vtk/src/vtk/vtkDataSet.java
Revised native library loading for VTK
[simantics/3d.git] / vtk / src / vtk / vtkDataSet.java
index 2ed0f35e415202a64c358bd66923beaa51d7ff8f..11332debd28854bda2dc8272afc978add3af6f68 100644 (file)
-// java wrapper for vtkDataSet object\r
-//\r
-\r
-package vtk;\r
-import vtk.*;\r
-\r
-public class vtkDataSet extends vtkDataObject\r
-{\r
-\r
-  private native String GetClassName_0();\r
-  public String GetClassName()\r
-    { return GetClassName_0(); }\r
-\r
-  private native int IsA_1(String id0);\r
-  public int IsA(String id0)\r
-    { return IsA_1(id0); }\r
-\r
-  private native void CopyStructure_2(vtkDataSet id0);\r
-  public void CopyStructure(vtkDataSet id0)\r
-    { CopyStructure_2(id0); }\r
-\r
-  private native void CopyAttributes_3(vtkDataSet id0);\r
-  public void CopyAttributes(vtkDataSet id0)\r
-    { CopyAttributes_3(id0); }\r
-\r
-  private native int GetNumberOfPoints_4();\r
-  public int GetNumberOfPoints()\r
-    { return GetNumberOfPoints_4(); }\r
-\r
-  private native int GetNumberOfCells_5();\r
-  public int GetNumberOfCells()\r
-    { return GetNumberOfCells_5(); }\r
-\r
-  private native double[] GetPoint_6(int id0);\r
-  public double[] GetPoint(int id0)\r
-    { return GetPoint_6(id0); }\r
-\r
-  private native void GetPoint_7(int id0,double id1[]);\r
-  public void GetPoint(int id0,double id1[])\r
-    { GetPoint_7(id0,id1); }\r
-\r
-  private native long GetCell_8(int id0);\r
-  public vtkCell GetCell(int id0) {\r
-    long temp = GetCell_8(id0);\r
-\r
-    if (temp == 0) return null;\r
-    return (vtkCell)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp);\r
-  }\r
-\r
-  private native void GetCell_9(int id0,vtkGenericCell id1);\r
-  public void GetCell(int id0,vtkGenericCell id1)\r
-    { GetCell_9(id0,id1); }\r
-\r
-  private native void GetCellBounds_10(int id0,double id1[]);\r
-  public void GetCellBounds(int id0,double id1[])\r
-    { GetCellBounds_10(id0,id1); }\r
-\r
-  private native int GetCellType_11(int id0);\r
-  public int GetCellType(int id0)\r
-    { return GetCellType_11(id0); }\r
-\r
-  private native void GetCellTypes_12(vtkCellTypes id0);\r
-  public void GetCellTypes(vtkCellTypes id0)\r
-    { GetCellTypes_12(id0); }\r
-\r
-  private native void GetCellPoints_13(int id0,vtkIdList id1);\r
-  public void GetCellPoints(int id0,vtkIdList id1)\r
-    { GetCellPoints_13(id0,id1); }\r
-\r
-  private native void GetPointCells_14(int id0,vtkIdList id1);\r
-  public void GetPointCells(int id0,vtkIdList id1)\r
-    { GetPointCells_14(id0,id1); }\r
-\r
-  private native void GetCellNeighbors_15(int id0,vtkIdList id1,vtkIdList id2);\r
-  public void GetCellNeighbors(int id0,vtkIdList id1,vtkIdList id2)\r
-    { GetCellNeighbors_15(id0,id1,id2); }\r
-\r
-  private native int FindPoint_16(double id0,double id1,double id2);\r
-  public int FindPoint(double id0,double id1,double id2)\r
-    { return FindPoint_16(id0,id1,id2); }\r
-\r
-  private native int FindPoint_17(double id0[]);\r
-  public int FindPoint(double id0[])\r
-    { return FindPoint_17(id0); }\r
-\r
-  private native int GetMTime_18();\r
-  public int GetMTime()\r
-    { return GetMTime_18(); }\r
-\r
-  private native long GetCellData_19();\r
-  public vtkCellData GetCellData() {\r
-    long temp = GetCellData_19();\r
-\r
-    if (temp == 0) return null;\r
-    return (vtkCellData)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp);\r
-  }\r
-\r
-  private native long GetPointData_20();\r
-  public vtkPointData GetPointData() {\r
-    long temp = GetPointData_20();\r
-\r
-    if (temp == 0) return null;\r
-    return (vtkPointData)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp);\r
-  }\r
-\r
-  private native void Squeeze_21();\r
-  public void Squeeze()\r
-    { Squeeze_21(); }\r
-\r
-  private native void ComputeBounds_22();\r
-  public void ComputeBounds()\r
-    { ComputeBounds_22(); }\r
-\r
-  private native double[] GetBounds_23();\r
-  public double[] GetBounds()\r
-    { return GetBounds_23(); }\r
-\r
-  private native void GetBounds_24(double id0[]);\r
-  public void GetBounds(double id0[])\r
-    { GetBounds_24(id0); }\r
-\r
-  private native double[] GetCenter_25();\r
-  public double[] GetCenter()\r
-    { return GetCenter_25(); }\r
-\r
-  private native void GetCenter_26(double id0[]);\r
-  public void GetCenter(double id0[])\r
-    { GetCenter_26(id0); }\r
-\r
-  private native double GetLength_27();\r
-  public double GetLength()\r
-    { return GetLength_27(); }\r
-\r
-  private native void Initialize_28();\r
-  public void Initialize()\r
-    { Initialize_28(); }\r
-\r
-  private native void GetScalarRange_29(double id0[]);\r
-  public void GetScalarRange(double id0[])\r
-    { GetScalarRange_29(id0); }\r
-\r
-  private native double[] GetScalarRange_30();\r
-  public double[] GetScalarRange()\r
-    { return GetScalarRange_30(); }\r
-\r
-  private native int GetMaxCellSize_31();\r
-  public int GetMaxCellSize()\r
-    { return GetMaxCellSize_31(); }\r
-\r
-  private native int GetActualMemorySize_32();\r
-  public int GetActualMemorySize()\r
-    { return GetActualMemorySize_32(); }\r
-\r
-  private native int GetDataObjectType_33();\r
-  public int GetDataObjectType()\r
-    { return GetDataObjectType_33(); }\r
-\r
-  private native void ShallowCopy_34(vtkDataObject id0);\r
-  public void ShallowCopy(vtkDataObject id0)\r
-    { ShallowCopy_34(id0); }\r
-\r
-  private native void DeepCopy_35(vtkDataObject id0);\r
-  public void DeepCopy(vtkDataObject id0)\r
-    { DeepCopy_35(id0); }\r
-\r
-  private native int CheckAttributes_36();\r
-  public int CheckAttributes()\r
-    { return CheckAttributes_36(); }\r
-\r
-  private native void GenerateGhostLevelArray_37();\r
-  public void GenerateGhostLevelArray()\r
-    { GenerateGhostLevelArray_37(); }\r
-\r
-  private native long GetData_38(vtkInformation id0);\r
-  public vtkDataSet GetData(vtkInformation id0) {\r
-    long temp = GetData_38(id0);\r
-\r
-    if (temp == 0) return null;\r
-    return (vtkDataSet)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp);\r
-  }\r
-\r
-  private native long GetData_39(vtkInformationVector id0,int id1);\r
-  public vtkDataSet GetData(vtkInformationVector id0,int id1) {\r
-    long temp = GetData_39(id0,id1);\r
-\r
-    if (temp == 0) return null;\r
-    return (vtkDataSet)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp);\r
-  }\r
-\r
-  private native long GetAttributesAsFieldData_40(int id0);\r
-  public vtkFieldData GetAttributesAsFieldData(int id0) {\r
-    long temp = GetAttributesAsFieldData_40(id0);\r
-\r
-    if (temp == 0) return null;\r
-    return (vtkFieldData)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp);\r
-  }\r
-\r
-  private native int GetNumberOfElements_41(int id0);\r
-  public int GetNumberOfElements(int id0)\r
-    { return GetNumberOfElements_41(id0); }\r
-\r
-  public vtkDataSet() { super(); }\r
-\r
-  public vtkDataSet(long id) { super(id); }\r
-\r
-}\r
+// java wrapper for vtkDataSet object
+//
+
+package vtk;
+import vtk.*;
+
+public class vtkDataSet extends vtkDataObject
+{
+
+  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 void CopyStructure_2(vtkDataSet id0);
+  public void CopyStructure(vtkDataSet id0)
+    { CopyStructure_2(id0); }
+
+  private native void CopyAttributes_3(vtkDataSet id0);
+  public void CopyAttributes(vtkDataSet id0)
+    { CopyAttributes_3(id0); }
+
+  private native int GetNumberOfPoints_4();
+  public int GetNumberOfPoints()
+    { return GetNumberOfPoints_4(); }
+
+  private native int GetNumberOfCells_5();
+  public int GetNumberOfCells()
+    { return GetNumberOfCells_5(); }
+
+  private native double[] GetPoint_6(int id0);
+  public double[] GetPoint(int id0)
+    { return GetPoint_6(id0); }
+
+  private native void GetPoint_7(int id0,double id1[]);
+  public void GetPoint(int id0,double id1[])
+    { GetPoint_7(id0,id1); }
+
+  private native long NewCellIterator_8();
+  public vtkCellIterator NewCellIterator() {
+    long temp = NewCellIterator_8();
+
+    if (temp == 0) return null;
+    return (vtkCellIterator)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
+}
+
+  private native long GetCell_9(int id0);
+  public vtkCell GetCell(int id0) {
+    long temp = GetCell_9(id0);
+
+    if (temp == 0) return null;
+    return (vtkCell)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
+}
+
+  private native long GetCell_10(int id0,int id1,int id2);
+  public vtkCell GetCell(int id0,int id1,int id2) {
+    long temp = GetCell_10(id0,id1,id2);
+
+    if (temp == 0) return null;
+    return (vtkCell)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
+}
+
+  private native void GetCell_11(int id0,vtkGenericCell id1);
+  public void GetCell(int id0,vtkGenericCell id1)
+    { GetCell_11(id0,id1); }
+
+  private native void GetCellBounds_12(int id0,double id1[]);
+  public void GetCellBounds(int id0,double id1[])
+    { GetCellBounds_12(id0,id1); }
+
+  private native int GetCellType_13(int id0);
+  public int GetCellType(int id0)
+    { return GetCellType_13(id0); }
+
+  private native void GetCellTypes_14(vtkCellTypes id0);
+  public void GetCellTypes(vtkCellTypes id0)
+    { GetCellTypes_14(id0); }
+
+  private native void GetCellPoints_15(int id0,vtkIdList id1);
+  public void GetCellPoints(int id0,vtkIdList id1)
+    { GetCellPoints_15(id0,id1); }
+
+  private native void GetPointCells_16(int id0,vtkIdList id1);
+  public void GetPointCells(int id0,vtkIdList id1)
+    { GetPointCells_16(id0,id1); }
+
+  private native void GetCellNeighbors_17(int id0,vtkIdList id1,vtkIdList id2);
+  public void GetCellNeighbors(int id0,vtkIdList id1,vtkIdList id2)
+    { GetCellNeighbors_17(id0,id1,id2); }
+
+  private native int FindPoint_18(double id0,double id1,double id2);
+  public int FindPoint(double id0,double id1,double id2)
+    { return FindPoint_18(id0,id1,id2); }
+
+  private native int FindPoint_19(double id0[]);
+  public int FindPoint(double id0[])
+    { return FindPoint_19(id0); }
+
+  private native int GetMTime_20();
+  public int GetMTime()
+    { return GetMTime_20(); }
+
+  private native long GetCellData_21();
+  public vtkCellData GetCellData() {
+    long temp = GetCellData_21();
+
+    if (temp == 0) return null;
+    return (vtkCellData)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
+}
+
+  private native long GetPointData_22();
+  public vtkPointData GetPointData() {
+    long temp = GetPointData_22();
+
+    if (temp == 0) return null;
+    return (vtkPointData)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
+}
+
+  private native void Squeeze_23();
+  public void Squeeze()
+    { Squeeze_23(); }
+
+  private native void ComputeBounds_24();
+  public void ComputeBounds()
+    { ComputeBounds_24(); }
+
+  private native double[] GetBounds_25();
+  public double[] GetBounds()
+    { return GetBounds_25(); }
+
+  private native void GetBounds_26(double id0[]);
+  public void GetBounds(double id0[])
+    { GetBounds_26(id0); }
+
+  private native double[] GetCenter_27();
+  public double[] GetCenter()
+    { return GetCenter_27(); }
+
+  private native void GetCenter_28(double id0[]);
+  public void GetCenter(double id0[])
+    { GetCenter_28(id0); }
+
+  private native double GetLength_29();
+  public double GetLength()
+    { return GetLength_29(); }
+
+  private native void Initialize_30();
+  public void Initialize()
+    { Initialize_30(); }
+
+  private native void GetScalarRange_31(double id0[]);
+  public void GetScalarRange(double id0[])
+    { GetScalarRange_31(id0); }
+
+  private native double[] GetScalarRange_32();
+  public double[] GetScalarRange()
+    { return GetScalarRange_32(); }
+
+  private native int GetMaxCellSize_33();
+  public int GetMaxCellSize()
+    { return GetMaxCellSize_33(); }
+
+  private native int GetActualMemorySize_34();
+  public int GetActualMemorySize()
+    { return GetActualMemorySize_34(); }
+
+  private native int GetDataObjectType_35();
+  public int GetDataObjectType()
+    { return GetDataObjectType_35(); }
+
+  private native void ShallowCopy_36(vtkDataObject id0);
+  public void ShallowCopy(vtkDataObject id0)
+    { ShallowCopy_36(id0); }
+
+  private native void DeepCopy_37(vtkDataObject id0);
+  public void DeepCopy(vtkDataObject id0)
+    { DeepCopy_37(id0); }
+
+  private native int CheckAttributes_38();
+  public int CheckAttributes()
+    { return CheckAttributes_38(); }
+
+  private native void GenerateGhostArray_39(int id0[]);
+  public void GenerateGhostArray(int id0[])
+    { GenerateGhostArray_39(id0); }
+
+  private native void GenerateGhostArray_40(int id0[],boolean id1);
+  public void GenerateGhostArray(int id0[],boolean id1)
+    { GenerateGhostArray_40(id0,id1); }
+
+  private native long GetData_41(vtkInformation id0);
+  public vtkDataSet GetData(vtkInformation id0) {
+    long temp = GetData_41(id0);
+
+    if (temp == 0) return null;
+    return (vtkDataSet)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
+}
+
+  private native long GetData_42(vtkInformationVector id0,int id1);
+  public vtkDataSet GetData(vtkInformationVector id0,int id1) {
+    long temp = GetData_42(id0,id1);
+
+    if (temp == 0) return null;
+    return (vtkDataSet)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
+}
+
+  private native long GetAttributesAsFieldData_43(int id0);
+  public vtkFieldData GetAttributesAsFieldData(int id0) {
+    long temp = GetAttributesAsFieldData_43(id0);
+
+    if (temp == 0) return null;
+    return (vtkFieldData)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
+}
+
+  private native int GetNumberOfElements_44(int id0);
+  public int GetNumberOfElements(int id0)
+    { return GetNumberOfElements_44(id0); }
+
+  private native boolean HasAnyGhostCells_45();
+  public boolean HasAnyGhostCells()
+    { return HasAnyGhostCells_45(); }
+
+  private native boolean HasAnyGhostPoints_46();
+  public boolean HasAnyGhostPoints()
+    { return HasAnyGhostPoints_46(); }
+
+  private native boolean HasAnyBlankCells_47();
+  public boolean HasAnyBlankCells()
+    { return HasAnyBlankCells_47(); }
+
+  private native boolean HasAnyBlankPoints_48();
+  public boolean HasAnyBlankPoints()
+    { return HasAnyBlankPoints_48(); }
+
+  private native long GetPointGhostArray_49();
+  public vtkUnsignedCharArray GetPointGhostArray() {
+    long temp = GetPointGhostArray_49();
+
+    if (temp == 0) return null;
+    return (vtkUnsignedCharArray)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
+}
+
+  private native void UpdatePointGhostArrayCache_50();
+  public void UpdatePointGhostArrayCache()
+    { UpdatePointGhostArrayCache_50(); }
+
+  private native long AllocatePointGhostArray_51();
+  public vtkUnsignedCharArray AllocatePointGhostArray() {
+    long temp = AllocatePointGhostArray_51();
+
+    if (temp == 0) return null;
+    return (vtkUnsignedCharArray)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
+}
+
+  private native long GetCellGhostArray_52();
+  public vtkUnsignedCharArray GetCellGhostArray() {
+    long temp = GetCellGhostArray_52();
+
+    if (temp == 0) return null;
+    return (vtkUnsignedCharArray)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
+}
+
+  private native void UpdateCellGhostArrayCache_53();
+  public void UpdateCellGhostArrayCache()
+    { UpdateCellGhostArrayCache_53(); }
+
+  private native long AllocateCellGhostArray_54();
+  public vtkUnsignedCharArray AllocateCellGhostArray() {
+    long temp = AllocateCellGhostArray_54();
+
+    if (temp == 0) return null;
+    return (vtkUnsignedCharArray)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
+}
+
+  public vtkDataSet() { super(); }
+
+  public vtkDataSet(long id) { super(id); }
+
+}