X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=vtk%2Fsrc%2Fvtk%2FvtkDataSet.java;h=11332debd28854bda2dc8272afc978add3af6f68;hb=refs%2Fchanges%2F26%2F4126%2F1;hp=2ed0f35e415202a64c358bd66923beaa51d7ff8f;hpb=471c46e9a685e20de958d77166461aebc7a7b6ee;p=simantics%2F3d.git diff --git a/vtk/src/vtk/vtkDataSet.java b/vtk/src/vtk/vtkDataSet.java index 2ed0f35e..11332deb 100644 --- a/vtk/src/vtk/vtkDataSet.java +++ b/vtk/src/vtk/vtkDataSet.java @@ -1,206 +1,282 @@ -// java wrapper for vtkDataSet object -// - -package vtk; -import vtk.*; - -public class vtkDataSet extends vtkDataObject -{ - - 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 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 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 int GetCellType_11(int id0); - public int GetCellType(int id0) - { return GetCellType_11(id0); } - - private native void GetCellTypes_12(vtkCellTypes id0); - public void GetCellTypes(vtkCellTypes id0) - { GetCellTypes_12(id0); } - - private native void GetCellPoints_13(int id0,vtkIdList id1); - public void GetCellPoints(int id0,vtkIdList id1) - { GetCellPoints_13(id0,id1); } - - private native void GetPointCells_14(int id0,vtkIdList id1); - public void GetPointCells(int id0,vtkIdList id1) - { GetPointCells_14(id0,id1); } - - private native void GetCellNeighbors_15(int id0,vtkIdList id1,vtkIdList id2); - public void GetCellNeighbors(int id0,vtkIdList id1,vtkIdList id2) - { GetCellNeighbors_15(id0,id1,id2); } - - private native int FindPoint_16(double id0,double id1,double id2); - public int FindPoint(double id0,double id1,double id2) - { return FindPoint_16(id0,id1,id2); } - - private native int FindPoint_17(double id0[]); - public int FindPoint(double id0[]) - { return FindPoint_17(id0); } - - private native int GetMTime_18(); - public int GetMTime() - { return GetMTime_18(); } - - private native long GetCellData_19(); - public vtkCellData GetCellData() { - long temp = GetCellData_19(); - - if (temp == 0) return null; - return (vtkCellData)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native long GetPointData_20(); - public vtkPointData GetPointData() { - long temp = GetPointData_20(); - - if (temp == 0) return null; - return (vtkPointData)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native void Squeeze_21(); - public void Squeeze() - { Squeeze_21(); } - - private native void ComputeBounds_22(); - public void ComputeBounds() - { ComputeBounds_22(); } - - private native double[] GetBounds_23(); - public double[] GetBounds() - { return GetBounds_23(); } - - private native void GetBounds_24(double id0[]); - public void GetBounds(double id0[]) - { GetBounds_24(id0); } - - private native double[] GetCenter_25(); - public double[] GetCenter() - { return GetCenter_25(); } - - private native void GetCenter_26(double id0[]); - public void GetCenter(double id0[]) - { GetCenter_26(id0); } - - private native double GetLength_27(); - public double GetLength() - { return GetLength_27(); } - - private native void Initialize_28(); - public void Initialize() - { Initialize_28(); } - - private native void GetScalarRange_29(double id0[]); - public void GetScalarRange(double id0[]) - { GetScalarRange_29(id0); } - - private native double[] GetScalarRange_30(); - public double[] GetScalarRange() - { return GetScalarRange_30(); } - - private native int GetMaxCellSize_31(); - public int GetMaxCellSize() - { return GetMaxCellSize_31(); } - - private native int GetActualMemorySize_32(); - public int GetActualMemorySize() - { return GetActualMemorySize_32(); } - - private native int GetDataObjectType_33(); - public int GetDataObjectType() - { return GetDataObjectType_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 int CheckAttributes_36(); - public int CheckAttributes() - { return CheckAttributes_36(); } - - private native void GenerateGhostLevelArray_37(); - public void GenerateGhostLevelArray() - { GenerateGhostLevelArray_37(); } - - private native long GetData_38(vtkInformation id0); - public vtkDataSet GetData(vtkInformation id0) { - long temp = GetData_38(id0); - - if (temp == 0) return null; - return (vtkDataSet)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native long GetData_39(vtkInformationVector id0,int id1); - public vtkDataSet GetData(vtkInformationVector id0,int id1) { - long temp = GetData_39(id0,id1); - - if (temp == 0) return null; - return (vtkDataSet)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native long GetAttributesAsFieldData_40(int id0); - public vtkFieldData GetAttributesAsFieldData(int id0) { - long temp = GetAttributesAsFieldData_40(id0); - - if (temp == 0) return null; - return (vtkFieldData)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native int GetNumberOfElements_41(int id0); - public int GetNumberOfElements(int id0) - { return GetNumberOfElements_41(id0); } - - public vtkDataSet() { super(); } - - public vtkDataSet(long id) { super(id); } - -} +// 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); } + +}