]> gerrit.simantics Code Review - simantics/3d.git/blob - vtk/src/vtk/vtkCell.java
Adjustable length inline components
[simantics/3d.git] / vtk / src / vtk / vtkCell.java
1 // java wrapper for vtkCell object
2 //
3
4 package vtk;
5 import vtk.*;
6
7 public class vtkCell extends vtkObject
8 {
9
10   private native int IsTypeOf_0(String id0);
11   public int IsTypeOf(String id0)
12     { return IsTypeOf_0(id0); }
13
14   private native int IsA_1(String id0);
15   public int IsA(String id0)
16     { return IsA_1(id0); }
17
18   private native void Initialize_2(int id0,vtkPoints id1);
19   public void Initialize(int id0,vtkPoints id1)
20     { Initialize_2(id0,id1); }
21
22   private native void ShallowCopy_3(vtkCell id0);
23   public void ShallowCopy(vtkCell id0)
24     { ShallowCopy_3(id0); }
25
26   private native void DeepCopy_4(vtkCell id0);
27   public void DeepCopy(vtkCell id0)
28     { DeepCopy_4(id0); }
29
30   private native int GetCellType_5();
31   public int GetCellType()
32     { return GetCellType_5(); }
33
34   private native int GetCellDimension_6();
35   public int GetCellDimension()
36     { return GetCellDimension_6(); }
37
38   private native int IsLinear_7();
39   public int IsLinear()
40     { return IsLinear_7(); }
41
42   private native int RequiresInitialization_8();
43   public int RequiresInitialization()
44     { return RequiresInitialization_8(); }
45
46   private native void Initialize_9();
47   public void Initialize()
48     { Initialize_9(); }
49
50   private native int IsExplicitCell_10();
51   public int IsExplicitCell()
52     { return IsExplicitCell_10(); }
53
54   private native int RequiresExplicitFaceRepresentation_11();
55   public int RequiresExplicitFaceRepresentation()
56     { return RequiresExplicitFaceRepresentation_11(); }
57
58   private native long GetPoints_12();
59   public vtkPoints GetPoints() {
60     long temp = GetPoints_12();
61
62     if (temp == 0) return null;
63     return (vtkPoints)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
64 }
65
66   private native int GetNumberOfPoints_13();
67   public int GetNumberOfPoints()
68     { return GetNumberOfPoints_13(); }
69
70   private native int GetNumberOfEdges_14();
71   public int GetNumberOfEdges()
72     { return GetNumberOfEdges_14(); }
73
74   private native int GetNumberOfFaces_15();
75   public int GetNumberOfFaces()
76     { return GetNumberOfFaces_15(); }
77
78   private native long GetPointIds_16();
79   public vtkIdList GetPointIds() {
80     long temp = GetPointIds_16();
81
82     if (temp == 0) return null;
83     return (vtkIdList)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
84 }
85
86   private native int GetPointId_17(int id0);
87   public int GetPointId(int id0)
88     { return GetPointId_17(id0); }
89
90   private native long GetEdge_18(int id0);
91   public vtkCell GetEdge(int id0) {
92     long temp = GetEdge_18(id0);
93
94     if (temp == 0) return null;
95     return (vtkCell)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
96 }
97
98   private native long GetFace_19(int id0);
99   public vtkCell GetFace(int id0) {
100     long temp = GetFace_19(id0);
101
102     if (temp == 0) return null;
103     return (vtkCell)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
104 }
105
106   private native int CellBoundary_20(int id0,double id1[],vtkIdList id2);
107   public int CellBoundary(int id0,double id1[],vtkIdList id2)
108     { return CellBoundary_20(id0,id1,id2); }
109
110   private native void Contour_21(double id0,vtkDataArray id1,vtkIncrementalPointLocator id2,vtkCellArray id3,vtkCellArray id4,vtkCellArray id5,vtkPointData id6,vtkPointData id7,vtkCellData id8,int id9,vtkCellData id10);
111   public void Contour(double id0,vtkDataArray id1,vtkIncrementalPointLocator id2,vtkCellArray id3,vtkCellArray id4,vtkCellArray id5,vtkPointData id6,vtkPointData id7,vtkCellData id8,int id9,vtkCellData id10)
112     { Contour_21(id0,id1,id2,id3,id4,id5,id6,id7,id8,id9,id10); }
113
114   private native void Clip_22(double id0,vtkDataArray id1,vtkIncrementalPointLocator id2,vtkCellArray id3,vtkPointData id4,vtkPointData id5,vtkCellData id6,int id7,vtkCellData id8,int id9);
115   public void Clip(double id0,vtkDataArray id1,vtkIncrementalPointLocator id2,vtkCellArray id3,vtkPointData id4,vtkPointData id5,vtkCellData id6,int id7,vtkCellData id8,int id9)
116     { Clip_22(id0,id1,id2,id3,id4,id5,id6,id7,id8,id9); }
117
118   private native int Triangulate_23(int id0,vtkIdList id1,vtkPoints id2);
119   public int Triangulate(int id0,vtkIdList id1,vtkPoints id2)
120     { return Triangulate_23(id0,id1,id2); }
121
122   private native void GetBounds_24(double id0[]);
123   public void GetBounds(double id0[])
124     { GetBounds_24(id0); }
125
126   private native double[] GetBounds_25();
127   public double[] GetBounds()
128     { return GetBounds_25(); }
129
130   private native double GetLength2_26();
131   public double GetLength2()
132     { return GetLength2_26(); }
133
134   private native int GetParametricCenter_27(double id0[]);
135   public int GetParametricCenter(double id0[])
136     { return GetParametricCenter_27(id0); }
137
138   private native double GetParametricDistance_28(double id0[]);
139   public double GetParametricDistance(double id0[])
140     { return GetParametricDistance_28(id0); }
141
142   private native int IsPrimaryCell_29();
143   public int IsPrimaryCell()
144     { return IsPrimaryCell_29(); }
145
146   public vtkCell() { super(); }
147
148   public vtkCell(long id) { super(id); }
149
150 }