1 // java wrapper for vtkTriangle object
7 public class vtkTriangle extends vtkCell
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 long GetEdge_2(int id0);
19 public vtkCell GetEdge(int id0) {
20 long temp = GetEdge_2(id0);
22 if (temp == 0) return null;
23 return (vtkCell)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
26 private native int GetCellType_3();
27 public int GetCellType()
28 { return GetCellType_3(); }
30 private native int GetCellDimension_4();
31 public int GetCellDimension()
32 { return GetCellDimension_4(); }
34 private native int GetNumberOfEdges_5();
35 public int GetNumberOfEdges()
36 { return GetNumberOfEdges_5(); }
38 private native int GetNumberOfFaces_6();
39 public int GetNumberOfFaces()
40 { return GetNumberOfFaces_6(); }
42 private native long GetFace_7(int id0);
43 public vtkCell GetFace(int id0) {
44 long temp = GetFace_7(id0);
46 if (temp == 0) return null;
47 return (vtkCell)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
50 private native int CellBoundary_8(int id0,double id1[],vtkIdList id2);
51 public int CellBoundary(int id0,double id1[],vtkIdList id2)
52 { return CellBoundary_8(id0,id1,id2); }
54 private native void Contour_9(double id0,vtkDataArray id1,vtkIncrementalPointLocator id2,vtkCellArray id3,vtkCellArray id4,vtkCellArray id5,vtkPointData id6,vtkPointData id7,vtkCellData id8,int id9,vtkCellData id10);
55 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)
56 { Contour_9(id0,id1,id2,id3,id4,id5,id6,id7,id8,id9,id10); }
58 private native int Triangulate_10(int id0,vtkIdList id1,vtkPoints id2);
59 public int Triangulate(int id0,vtkIdList id1,vtkPoints id2)
60 { return Triangulate_10(id0,id1,id2); }
62 private native double ComputeArea_11();
63 public double ComputeArea()
64 { return ComputeArea_11(); }
66 private native void Clip_12(double id0,vtkDataArray id1,vtkIncrementalPointLocator id2,vtkCellArray id3,vtkPointData id4,vtkPointData id5,vtkCellData id6,int id7,vtkCellData id8,int id9);
67 public void Clip(double id0,vtkDataArray id1,vtkIncrementalPointLocator id2,vtkCellArray id3,vtkPointData id4,vtkPointData id5,vtkCellData id6,int id7,vtkCellData id8,int id9)
68 { Clip_12(id0,id1,id2,id3,id4,id5,id6,id7,id8,id9); }
70 private native void InterpolationFunctions_13(double id0[],double id1[]);
71 public void InterpolationFunctions(double id0[],double id1[])
72 { InterpolationFunctions_13(id0,id1); }
74 private native void InterpolationDerivs_14(double id0[],double id1[]);
75 public void InterpolationDerivs(double id0[],double id1[])
76 { InterpolationDerivs_14(id0,id1); }
78 private native void InterpolateFunctions_15(double id0[],double id1[]);
79 public void InterpolateFunctions(double id0[],double id1[])
80 { InterpolateFunctions_15(id0,id1); }
82 private native void InterpolateDerivs_16(double id0[],double id1[]);
83 public void InterpolateDerivs(double id0[],double id1[])
84 { InterpolateDerivs_16(id0,id1); }
86 private native int GetParametricCenter_17(double id0[]);
87 public int GetParametricCenter(double id0[])
88 { return GetParametricCenter_17(id0); }
90 private native double GetParametricDistance_18(double id0[]);
91 public double GetParametricDistance(double id0[])
92 { return GetParametricDistance_18(id0); }
94 private native void TriangleCenter_19(double id0[],double id1[],double id2[],double id3[]);
95 public void TriangleCenter(double id0[],double id1[],double id2[],double id3[])
96 { TriangleCenter_19(id0,id1,id2,id3); }
98 private native double TriangleArea_20(double id0[],double id1[],double id2[]);
99 public double TriangleArea(double id0[],double id1[],double id2[])
100 { return TriangleArea_20(id0,id1,id2); }
102 private native double Circumcircle_21(double id0[],double id1[],double id2[],double id3[]);
103 public double Circumcircle(double id0[],double id1[],double id2[],double id3[])
104 { return Circumcircle_21(id0,id1,id2,id3); }
106 private native int BarycentricCoords_22(double id0[],double id1[],double id2[],double id3[],double id4[]);
107 public int BarycentricCoords(double id0[],double id1[],double id2[],double id3[],double id4[])
108 { return BarycentricCoords_22(id0,id1,id2,id3,id4); }
110 private native int ProjectTo2D_23(double id0[],double id1[],double id2[],double id3[],double id4[],double id5[]);
111 public int ProjectTo2D(double id0[],double id1[],double id2[],double id3[],double id4[],double id5[])
112 { return ProjectTo2D_23(id0,id1,id2,id3,id4,id5); }
114 private native void ComputeNormal_24(double id0[],double id1[],double id2[],double id3[]);
115 public void ComputeNormal(double id0[],double id1[],double id2[],double id3[])
116 { ComputeNormal_24(id0,id1,id2,id3); }
118 private native void ComputeNormalDirection_25(double id0[],double id1[],double id2[],double id3[]);
119 public void ComputeNormalDirection(double id0[],double id1[],double id2[],double id3[])
120 { ComputeNormalDirection_25(id0,id1,id2,id3); }
122 private native int TrianglesIntersect_26(double id0[],double id1[],double id2[],double id3[],double id4[],double id5[]);
123 public int TrianglesIntersect(double id0[],double id1[],double id2[],double id3[],double id4[],double id5[])
124 { return TrianglesIntersect_26(id0,id1,id2,id3,id4,id5); }
126 private native int PointInTriangle_27(double id0[],double id1[],double id2[],double id3[],double id4);
127 public int PointInTriangle(double id0[],double id1[],double id2[],double id3[],double id4)
128 { return PointInTriangle_27(id0,id1,id2,id3,id4); }
130 private native void ComputeQuadric_28(double id0[],double id1[],double id2[],vtkQuadric id3);
131 public void ComputeQuadric(double id0[],double id1[],double id2[],vtkQuadric id3)
132 { ComputeQuadric_28(id0,id1,id2,id3); }
134 public vtkTriangle() { super(); }
136 public vtkTriangle(long id) { super(id); }
137 public native long VTKInit();