X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=vtk%2Fsrc%2Fvtk%2FvtkSplineRepresentation.java;h=f0984257190d68c4a2a305deb976032197c1eea0;hb=efb52587babd1b858c8e77fedc44a5b4ef0c1088;hp=d5019185ab0b1c2a1513b7b9d48a8484f313c995;hpb=471c46e9a685e20de958d77166461aebc7a7b6ee;p=simantics%2F3d.git diff --git a/vtk/src/vtk/vtkSplineRepresentation.java b/vtk/src/vtk/vtkSplineRepresentation.java index d5019185..f0984257 100644 --- a/vtk/src/vtk/vtkSplineRepresentation.java +++ b/vtk/src/vtk/vtkSplineRepresentation.java @@ -1,243 +1,71 @@ -// java wrapper for vtkSplineRepresentation object -// - -package vtk; -import vtk.*; - -public class vtkSplineRepresentation extends vtkWidgetRepresentation -{ - - 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 void SetInteractionState_2(int id0); - public void SetInteractionState(int id0) - { SetInteractionState_2(id0); } - - private native void SetProjectToPlane_3(int id0); - public void SetProjectToPlane(int id0) - { SetProjectToPlane_3(id0); } - - private native int GetProjectToPlane_4(); - public int GetProjectToPlane() - { return GetProjectToPlane_4(); } - - private native void ProjectToPlaneOn_5(); - public void ProjectToPlaneOn() - { ProjectToPlaneOn_5(); } - - private native void ProjectToPlaneOff_6(); - public void ProjectToPlaneOff() - { ProjectToPlaneOff_6(); } - - private native void SetPlaneSource_7(vtkPlaneSource id0); - public void SetPlaneSource(vtkPlaneSource id0) - { SetPlaneSource_7(id0); } - - private native void SetProjectionNormal_8(int id0); - public void SetProjectionNormal(int id0) - { SetProjectionNormal_8(id0); } - - private native int GetProjectionNormalMinValue_9(); - public int GetProjectionNormalMinValue() - { return GetProjectionNormalMinValue_9(); } - - private native int GetProjectionNormalMaxValue_10(); - public int GetProjectionNormalMaxValue() - { return GetProjectionNormalMaxValue_10(); } - - private native int GetProjectionNormal_11(); - public int GetProjectionNormal() - { return GetProjectionNormal_11(); } - - private native void SetProjectionNormalToXAxes_12(); - public void SetProjectionNormalToXAxes() - { SetProjectionNormalToXAxes_12(); } - - private native void SetProjectionNormalToYAxes_13(); - public void SetProjectionNormalToYAxes() - { SetProjectionNormalToYAxes_13(); } - - private native void SetProjectionNormalToZAxes_14(); - public void SetProjectionNormalToZAxes() - { SetProjectionNormalToZAxes_14(); } - - private native void SetProjectionNormalToOblique_15(); - public void SetProjectionNormalToOblique() - { SetProjectionNormalToOblique_15(); } - - private native void SetProjectionPosition_16(double id0); - public void SetProjectionPosition(double id0) - { SetProjectionPosition_16(id0); } - - private native double GetProjectionPosition_17(); - public double GetProjectionPosition() - { return GetProjectionPosition_17(); } - - private native void GetPolyData_18(vtkPolyData id0); - public void GetPolyData(vtkPolyData id0) - { GetPolyData_18(id0); } - - private native long GetHandleProperty_19(); - public vtkProperty GetHandleProperty() { - long temp = GetHandleProperty_19(); - - if (temp == 0) return null; - return (vtkProperty)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native long GetSelectedHandleProperty_20(); - public vtkProperty GetSelectedHandleProperty() { - long temp = GetSelectedHandleProperty_20(); - - if (temp == 0) return null; - return (vtkProperty)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native long GetLineProperty_21(); - public vtkProperty GetLineProperty() { - long temp = GetLineProperty_21(); - - if (temp == 0) return null; - return (vtkProperty)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native long GetSelectedLineProperty_22(); - public vtkProperty GetSelectedLineProperty() { - long temp = GetSelectedLineProperty_22(); - - if (temp == 0) return null; - return (vtkProperty)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native void SetNumberOfHandles_23(int id0); - public void SetNumberOfHandles(int id0) - { SetNumberOfHandles_23(id0); } - - private native int GetNumberOfHandles_24(); - public int GetNumberOfHandles() - { return GetNumberOfHandles_24(); } - - private native void SetResolution_25(int id0); - public void SetResolution(int id0) - { SetResolution_25(id0); } - - private native int GetResolution_26(); - public int GetResolution() - { return GetResolution_26(); } - - private native void SetParametricSpline_27(vtkParametricSpline id0); - public void SetParametricSpline(vtkParametricSpline id0) - { SetParametricSpline_27(id0); } - - private native long GetParametricSpline_28(); - public vtkParametricSpline GetParametricSpline() { - long temp = GetParametricSpline_28(); - - if (temp == 0) return null; - return (vtkParametricSpline)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native void SetHandlePosition_29(int id0,double id1,double id2,double id3); - public void SetHandlePosition(int id0,double id1,double id2,double id3) - { SetHandlePosition_29(id0,id1,id2,id3); } - - private native void SetHandlePosition_30(int id0,double id1[]); - public void SetHandlePosition(int id0,double id1[]) - { SetHandlePosition_30(id0,id1); } - - private native void GetHandlePosition_31(int id0,double id1[]); - public void GetHandlePosition(int id0,double id1[]) - { GetHandlePosition_31(id0,id1); } - - private native long GetHandlePositions_32(); - public vtkDoubleArray GetHandlePositions() { - long temp = GetHandlePositions_32(); - - if (temp == 0) return null; - return (vtkDoubleArray)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native void SetClosed_33(int id0); - public void SetClosed(int id0) - { SetClosed_33(id0); } - - private native int GetClosed_34(); - public int GetClosed() - { return GetClosed_34(); } - - private native void ClosedOn_35(); - public void ClosedOn() - { ClosedOn_35(); } - - private native void ClosedOff_36(); - public void ClosedOff() - { ClosedOff_36(); } - - private native int IsClosed_37(); - public int IsClosed() - { return IsClosed_37(); } - - private native double GetSummedLength_38(); - public double GetSummedLength() - { return GetSummedLength_38(); } - - private native void InitializeHandles_39(vtkPoints id0); - public void InitializeHandles(vtkPoints id0) - { InitializeHandles_39(id0); } - - private native void BuildRepresentation_40(); - public void BuildRepresentation() - { BuildRepresentation_40(); } - - private native int ComputeInteractionState_41(int id0,int id1,int id2); - public int ComputeInteractionState(int id0,int id1,int id2) - { return ComputeInteractionState_41(id0,id1,id2); } - - private native void StartWidgetInteraction_42(double id0[]); - public void StartWidgetInteraction(double id0[]) - { StartWidgetInteraction_42(id0); } - - private native void WidgetInteraction_43(double id0[]); - public void WidgetInteraction(double id0[]) - { WidgetInteraction_43(id0); } - - private native void EndWidgetInteraction_44(double id0[]); - public void EndWidgetInteraction(double id0[]) - { EndWidgetInteraction_44(id0); } - - private native void ReleaseGraphicsResources_45(vtkWindow id0); - public void ReleaseGraphicsResources(vtkWindow id0) - { ReleaseGraphicsResources_45(id0); } - - private native int RenderOpaqueGeometry_46(vtkViewport id0); - public int RenderOpaqueGeometry(vtkViewport id0) - { return RenderOpaqueGeometry_46(id0); } - - private native int RenderTranslucentPolygonalGeometry_47(vtkViewport id0); - public int RenderTranslucentPolygonalGeometry(vtkViewport id0) - { return RenderTranslucentPolygonalGeometry_47(id0); } - - private native int RenderOverlay_48(vtkViewport id0); - public int RenderOverlay(vtkViewport id0) - { return RenderOverlay_48(id0); } - - private native int HasTranslucentPolygonalGeometry_49(); - public int HasTranslucentPolygonalGeometry() - { return HasTranslucentPolygonalGeometry_49(); } - - private native void SetLineColor_50(double id0,double id1,double id2); - public void SetLineColor(double id0,double id1,double id2) - { SetLineColor_50(id0,id1,id2); } - - public vtkSplineRepresentation() { super(); } - - public vtkSplineRepresentation(long id) { super(id); } - public native long VTKInit(); - -} +// java wrapper for vtkSplineRepresentation object +// + +package vtk; +import vtk.*; + +public class vtkSplineRepresentation extends vtkCurveRepresentation +{ + + 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 void GetPolyData_2(vtkPolyData id0); + public void GetPolyData(vtkPolyData id0) + { GetPolyData_2(id0); } + + private native void SetNumberOfHandles_3(int id0); + public void SetNumberOfHandles(int id0) + { SetNumberOfHandles_3(id0); } + + private native void SetResolution_4(int id0); + public void SetResolution(int id0) + { SetResolution_4(id0); } + + private native int GetResolution_5(); + public int GetResolution() + { return GetResolution_5(); } + + private native void SetParametricSpline_6(vtkParametricSpline id0); + public void SetParametricSpline(vtkParametricSpline id0) + { SetParametricSpline_6(id0); } + + private native long GetParametricSpline_7(); + public vtkParametricSpline GetParametricSpline() { + long temp = GetParametricSpline_7(); + + if (temp == 0) return null; + return (vtkParametricSpline)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native long GetHandlePositions_8(); + public vtkDoubleArray GetHandlePositions() { + long temp = GetHandlePositions_8(); + + if (temp == 0) return null; + return (vtkDoubleArray)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native double GetSummedLength_9(); + public double GetSummedLength() + { return GetSummedLength_9(); } + + private native void InitializeHandles_10(vtkPoints id0); + public void InitializeHandles(vtkPoints id0) + { InitializeHandles_10(id0); } + + private native void BuildRepresentation_11(); + public void BuildRepresentation() + { BuildRepresentation_11(); } + + public vtkSplineRepresentation() { super(); } + + public vtkSplineRepresentation(long id) { super(id); } + public native long VTKInit(); + +}