X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=vtk%2Fsrc%2Fvtk%2FvtkUnstructuredGrid.java;h=cd8ec6e3502fd90ba4959d2787616018bc929ca7;hb=0f1acf557db4515528bc452c037db0831fd34ecf;hp=e8b40d306b5b09e339fb6058c8164f25ff6045bb;hpb=471c46e9a685e20de958d77166461aebc7a7b6ee;p=simantics%2F3d.git diff --git a/vtk/src/vtk/vtkUnstructuredGrid.java b/vtk/src/vtk/vtkUnstructuredGrid.java index e8b40d30..cd8ec6e3 100644 --- a/vtk/src/vtk/vtkUnstructuredGrid.java +++ b/vtk/src/vtk/vtkUnstructuredGrid.java @@ -1,235 +1,243 @@ -// java wrapper for vtkUnstructuredGrid object -// - -package vtk; -import vtk.*; - -public class vtkUnstructuredGrid extends vtkPointSet -{ - - 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 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 int InsertNextCell_4(int id0,vtkIdList id1); - public int InsertNextCell(int id0,vtkIdList id1) - { return InsertNextCell_4(id0,id1); } - - private native void Reset_5(); - public void Reset() - { Reset_5(); } - - private native void CopyStructure_6(vtkDataSet id0); - public void CopyStructure(vtkDataSet id0) - { CopyStructure_6(id0); } - - private native int GetNumberOfCells_7(); - public int GetNumberOfCells() - { return GetNumberOfCells_7(); } - - private native long GetCell_8(int id0); - public vtkCell GetCell(int id0) { - long temp = GetCell_8(id0); - - if (temp == 0) return null; - return (vtkCell)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native void GetCell_9(int id0,vtkGenericCell id1); - public void GetCell(int id0,vtkGenericCell id1) - { GetCell_9(id0,id1); } - - private native void GetCellBounds_10(int id0,double id1[]); - public void GetCellBounds(int id0,double id1[]) - { GetCellBounds_10(id0,id1); } - - private native void GetCellPoints_11(int id0,vtkIdList id1); - public void GetCellPoints(int id0,vtkIdList id1) - { GetCellPoints_11(id0,id1); } - - private native void GetPointCells_12(int id0,vtkIdList id1); - public void GetPointCells(int id0,vtkIdList id1) - { GetPointCells_12(id0,id1); } - - 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)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native long GetCellLocationsArray_15(); - public vtkIdTypeArray GetCellLocationsArray() { - long temp = GetCellLocationsArray_15(); - - if (temp == 0) return null; - return (vtkIdTypeArray)vtkObject.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)vtkObject.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)vtkObject.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[] GetUpdateExtent_30(); - public int[] GetUpdateExtent() - { return GetUpdateExtent_30(); } - - private native void GetUpdateExtent_31(int id0[]); - public void GetUpdateExtent(int id0[]) - { GetUpdateExtent_31(id0); } - - private native int GetPiece_32(); - public int GetPiece() - { return GetPiece_32(); } - - private native int GetNumberOfPieces_33(); - public int GetNumberOfPieces() - { return GetNumberOfPieces_33(); } - - private native int GetGhostLevel_34(); - public int GetGhostLevel() - { return GetGhostLevel_34(); } - - private native int GetActualMemorySize_35(); - public int GetActualMemorySize() - { return GetActualMemorySize_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 void GetIdsOfCellsOfType_38(int id0,vtkIdTypeArray id1); - public void GetIdsOfCellsOfType(int id0,vtkIdTypeArray id1) - { GetIdsOfCellsOfType_38(id0,id1); } - - private native int IsHomogeneous_39(); - public int IsHomogeneous() - { return IsHomogeneous_39(); } - - private native void RemoveGhostCells_40(int id0); - public void RemoveGhostCells(int id0) - { RemoveGhostCells_40(id0); } - - private native long GetData_41(vtkInformation id0); - public vtkUnstructuredGrid GetData(vtkInformation id0) { - long temp = GetData_41(id0); - - if (temp == 0) return null; - return (vtkUnstructuredGrid)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native long GetData_42(vtkInformationVector id0,int id1); - public vtkUnstructuredGrid GetData(vtkInformationVector id0,int id1) { - long temp = GetData_42(id0,id1); - - if (temp == 0) return null; - return (vtkUnstructuredGrid)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native long GetFaces_43(); - public vtkIdTypeArray GetFaces() { - long temp = GetFaces_43(); - - if (temp == 0) return null; - return (vtkIdTypeArray)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native long GetFaceLocations_44(); - public vtkIdTypeArray GetFaceLocations() { - long temp = GetFaceLocations_44(); - - if (temp == 0) return null; - return (vtkIdTypeArray)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native int InitializeFacesRepresentation_45(int id0); - public int InitializeFacesRepresentation(int id0) - { return InitializeFacesRepresentation_45(id0); } - - public vtkUnstructuredGrid() { super(); } - - public vtkUnstructuredGrid(long id) { super(id); } - public native long VTKInit(); - -} +// 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(); + +}