]> gerrit.simantics Code Review - simantics/3d.git/blob - vtk/src/vtk/vtkPolyhedron.java
Loading VTK dlls with plug-in activator.
[simantics/3d.git] / vtk / src / vtk / vtkPolyhedron.java
1 // java wrapper for vtkPolyhedron object
2 //
3
4 package vtk;
5 import vtk.*;
6
7 public class vtkPolyhedron extends vtkCell3D
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 int GetCellType_2();
19   public int GetCellType()
20     { return GetCellType_2(); }
21
22   private native int RequiresInitialization_3();
23   public int RequiresInitialization()
24     { return RequiresInitialization_3(); }
25
26   private native void Initialize_4();
27   public void Initialize()
28     { Initialize_4(); }
29
30   private native int GetNumberOfEdges_5();
31   public int GetNumberOfEdges()
32     { return GetNumberOfEdges_5(); }
33
34   private native long GetEdge_6(int id0);
35   public vtkCell GetEdge(int id0) {
36     long temp = GetEdge_6(id0);
37
38     if (temp == 0) return null;
39     return (vtkCell)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
40 }
41
42   private native int GetNumberOfFaces_7();
43   public int GetNumberOfFaces()
44     { return GetNumberOfFaces_7(); }
45
46   private native long GetFace_8(int id0);
47   public vtkCell GetFace(int id0) {
48     long temp = GetFace_8(id0);
49
50     if (temp == 0) return null;
51     return (vtkCell)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
52 }
53
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); }
57
58   private native void Clip_10(double id0,vtkDataArray id1,vtkIncrementalPointLocator id2,vtkCellArray id3,vtkPointData id4,vtkPointData id5,vtkCellData id6,int id7,vtkCellData id8,int id9);
59   public void Clip(double id0,vtkDataArray id1,vtkIncrementalPointLocator id2,vtkCellArray id3,vtkPointData id4,vtkPointData id5,vtkCellData id6,int id7,vtkCellData id8,int id9)
60     { Clip_10(id0,id1,id2,id3,id4,id5,id6,id7,id8,id9); }
61
62   private native int Triangulate_11(int id0,vtkIdList id1,vtkPoints id2);
63   public int Triangulate(int id0,vtkIdList id1,vtkPoints id2)
64     { return Triangulate_11(id0,id1,id2); }
65
66   private native int CellBoundary_12(int id0,double id1[],vtkIdList id2);
67   public int CellBoundary(int id0,double id1[],vtkIdList id2)
68     { return CellBoundary_12(id0,id1,id2); }
69
70   private native int GetParametricCenter_13(double id0[]);
71   public int GetParametricCenter(double id0[])
72     { return GetParametricCenter_13(id0); }
73
74   private native int IsPrimaryCell_14();
75   public int IsPrimaryCell()
76     { return IsPrimaryCell_14(); }
77
78   private native int RequiresExplicitFaceRepresentation_15();
79   public int RequiresExplicitFaceRepresentation()
80     { return RequiresExplicitFaceRepresentation_15(); }
81
82   private native int IsInside_16(double id0[],double id1);
83   public int IsInside(double id0[],double id1)
84     { return IsInside_16(id0,id1); }
85
86   private native boolean IsConvex_17();
87   public boolean IsConvex()
88     { return IsConvex_17(); }
89
90   private native long GetPolyData_18();
91   public vtkPolyData GetPolyData() {
92     long temp = GetPolyData_18();
93
94     if (temp == 0) return null;
95     return (vtkPolyData)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
96 }
97
98   public vtkPolyhedron() { super(); }
99
100   public vtkPolyhedron(long id) { super(id); }
101   public native long   VTKInit();
102
103 }