X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=vtk%2Fsrc%2Fvtk%2FvtkStructuredGrid.java;fp=vtk%2Fsrc%2Fvtk%2FvtkStructuredGrid.java;h=036bc0bfd0d2827224e44f4f7df8790d8926bf09;hb=0f1acf557db4515528bc452c037db0831fd34ecf;hp=0000000000000000000000000000000000000000;hpb=12e21051bd57248b39831d79d68d455077047cdb;p=simantics%2F3d.git diff --git a/vtk/src/vtk/vtkStructuredGrid.java b/vtk/src/vtk/vtkStructuredGrid.java new file mode 100644 index 00000000..036bc0bf --- /dev/null +++ b/vtk/src/vtk/vtkStructuredGrid.java @@ -0,0 +1,199 @@ +// java wrapper for vtkStructuredGrid object +// + +package vtk; +import vtk.*; + +public class vtkStructuredGrid extends vtkPointSet +{ + + 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 CopyStructure_3(vtkDataSet id0); + public void CopyStructure(vtkDataSet id0) + { CopyStructure_3(id0); } + + private native int GetNumberOfPoints_4(); + public int GetNumberOfPoints() + { return GetNumberOfPoints_4(); } + + private native double[] GetPoint_5(int id0); + public double[] GetPoint(int id0) + { return GetPoint_5(id0); } + + private native void GetPoint_6(int id0,double id1[]); + public void GetPoint(int id0,double id1[]) + { GetPoint_6(id0,id1); } + + 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 long GetCell_8(int id0,int id1,int id2); + public vtkCell GetCell(int id0,int id1,int id2) { + long temp = GetCell_8(id0,id1,id2); + + if (temp == 0) return null; + return (vtkCell)vtkObjectBase.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 int GetNumberOfCells_12(); + public int GetNumberOfCells() + { return GetNumberOfCells_12(); } + + 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 Initialize_15(); + public void Initialize() + { Initialize_15(); } + + private native int GetMaxCellSize_16(); + public int GetMaxCellSize() + { return GetMaxCellSize_16(); } + + 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 void SetDimensions_18(int id0,int id1,int id2); + public void SetDimensions(int id0,int id1,int id2) + { SetDimensions_18(id0,id1,id2); } + + private native void SetDimensions_19(int id0[]); + public void SetDimensions(int id0[]) + { SetDimensions_19(id0); } + + private native int[] GetDimensions_20(); + public int[] GetDimensions() + { return GetDimensions_20(); } + + private native void GetDimensions_21(int id0[]); + public void GetDimensions(int id0[]) + { GetDimensions_21(id0); } + + private native int GetDataDimension_22(); + public int GetDataDimension() + { return GetDataDimension_22(); } + + private native void SetExtent_23(int id0[]); + public void SetExtent(int id0[]) + { SetExtent_23(id0); } + + private native void SetExtent_24(int id0,int id1,int id2,int id3,int id4,int id5); + public void SetExtent(int id0,int id1,int id2,int id3,int id4,int id5) + { SetExtent_24(id0,id1,id2,id3,id4,id5); } + + private native int[] GetExtent_25(); + public int[] GetExtent() + { return GetExtent_25(); } + + private native int GetActualMemorySize_26(); + public int GetActualMemorySize() + { return GetActualMemorySize_26(); } + + private native void ShallowCopy_27(vtkDataObject id0); + public void ShallowCopy(vtkDataObject id0) + { ShallowCopy_27(id0); } + + private native void DeepCopy_28(vtkDataObject id0); + public void DeepCopy(vtkDataObject id0) + { DeepCopy_28(id0); } + + private native int GetExtentType_29(); + public int GetExtentType() + { return GetExtentType_29(); } + + private native void BlankPoint_30(int id0); + public void BlankPoint(int id0) + { BlankPoint_30(id0); } + + private native void UnBlankPoint_31(int id0); + public void UnBlankPoint(int id0) + { UnBlankPoint_31(id0); } + + private native void BlankCell_32(int id0); + public void BlankCell(int id0) + { BlankCell_32(id0); } + + private native void UnBlankCell_33(int id0); + public void UnBlankCell(int id0) + { UnBlankCell_33(id0); } + + private native int IsPointVisible_34(int id0); + public int IsPointVisible(int id0) + { return IsPointVisible_34(id0); } + + private native int IsCellVisible_35(int id0); + public int IsCellVisible(int id0) + { return IsCellVisible_35(id0); } + + private native boolean HasAnyBlankPoints_36(); + public boolean HasAnyBlankPoints() + { return HasAnyBlankPoints_36(); } + + private native boolean HasAnyBlankCells_37(); + public boolean HasAnyBlankCells() + { return HasAnyBlankCells_37(); } + + private native void GetCellDims_38(int id0[]); + public void GetCellDims(int id0[]) + { GetCellDims_38(id0); } + + private native long GetData_39(vtkInformation id0); + public vtkStructuredGrid GetData(vtkInformation id0) { + long temp = GetData_39(id0); + + if (temp == 0) return null; + return (vtkStructuredGrid)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native long GetData_40(vtkInformationVector id0,int id1); + public vtkStructuredGrid GetData(vtkInformationVector id0,int id1) { + long temp = GetData_40(id0,id1); + + if (temp == 0) return null; + return (vtkStructuredGrid)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native void GetPoint_41(int id0,int id1,int id2,double id3[],boolean id4); + public void GetPoint(int id0,int id1,int id2,double id3[],boolean id4) + { GetPoint_41(id0,id1,id2,id3,id4); } + + public vtkStructuredGrid() { super(); } + + public vtkStructuredGrid(long id) { super(id); } + public native long VTKInit(); + +}