X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=vtk%2Fsrc%2Fvtk%2FvtkGraph.java;h=5e9155053d92ccaa4b973930b3d5422e42e2e68a;hb=efb52587babd1b858c8e77fedc44a5b4ef0c1088;hp=93661e23c0259fa5a18b20ade8bfabf0ac9f23d1;hpb=471c46e9a685e20de958d77166461aebc7a7b6ee;p=simantics%2F3d.git diff --git a/vtk/src/vtk/vtkGraph.java b/vtk/src/vtk/vtkGraph.java index 93661e23..5e915505 100644 --- a/vtk/src/vtk/vtkGraph.java +++ b/vtk/src/vtk/vtkGraph.java @@ -1,266 +1,266 @@ -// java wrapper for vtkGraph object -// - -package vtk; -import vtk.*; - -public class vtkGraph 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 long GetVertexData_2(); - public vtkDataSetAttributes GetVertexData() { - long temp = GetVertexData_2(); - - if (temp == 0) return null; - return (vtkDataSetAttributes)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native long GetEdgeData_3(); - public vtkDataSetAttributes GetEdgeData() { - long temp = GetEdgeData_3(); - - if (temp == 0) return null; - return (vtkDataSetAttributes)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native int GetDataObjectType_4(); - public int GetDataObjectType() - { return GetDataObjectType_4(); } - - private native void Initialize_5(); - public void Initialize() - { Initialize_5(); } - - private native void GetPoint_6(int id0,double id1[]); - public void GetPoint(int id0,double id1[]) - { GetPoint_6(id0,id1); } - - private native long GetPoints_7(); - public vtkPoints GetPoints() { - long temp = GetPoints_7(); - - if (temp == 0) return null; - return (vtkPoints)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native void SetPoints_8(vtkPoints id0); - public void SetPoints(vtkPoints id0) - { SetPoints_8(id0); } - - private native void ComputeBounds_9(); - public void ComputeBounds() - { ComputeBounds_9(); } - - private native void GetBounds_10(double id0[]); - public void GetBounds(double id0[]) - { GetBounds_10(id0); } - - private native int GetMTime_11(); - public int GetMTime() - { return GetMTime_11(); } - - private native void GetOutEdges_12(int id0,vtkOutEdgeIterator id1); - public void GetOutEdges(int id0,vtkOutEdgeIterator id1) - { GetOutEdges_12(id0,id1); } - - private native int GetDegree_13(int id0); - public int GetDegree(int id0) - { return GetDegree_13(id0); } - - private native int GetOutDegree_14(int id0); - public int GetOutDegree(int id0) - { return GetOutDegree_14(id0); } - - private native void GetOutEdge_15(int id0,int id1,vtkGraphEdge id2); - public void GetOutEdge(int id0,int id1,vtkGraphEdge id2) - { GetOutEdge_15(id0,id1,id2); } - - private native void GetInEdges_16(int id0,vtkInEdgeIterator id1); - public void GetInEdges(int id0,vtkInEdgeIterator id1) - { GetInEdges_16(id0,id1); } - - private native int GetInDegree_17(int id0); - public int GetInDegree(int id0) - { return GetInDegree_17(id0); } - - private native void GetInEdge_18(int id0,int id1,vtkGraphEdge id2); - public void GetInEdge(int id0,int id1,vtkGraphEdge id2) - { GetInEdge_18(id0,id1,id2); } - - private native void GetAdjacentVertices_19(int id0,vtkAdjacentVertexIterator id1); - public void GetAdjacentVertices(int id0,vtkAdjacentVertexIterator id1) - { GetAdjacentVertices_19(id0,id1); } - - private native void GetEdges_20(vtkEdgeListIterator id0); - public void GetEdges(vtkEdgeListIterator id0) - { GetEdges_20(id0); } - - private native int GetNumberOfEdges_21(); - public int GetNumberOfEdges() - { return GetNumberOfEdges_21(); } - - private native void GetVertices_22(vtkVertexListIterator id0); - public void GetVertices(vtkVertexListIterator id0) - { GetVertices_22(id0); } - - private native int GetNumberOfVertices_23(); - public int GetNumberOfVertices() - { return GetNumberOfVertices_23(); } - - private native void SetDistributedGraphHelper_24(vtkDistributedGraphHelper id0); - public void SetDistributedGraphHelper(vtkDistributedGraphHelper id0) - { SetDistributedGraphHelper_24(id0); } - - private native long GetDistributedGraphHelper_25(); - public vtkDistributedGraphHelper GetDistributedGraphHelper() { - long temp = GetDistributedGraphHelper_25(); - - if (temp == 0) return null; - return (vtkDistributedGraphHelper)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native void ShallowCopy_26(vtkDataObject id0); - public void ShallowCopy(vtkDataObject id0) - { ShallowCopy_26(id0); } - - private native void DeepCopy_27(vtkDataObject id0); - public void DeepCopy(vtkDataObject id0) - { DeepCopy_27(id0); } - - private native void CopyStructure_28(vtkGraph id0); - public void CopyStructure(vtkGraph id0) - { CopyStructure_28(id0); } - - private native boolean CheckedShallowCopy_29(vtkGraph id0); - public boolean CheckedShallowCopy(vtkGraph id0) - { return CheckedShallowCopy_29(id0); } - - private native boolean CheckedDeepCopy_30(vtkGraph id0); - public boolean CheckedDeepCopy(vtkGraph id0) - { return CheckedDeepCopy_30(id0); } - - private native void Squeeze_31(); - public void Squeeze() - { Squeeze_31(); } - - private native long GetData_32(vtkInformation id0); - public vtkGraph GetData(vtkInformation id0) { - long temp = GetData_32(id0); - - if (temp == 0) return null; - return (vtkGraph)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native long GetData_33(vtkInformationVector id0,int id1); - public vtkGraph GetData(vtkInformationVector id0,int id1) { - long temp = GetData_33(id0,id1); - - if (temp == 0) return null; - return (vtkGraph)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native void ReorderOutVertices_34(int id0,vtkIdTypeArray id1); - public void ReorderOutVertices(int id0,vtkIdTypeArray id1) - { ReorderOutVertices_34(id0,id1); } - - private native boolean IsSameStructure_35(vtkGraph id0); - public boolean IsSameStructure(vtkGraph id0) - { return IsSameStructure_35(id0); } - - private native int GetSourceVertex_36(int id0); - public int GetSourceVertex(int id0) - { return GetSourceVertex_36(id0); } - - private native int GetTargetVertex_37(int id0); - public int GetTargetVertex(int id0) - { return GetTargetVertex_37(id0); } - - private native int GetNumberOfEdgePoints_38(int id0); - public int GetNumberOfEdgePoints(int id0) - { return GetNumberOfEdgePoints_38(id0); } - - private native double[] GetEdgePoint_39(int id0,int id1); - public double[] GetEdgePoint(int id0,int id1) - { return GetEdgePoint_39(id0,id1); } - - private native void ClearEdgePoints_40(int id0); - public void ClearEdgePoints(int id0) - { ClearEdgePoints_40(id0); } - - private native void SetEdgePoint_41(int id0,int id1,double id2[]); - public void SetEdgePoint(int id0,int id1,double id2[]) - { SetEdgePoint_41(id0,id1,id2); } - - private native void SetEdgePoint_42(int id0,int id1,double id2,double id3,double id4); - public void SetEdgePoint(int id0,int id1,double id2,double id3,double id4) - { SetEdgePoint_42(id0,id1,id2,id3,id4); } - - private native void AddEdgePoint_43(int id0,double id1[]); - public void AddEdgePoint(int id0,double id1[]) - { AddEdgePoint_43(id0,id1); } - - private native void AddEdgePoint_44(int id0,double id1,double id2,double id3); - public void AddEdgePoint(int id0,double id1,double id2,double id3) - { AddEdgePoint_44(id0,id1,id2,id3); } - - private native void ShallowCopyEdgePoints_45(vtkGraph id0); - public void ShallowCopyEdgePoints(vtkGraph id0) - { ShallowCopyEdgePoints_45(id0); } - - private native void DeepCopyEdgePoints_46(vtkGraph id0); - public void DeepCopyEdgePoints(vtkGraph id0) - { DeepCopyEdgePoints_46(id0); } - - private native long GetGraphInternals_47(boolean id0); - public vtkGraphInternals GetGraphInternals(boolean id0) { - long temp = GetGraphInternals_47(id0); - - if (temp == 0) return null; - return (vtkGraphInternals)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native void GetInducedEdges_48(vtkIdTypeArray id0,vtkIdTypeArray id1); - public void GetInducedEdges(vtkIdTypeArray id0,vtkIdTypeArray id1) - { GetInducedEdges_48(id0,id1); } - - private native long GetAttributesAsFieldData_49(int id0); - public vtkFieldData GetAttributesAsFieldData(int id0) { - long temp = GetAttributesAsFieldData_49(id0); - - if (temp == 0) return null; - return (vtkFieldData)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native int GetNumberOfElements_50(int id0); - public int GetNumberOfElements(int id0) - { return GetNumberOfElements_50(id0); } - - private native void Dump_51(); - public void Dump() - { Dump_51(); } - - private native int GetEdgeId_52(int id0,int id1); - public int GetEdgeId(int id0,int id1) - { return GetEdgeId_52(id0,id1); } - - private native boolean ToDirectedGraph_53(vtkDirectedGraph id0); - public boolean ToDirectedGraph(vtkDirectedGraph id0) - { return ToDirectedGraph_53(id0); } - - private native boolean ToUndirectedGraph_54(vtkUndirectedGraph id0); - public boolean ToUndirectedGraph(vtkUndirectedGraph id0) - { return ToUndirectedGraph_54(id0); } - - public vtkGraph() { super(); } - - public vtkGraph(long id) { super(id); } - -} +// java wrapper for vtkGraph object +// + +package vtk; +import vtk.*; + +public class vtkGraph 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 long GetVertexData_2(); + public vtkDataSetAttributes GetVertexData() { + long temp = GetVertexData_2(); + + if (temp == 0) return null; + return (vtkDataSetAttributes)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native long GetEdgeData_3(); + public vtkDataSetAttributes GetEdgeData() { + long temp = GetEdgeData_3(); + + if (temp == 0) return null; + return (vtkDataSetAttributes)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native int GetDataObjectType_4(); + public int GetDataObjectType() + { return GetDataObjectType_4(); } + + private native void Initialize_5(); + public void Initialize() + { Initialize_5(); } + + private native void GetPoint_6(int id0,double id1[]); + public void GetPoint(int id0,double id1[]) + { GetPoint_6(id0,id1); } + + private native long GetPoints_7(); + public vtkPoints GetPoints() { + long temp = GetPoints_7(); + + if (temp == 0) return null; + return (vtkPoints)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native void SetPoints_8(vtkPoints id0); + public void SetPoints(vtkPoints id0) + { SetPoints_8(id0); } + + private native void ComputeBounds_9(); + public void ComputeBounds() + { ComputeBounds_9(); } + + private native void GetBounds_10(double id0[]); + public void GetBounds(double id0[]) + { GetBounds_10(id0); } + + private native int GetMTime_11(); + public int GetMTime() + { return GetMTime_11(); } + + private native void GetOutEdges_12(int id0,vtkOutEdgeIterator id1); + public void GetOutEdges(int id0,vtkOutEdgeIterator id1) + { GetOutEdges_12(id0,id1); } + + private native int GetDegree_13(int id0); + public int GetDegree(int id0) + { return GetDegree_13(id0); } + + private native int GetOutDegree_14(int id0); + public int GetOutDegree(int id0) + { return GetOutDegree_14(id0); } + + private native void GetOutEdge_15(int id0,int id1,vtkGraphEdge id2); + public void GetOutEdge(int id0,int id1,vtkGraphEdge id2) + { GetOutEdge_15(id0,id1,id2); } + + private native void GetInEdges_16(int id0,vtkInEdgeIterator id1); + public void GetInEdges(int id0,vtkInEdgeIterator id1) + { GetInEdges_16(id0,id1); } + + private native int GetInDegree_17(int id0); + public int GetInDegree(int id0) + { return GetInDegree_17(id0); } + + private native void GetInEdge_18(int id0,int id1,vtkGraphEdge id2); + public void GetInEdge(int id0,int id1,vtkGraphEdge id2) + { GetInEdge_18(id0,id1,id2); } + + private native void GetAdjacentVertices_19(int id0,vtkAdjacentVertexIterator id1); + public void GetAdjacentVertices(int id0,vtkAdjacentVertexIterator id1) + { GetAdjacentVertices_19(id0,id1); } + + private native void GetEdges_20(vtkEdgeListIterator id0); + public void GetEdges(vtkEdgeListIterator id0) + { GetEdges_20(id0); } + + private native int GetNumberOfEdges_21(); + public int GetNumberOfEdges() + { return GetNumberOfEdges_21(); } + + private native void GetVertices_22(vtkVertexListIterator id0); + public void GetVertices(vtkVertexListIterator id0) + { GetVertices_22(id0); } + + private native int GetNumberOfVertices_23(); + public int GetNumberOfVertices() + { return GetNumberOfVertices_23(); } + + private native void SetDistributedGraphHelper_24(vtkDistributedGraphHelper id0); + public void SetDistributedGraphHelper(vtkDistributedGraphHelper id0) + { SetDistributedGraphHelper_24(id0); } + + private native long GetDistributedGraphHelper_25(); + public vtkDistributedGraphHelper GetDistributedGraphHelper() { + long temp = GetDistributedGraphHelper_25(); + + if (temp == 0) return null; + return (vtkDistributedGraphHelper)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native void ShallowCopy_26(vtkDataObject id0); + public void ShallowCopy(vtkDataObject id0) + { ShallowCopy_26(id0); } + + private native void DeepCopy_27(vtkDataObject id0); + public void DeepCopy(vtkDataObject id0) + { DeepCopy_27(id0); } + + private native void CopyStructure_28(vtkGraph id0); + public void CopyStructure(vtkGraph id0) + { CopyStructure_28(id0); } + + private native boolean CheckedShallowCopy_29(vtkGraph id0); + public boolean CheckedShallowCopy(vtkGraph id0) + { return CheckedShallowCopy_29(id0); } + + private native boolean CheckedDeepCopy_30(vtkGraph id0); + public boolean CheckedDeepCopy(vtkGraph id0) + { return CheckedDeepCopy_30(id0); } + + private native void Squeeze_31(); + public void Squeeze() + { Squeeze_31(); } + + private native long GetData_32(vtkInformation id0); + public vtkGraph GetData(vtkInformation id0) { + long temp = GetData_32(id0); + + if (temp == 0) return null; + return (vtkGraph)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native long GetData_33(vtkInformationVector id0,int id1); + public vtkGraph GetData(vtkInformationVector id0,int id1) { + long temp = GetData_33(id0,id1); + + if (temp == 0) return null; + return (vtkGraph)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native void ReorderOutVertices_34(int id0,vtkIdTypeArray id1); + public void ReorderOutVertices(int id0,vtkIdTypeArray id1) + { ReorderOutVertices_34(id0,id1); } + + private native boolean IsSameStructure_35(vtkGraph id0); + public boolean IsSameStructure(vtkGraph id0) + { return IsSameStructure_35(id0); } + + private native int GetSourceVertex_36(int id0); + public int GetSourceVertex(int id0) + { return GetSourceVertex_36(id0); } + + private native int GetTargetVertex_37(int id0); + public int GetTargetVertex(int id0) + { return GetTargetVertex_37(id0); } + + private native int GetNumberOfEdgePoints_38(int id0); + public int GetNumberOfEdgePoints(int id0) + { return GetNumberOfEdgePoints_38(id0); } + + private native double[] GetEdgePoint_39(int id0,int id1); + public double[] GetEdgePoint(int id0,int id1) + { return GetEdgePoint_39(id0,id1); } + + private native void ClearEdgePoints_40(int id0); + public void ClearEdgePoints(int id0) + { ClearEdgePoints_40(id0); } + + private native void SetEdgePoint_41(int id0,int id1,double id2[]); + public void SetEdgePoint(int id0,int id1,double id2[]) + { SetEdgePoint_41(id0,id1,id2); } + + private native void SetEdgePoint_42(int id0,int id1,double id2,double id3,double id4); + public void SetEdgePoint(int id0,int id1,double id2,double id3,double id4) + { SetEdgePoint_42(id0,id1,id2,id3,id4); } + + private native void AddEdgePoint_43(int id0,double id1[]); + public void AddEdgePoint(int id0,double id1[]) + { AddEdgePoint_43(id0,id1); } + + private native void AddEdgePoint_44(int id0,double id1,double id2,double id3); + public void AddEdgePoint(int id0,double id1,double id2,double id3) + { AddEdgePoint_44(id0,id1,id2,id3); } + + private native void ShallowCopyEdgePoints_45(vtkGraph id0); + public void ShallowCopyEdgePoints(vtkGraph id0) + { ShallowCopyEdgePoints_45(id0); } + + private native void DeepCopyEdgePoints_46(vtkGraph id0); + public void DeepCopyEdgePoints(vtkGraph id0) + { DeepCopyEdgePoints_46(id0); } + + private native long GetGraphInternals_47(boolean id0); + public vtkGraphInternals GetGraphInternals(boolean id0) { + long temp = GetGraphInternals_47(id0); + + if (temp == 0) return null; + return (vtkGraphInternals)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native void GetInducedEdges_48(vtkIdTypeArray id0,vtkIdTypeArray id1); + public void GetInducedEdges(vtkIdTypeArray id0,vtkIdTypeArray id1) + { GetInducedEdges_48(id0,id1); } + + private native long GetAttributesAsFieldData_49(int id0); + public vtkFieldData GetAttributesAsFieldData(int id0) { + long temp = GetAttributesAsFieldData_49(id0); + + if (temp == 0) return null; + return (vtkFieldData)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native int GetNumberOfElements_50(int id0); + public int GetNumberOfElements(int id0) + { return GetNumberOfElements_50(id0); } + + private native void Dump_51(); + public void Dump() + { Dump_51(); } + + private native int GetEdgeId_52(int id0,int id1); + public int GetEdgeId(int id0,int id1) + { return GetEdgeId_52(id0,id1); } + + private native boolean ToDirectedGraph_53(vtkDirectedGraph id0); + public boolean ToDirectedGraph(vtkDirectedGraph id0) + { return ToDirectedGraph_53(id0); } + + private native boolean ToUndirectedGraph_54(vtkUndirectedGraph id0); + public boolean ToUndirectedGraph(vtkUndirectedGraph id0) + { return ToUndirectedGraph_54(id0); } + + public vtkGraph() { super(); } + + public vtkGraph(long id) { super(id); } + +}