1 // java wrapper for vtkPath object
7 public class vtkPath extends vtkPointSet
10 private native int IsTypeOf_0(String id0);
11 public int IsTypeOf(String id0)
12 { return IsTypeOf_0(id0); }
14 private native int IsA_1(String id0);
15 public int IsA(String id0)
16 { return IsA_1(id0); }
18 private native int GetDataObjectType_2();
19 public int GetDataObjectType()
20 { return GetDataObjectType_2(); }
22 private native void InsertNextPoint_3(double id0[],int id1);
23 public void InsertNextPoint(double id0[],int id1)
24 { InsertNextPoint_3(id0,id1); }
26 private native void InsertNextPoint_4(double id0,double id1,double id2,int id3);
27 public void InsertNextPoint(double id0,double id1,double id2,int id3)
28 { InsertNextPoint_4(id0,id1,id2,id3); }
30 private native void SetCodes_5(vtkIntArray id0);
31 public void SetCodes(vtkIntArray id0)
34 private native long GetCodes_6();
35 public vtkIntArray GetCodes() {
36 long temp = GetCodes_6();
38 if (temp == 0) return null;
39 return (vtkIntArray)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
42 private native int GetNumberOfCells_7();
43 public int GetNumberOfCells()
44 { return GetNumberOfCells_7(); }
46 private native long GetCell_8(int id0);
47 public vtkCell GetCell(int id0) {
48 long temp = GetCell_8(id0);
50 if (temp == 0) return null;
51 return (vtkCell)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
54 private native void GetCell_9(int id0,vtkGenericCell id1);
55 public void GetCell(int id0,vtkGenericCell id1)
56 { GetCell_9(id0,id1); }
58 private native int GetCellType_10(int id0);
59 public int GetCellType(int id0)
60 { return GetCellType_10(id0); }
62 private native void GetCellPoints_11(int id0,vtkIdList id1);
63 public void GetCellPoints(int id0,vtkIdList id1)
64 { GetCellPoints_11(id0,id1); }
66 private native void GetPointCells_12(int id0,vtkIdList id1);
67 public void GetPointCells(int id0,vtkIdList id1)
68 { GetPointCells_12(id0,id1); }
70 private native int GetMaxCellSize_13();
71 public int GetMaxCellSize()
72 { return GetMaxCellSize_13(); }
74 private native void Allocate_14(int id0,int id1);
75 public void Allocate(int id0,int id1)
76 { Allocate_14(id0,id1); }
78 private native void Reset_15();
82 private native long GetData_16(vtkInformation id0);
83 public vtkPath GetData(vtkInformation id0) {
84 long temp = GetData_16(id0);
86 if (temp == 0) return null;
87 return (vtkPath)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
90 private native long GetData_17(vtkInformationVector id0,int id1);
91 public vtkPath GetData(vtkInformationVector id0,int id1) {
92 long temp = GetData_17(id0,id1);
94 if (temp == 0) return null;
95 return (vtkPath)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
98 private native long GetCell_18(int id0,int id1,int id2);
99 public vtkCell GetCell(int id0,int id1,int id2) {
100 long temp = GetCell_18(id0,id1,id2);
102 if (temp == 0) return null;
103 return (vtkCell)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
106 public vtkPath() { super(); }
108 public vtkPath(long id) { super(id); }
109 public native long VTKInit();