]> gerrit.simantics Code Review - simantics/3d.git/blobdiff - vtk/src/vtk/vtkUnstructuredGrid.java
Yesterdays change introduced infinite loop for directed path leg updates
[simantics/3d.git] / vtk / src / vtk / vtkUnstructuredGrid.java
index e8b40d306b5b09e339fb6058c8164f25ff6045bb..cd8ec6e3502fd90ba4959d2787616018bc929ca7 100644 (file)
-// java wrapper for vtkUnstructuredGrid object\r
-//\r
-\r
-package vtk;\r
-import vtk.*;\r
-\r
-public class vtkUnstructuredGrid extends vtkPointSet\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 int GetDataObjectType_2();\r
-  public int GetDataObjectType()\r
-    { return GetDataObjectType_2(); }\r
-\r
-  private native void Allocate_3(int id0,int id1);\r
-  public void Allocate(int id0,int id1)\r
-    { Allocate_3(id0,id1); }\r
-\r
-  private native int InsertNextCell_4(int id0,vtkIdList id1);\r
-  public int InsertNextCell(int id0,vtkIdList id1)\r
-    { return InsertNextCell_4(id0,id1); }\r
-\r
-  private native void Reset_5();\r
-  public void Reset()\r
-    { Reset_5(); }\r
-\r
-  private native void CopyStructure_6(vtkDataSet id0);\r
-  public void CopyStructure(vtkDataSet id0)\r
-    { CopyStructure_6(id0); }\r
-\r
-  private native int GetNumberOfCells_7();\r
-  public int GetNumberOfCells()\r
-    { return GetNumberOfCells_7(); }\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 void GetCellPoints_11(int id0,vtkIdList id1);\r
-  public void GetCellPoints(int id0,vtkIdList id1)\r
-    { GetCellPoints_11(id0,id1); }\r
-\r
-  private native void GetPointCells_12(int id0,vtkIdList id1);\r
-  public void GetPointCells(int id0,vtkIdList id1)\r
-    { GetPointCells_12(id0,id1); }\r
-\r
-  private native int GetCellType_13(int id0);\r
-  public int GetCellType(int id0)\r
-    { return GetCellType_13(id0); }\r
-\r
-  private native long GetCellTypesArray_14();\r
-  public vtkUnsignedCharArray GetCellTypesArray() {\r
-    long temp = GetCellTypesArray_14();\r
-\r
-    if (temp == 0) return null;\r
-    return (vtkUnsignedCharArray)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp);\r
-  }\r
-\r
-  private native long GetCellLocationsArray_15();\r
-  public vtkIdTypeArray GetCellLocationsArray() {\r
-    long temp = GetCellLocationsArray_15();\r
-\r
-    if (temp == 0) return null;\r
-    return (vtkIdTypeArray)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp);\r
-  }\r
-\r
-  private native void Squeeze_16();\r
-  public void Squeeze()\r
-    { Squeeze_16(); }\r
-\r
-  private native void Initialize_17();\r
-  public void Initialize()\r
-    { Initialize_17(); }\r
-\r
-  private native int GetMaxCellSize_18();\r
-  public int GetMaxCellSize()\r
-    { return GetMaxCellSize_18(); }\r
-\r
-  private native void BuildLinks_19();\r
-  public void BuildLinks()\r
-    { BuildLinks_19(); }\r
-\r
-  private native long GetCellLinks_20();\r
-  public vtkCellLinks GetCellLinks() {\r
-    long temp = GetCellLinks_20();\r
-\r
-    if (temp == 0) return null;\r
-    return (vtkCellLinks)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp);\r
-  }\r
-\r
-  private native void GetFaceStream_21(int id0,vtkIdList id1);\r
-  public void GetFaceStream(int id0,vtkIdList id1)\r
-    { GetFaceStream_21(id0,id1); }\r
-\r
-  private native void SetCells_22(int id0,vtkCellArray id1);\r
-  public void SetCells(int id0,vtkCellArray id1)\r
-    { SetCells_22(id0,id1); }\r
-\r
-  private native void SetCells_23(vtkUnsignedCharArray id0,vtkIdTypeArray id1,vtkCellArray id2);\r
-  public void SetCells(vtkUnsignedCharArray id0,vtkIdTypeArray id1,vtkCellArray id2)\r
-    { SetCells_23(id0,id1,id2); }\r
-\r
-  private native void SetCells_24(vtkUnsignedCharArray id0,vtkIdTypeArray id1,vtkCellArray id2,vtkIdTypeArray id3,vtkIdTypeArray id4);\r
-  public void SetCells(vtkUnsignedCharArray id0,vtkIdTypeArray id1,vtkCellArray id2,vtkIdTypeArray id3,vtkIdTypeArray id4)\r
-    { SetCells_24(id0,id1,id2,id3,id4); }\r
-\r
-  private native long GetCells_25();\r
-  public vtkCellArray GetCells() {\r
-    long temp = GetCells_25();\r
-\r
-    if (temp == 0) return null;\r
-    return (vtkCellArray)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp);\r
-  }\r
-\r
-  private native void RemoveReferenceToCell_26(int id0,int id1);\r
-  public void RemoveReferenceToCell(int id0,int id1)\r
-    { RemoveReferenceToCell_26(id0,id1); }\r
-\r
-  private native void AddReferenceToCell_27(int id0,int id1);\r
-  public void AddReferenceToCell(int id0,int id1)\r
-    { AddReferenceToCell_27(id0,id1); }\r
-\r
-  private native void ResizeCellList_28(int id0,int id1);\r
-  public void ResizeCellList(int id0,int id1)\r
-    { ResizeCellList_28(id0,id1); }\r
-\r
-  private native void GetCellNeighbors_29(int id0,vtkIdList id1,vtkIdList id2);\r
-  public void GetCellNeighbors(int id0,vtkIdList id1,vtkIdList id2)\r
-    { GetCellNeighbors_29(id0,id1,id2); }\r
-\r
-  private native int[]  GetUpdateExtent_30();\r
-  public int[]  GetUpdateExtent()\r
-    { return GetUpdateExtent_30(); }\r
-\r
-  private native void GetUpdateExtent_31(int id0[]);\r
-  public void GetUpdateExtent(int id0[])\r
-    { GetUpdateExtent_31(id0); }\r
-\r
-  private native int GetPiece_32();\r
-  public int GetPiece()\r
-    { return GetPiece_32(); }\r
-\r
-  private native int GetNumberOfPieces_33();\r
-  public int GetNumberOfPieces()\r
-    { return GetNumberOfPieces_33(); }\r
-\r
-  private native int GetGhostLevel_34();\r
-  public int GetGhostLevel()\r
-    { return GetGhostLevel_34(); }\r
-\r
-  private native int GetActualMemorySize_35();\r
-  public int GetActualMemorySize()\r
-    { return GetActualMemorySize_35(); }\r
-\r
-  private native void ShallowCopy_36(vtkDataObject id0);\r
-  public void ShallowCopy(vtkDataObject id0)\r
-    { ShallowCopy_36(id0); }\r
-\r
-  private native void DeepCopy_37(vtkDataObject id0);\r
-  public void DeepCopy(vtkDataObject id0)\r
-    { DeepCopy_37(id0); }\r
-\r
-  private native void GetIdsOfCellsOfType_38(int id0,vtkIdTypeArray id1);\r
-  public void GetIdsOfCellsOfType(int id0,vtkIdTypeArray id1)\r
-    { GetIdsOfCellsOfType_38(id0,id1); }\r
-\r
-  private native int IsHomogeneous_39();\r
-  public int IsHomogeneous()\r
-    { return IsHomogeneous_39(); }\r
-\r
-  private native void RemoveGhostCells_40(int id0);\r
-  public void RemoveGhostCells(int id0)\r
-    { RemoveGhostCells_40(id0); }\r
-\r
-  private native long GetData_41(vtkInformation id0);\r
-  public vtkUnstructuredGrid GetData(vtkInformation id0) {\r
-    long temp = GetData_41(id0);\r
-\r
-    if (temp == 0) return null;\r
-    return (vtkUnstructuredGrid)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp);\r
-  }\r
-\r
-  private native long GetData_42(vtkInformationVector id0,int id1);\r
-  public vtkUnstructuredGrid GetData(vtkInformationVector id0,int id1) {\r
-    long temp = GetData_42(id0,id1);\r
-\r
-    if (temp == 0) return null;\r
-    return (vtkUnstructuredGrid)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp);\r
-  }\r
-\r
-  private native long GetFaces_43();\r
-  public vtkIdTypeArray GetFaces() {\r
-    long temp = GetFaces_43();\r
-\r
-    if (temp == 0) return null;\r
-    return (vtkIdTypeArray)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp);\r
-  }\r
-\r
-  private native long GetFaceLocations_44();\r
-  public vtkIdTypeArray GetFaceLocations() {\r
-    long temp = GetFaceLocations_44();\r
-\r
-    if (temp == 0) return null;\r
-    return (vtkIdTypeArray)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp);\r
-  }\r
-\r
-  private native int InitializeFacesRepresentation_45(int id0);\r
-  public int InitializeFacesRepresentation(int id0)\r
-    { return InitializeFacesRepresentation_45(id0); }\r
-\r
-  public vtkUnstructuredGrid() { super(); }\r
-\r
-  public vtkUnstructuredGrid(long id) { super(id); }\r
-  public native long   VTKInit();\r
-\r
-}\r
+// java wrapper for vtkUnstructuredGrid object
+//
+
+package vtk;
+import vtk.*;
+
+public class vtkUnstructuredGrid extends vtkUnstructuredGridBase
+{
+
+  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 int GetDataObjectType_2();
+  public int GetDataObjectType()
+    { return GetDataObjectType_2(); }
+
+  private native void Allocate_3(int id0,int id1);
+  public void Allocate(int id0,int id1)
+    { Allocate_3(id0,id1); }
+
+  private native void Reset_4();
+  public void Reset()
+    { Reset_4(); }
+
+  private native void CopyStructure_5(vtkDataSet id0);
+  public void CopyStructure(vtkDataSet id0)
+    { CopyStructure_5(id0); }
+
+  private native int GetNumberOfCells_6();
+  public int GetNumberOfCells()
+    { return GetNumberOfCells_6(); }
+
+  private native long GetCell_7(int id0);
+  public vtkCell GetCell(int id0) {
+    long temp = GetCell_7(id0);
+
+    if (temp == 0) return null;
+    return (vtkCell)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
+}
+
+  private native void GetCell_8(int id0,vtkGenericCell id1);
+  public void GetCell(int id0,vtkGenericCell id1)
+    { GetCell_8(id0,id1); }
+
+  private native void GetCellBounds_9(int id0,double id1[]);
+  public void GetCellBounds(int id0,double id1[])
+    { GetCellBounds_9(id0,id1); }
+
+  private native void GetCellPoints_10(int id0,vtkIdList id1);
+  public void GetCellPoints(int id0,vtkIdList id1)
+    { GetCellPoints_10(id0,id1); }
+
+  private native void GetPointCells_11(int id0,vtkIdList id1);
+  public void GetPointCells(int id0,vtkIdList id1)
+    { GetPointCells_11(id0,id1); }
+
+  private native long NewCellIterator_12();
+  public vtkCellIterator NewCellIterator() {
+    long temp = NewCellIterator_12();
+
+    if (temp == 0) return null;
+    return (vtkCellIterator)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
+}
+
+  private native int GetCellType_13(int id0);
+  public int GetCellType(int id0)
+    { return GetCellType_13(id0); }
+
+  private native long GetCellTypesArray_14();
+  public vtkUnsignedCharArray GetCellTypesArray() {
+    long temp = GetCellTypesArray_14();
+
+    if (temp == 0) return null;
+    return (vtkUnsignedCharArray)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
+}
+
+  private native long GetCellLocationsArray_15();
+  public vtkIdTypeArray GetCellLocationsArray() {
+    long temp = GetCellLocationsArray_15();
+
+    if (temp == 0) return null;
+    return (vtkIdTypeArray)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
+}
+
+  private native void Squeeze_16();
+  public void Squeeze()
+    { Squeeze_16(); }
+
+  private native void Initialize_17();
+  public void Initialize()
+    { Initialize_17(); }
+
+  private native int GetMaxCellSize_18();
+  public int GetMaxCellSize()
+    { return GetMaxCellSize_18(); }
+
+  private native void BuildLinks_19();
+  public void BuildLinks()
+    { BuildLinks_19(); }
+
+  private native long GetCellLinks_20();
+  public vtkCellLinks GetCellLinks() {
+    long temp = GetCellLinks_20();
+
+    if (temp == 0) return null;
+    return (vtkCellLinks)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
+}
+
+  private native void GetFaceStream_21(int id0,vtkIdList id1);
+  public void GetFaceStream(int id0,vtkIdList id1)
+    { GetFaceStream_21(id0,id1); }
+
+  private native void SetCells_22(int id0,vtkCellArray id1);
+  public void SetCells(int id0,vtkCellArray id1)
+    { SetCells_22(id0,id1); }
+
+  private native void SetCells_23(vtkUnsignedCharArray id0,vtkIdTypeArray id1,vtkCellArray id2);
+  public void SetCells(vtkUnsignedCharArray id0,vtkIdTypeArray id1,vtkCellArray id2)
+    { SetCells_23(id0,id1,id2); }
+
+  private native void SetCells_24(vtkUnsignedCharArray id0,vtkIdTypeArray id1,vtkCellArray id2,vtkIdTypeArray id3,vtkIdTypeArray id4);
+  public void SetCells(vtkUnsignedCharArray id0,vtkIdTypeArray id1,vtkCellArray id2,vtkIdTypeArray id3,vtkIdTypeArray id4)
+    { SetCells_24(id0,id1,id2,id3,id4); }
+
+  private native long GetCells_25();
+  public vtkCellArray GetCells() {
+    long temp = GetCells_25();
+
+    if (temp == 0) return null;
+    return (vtkCellArray)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
+}
+
+  private native void RemoveReferenceToCell_26(int id0,int id1);
+  public void RemoveReferenceToCell(int id0,int id1)
+    { RemoveReferenceToCell_26(id0,id1); }
+
+  private native void AddReferenceToCell_27(int id0,int id1);
+  public void AddReferenceToCell(int id0,int id1)
+    { AddReferenceToCell_27(id0,id1); }
+
+  private native void ResizeCellList_28(int id0,int id1);
+  public void ResizeCellList(int id0,int id1)
+    { ResizeCellList_28(id0,id1); }
+
+  private native void GetCellNeighbors_29(int id0,vtkIdList id1,vtkIdList id2);
+  public void GetCellNeighbors(int id0,vtkIdList id1,vtkIdList id2)
+    { GetCellNeighbors_29(id0,id1,id2); }
+
+  private native int GetPiece_30();
+  public int GetPiece()
+    { return GetPiece_30(); }
+
+  private native int GetNumberOfPieces_31();
+  public int GetNumberOfPieces()
+    { return GetNumberOfPieces_31(); }
+
+  private native int GetGhostLevel_32();
+  public int GetGhostLevel()
+    { return GetGhostLevel_32(); }
+
+  private native int GetActualMemorySize_33();
+  public int GetActualMemorySize()
+    { return GetActualMemorySize_33(); }
+
+  private native void ShallowCopy_34(vtkDataObject id0);
+  public void ShallowCopy(vtkDataObject id0)
+    { ShallowCopy_34(id0); }
+
+  private native void DeepCopy_35(vtkDataObject id0);
+  public void DeepCopy(vtkDataObject id0)
+    { DeepCopy_35(id0); }
+
+  private native void GetIdsOfCellsOfType_36(int id0,vtkIdTypeArray id1);
+  public void GetIdsOfCellsOfType(int id0,vtkIdTypeArray id1)
+    { GetIdsOfCellsOfType_36(id0,id1); }
+
+  private native int IsHomogeneous_37();
+  public int IsHomogeneous()
+    { return IsHomogeneous_37(); }
+
+  private native void RemoveGhostCells_38();
+  public void RemoveGhostCells()
+    { RemoveGhostCells_38(); }
+
+  private native long GetData_39(vtkInformation id0);
+  public vtkUnstructuredGrid GetData(vtkInformation id0) {
+    long temp = GetData_39(id0);
+
+    if (temp == 0) return null;
+    return (vtkUnstructuredGrid)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
+}
+
+  private native long GetData_40(vtkInformationVector id0,int id1);
+  public vtkUnstructuredGrid GetData(vtkInformationVector id0,int id1) {
+    long temp = GetData_40(id0,id1);
+
+    if (temp == 0) return null;
+    return (vtkUnstructuredGrid)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
+}
+
+  private native long GetFaces_41();
+  public vtkIdTypeArray GetFaces() {
+    long temp = GetFaces_41();
+
+    if (temp == 0) return null;
+    return (vtkIdTypeArray)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
+}
+
+  private native long GetFaceLocations_42();
+  public vtkIdTypeArray GetFaceLocations() {
+    long temp = GetFaceLocations_42();
+
+    if (temp == 0) return null;
+    return (vtkIdTypeArray)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
+}
+
+  private native int InitializeFacesRepresentation_43(int id0);
+  public int InitializeFacesRepresentation(int id0)
+    { return InitializeFacesRepresentation_43(id0); }
+
+  private native int GetMeshMTime_44();
+  public int GetMeshMTime()
+    { return GetMeshMTime_44(); }
+
+  private native long GetCell_45(int id0,int id1,int id2);
+  public vtkCell GetCell(int id0,int id1,int id2) {
+    long temp = GetCell_45(id0,id1,id2);
+
+    if (temp == 0) return null;
+    return (vtkCell)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
+}
+
+  public vtkUnstructuredGrid() { super(); }
+
+  public vtkUnstructuredGrid(long id) { super(id); }
+  public native long   VTKInit();
+
+}