X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=vtk%2Fsrc%2Fvtk%2FvtkCompassRepresentation.java;h=05d8ea515916453861535286d5860244a06ac450;hb=3523a218827de60e1aa4ce7be126342418ddb054;hp=aa947cd32e06b1e5426949e3a974042c635da866;hpb=471c46e9a685e20de958d77166461aebc7a7b6ee;p=simantics%2F3d.git diff --git a/vtk/src/vtk/vtkCompassRepresentation.java b/vtk/src/vtk/vtkCompassRepresentation.java index aa947cd3..05d8ea51 100644 --- a/vtk/src/vtk/vtkCompassRepresentation.java +++ b/vtk/src/vtk/vtkCompassRepresentation.java @@ -1,155 +1,155 @@ -// java wrapper for vtkCompassRepresentation object -// - -package vtk; -import vtk.*; - -public class vtkCompassRepresentation extends vtkContinuousValueWidgetRepresentation -{ - - 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 long GetPoint1Coordinate_2(); - public vtkCoordinate GetPoint1Coordinate() { - long temp = GetPoint1Coordinate_2(); - - if (temp == 0) return null; - return (vtkCoordinate)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native long GetPoint2Coordinate_3(); - public vtkCoordinate GetPoint2Coordinate() { - long temp = GetPoint2Coordinate_3(); - - if (temp == 0) return null; - return (vtkCoordinate)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native long GetRingProperty_4(); - public vtkProperty2D GetRingProperty() { - long temp = GetRingProperty_4(); - - if (temp == 0) return null; - return (vtkProperty2D)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native long GetSelectedProperty_5(); - public vtkProperty2D GetSelectedProperty() { - long temp = GetSelectedProperty_5(); - - if (temp == 0) return null; - return (vtkProperty2D)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native long GetLabelProperty_6(); - public vtkTextProperty GetLabelProperty() { - long temp = GetLabelProperty_6(); - - if (temp == 0) return null; - return (vtkTextProperty)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native void PlaceWidget_7(double id0[]); - public void PlaceWidget(double id0[]) - { PlaceWidget_7(id0); } - - private native void BuildRepresentation_8(); - public void BuildRepresentation() - { BuildRepresentation_8(); } - - private native void StartWidgetInteraction_9(double id0[]); - public void StartWidgetInteraction(double id0[]) - { StartWidgetInteraction_9(id0); } - - private native void WidgetInteraction_10(double id0[]); - public void WidgetInteraction(double id0[]) - { WidgetInteraction_10(id0); } - - private native void TiltWidgetInteraction_11(double id0[]); - public void TiltWidgetInteraction(double id0[]) - { TiltWidgetInteraction_11(id0); } - - private native void DistanceWidgetInteraction_12(double id0[]); - public void DistanceWidgetInteraction(double id0[]) - { DistanceWidgetInteraction_12(id0); } - - private native int ComputeInteractionState_13(int id0,int id1,int id2); - public int ComputeInteractionState(int id0,int id1,int id2) - { return ComputeInteractionState_13(id0,id1,id2); } - - private native void Highlight_14(int id0); - public void Highlight(int id0) - { Highlight_14(id0); } - - private native void GetActors_15(vtkPropCollection id0); - public void GetActors(vtkPropCollection id0) - { GetActors_15(id0); } - - private native void ReleaseGraphicsResources_16(vtkWindow id0); - public void ReleaseGraphicsResources(vtkWindow id0) - { ReleaseGraphicsResources_16(id0); } - - private native int RenderOverlay_17(vtkViewport id0); - public int RenderOverlay(vtkViewport id0) - { return RenderOverlay_17(id0); } - - private native int RenderOpaqueGeometry_18(vtkViewport id0); - public int RenderOpaqueGeometry(vtkViewport id0) - { return RenderOpaqueGeometry_18(id0); } - - private native void SetHeading_19(double id0); - public void SetHeading(double id0) - { SetHeading_19(id0); } - - private native double GetHeading_20(); - public double GetHeading() - { return GetHeading_20(); } - - private native void SetTilt_21(double id0); - public void SetTilt(double id0) - { SetTilt_21(id0); } - - private native double GetTilt_22(); - public double GetTilt() - { return GetTilt_22(); } - - private native void UpdateTilt_23(double id0); - public void UpdateTilt(double id0) - { UpdateTilt_23(id0); } - - private native void EndTilt_24(); - public void EndTilt() - { EndTilt_24(); } - - private native void SetDistance_25(double id0); - public void SetDistance(double id0) - { SetDistance_25(id0); } - - private native double GetDistance_26(); - public double GetDistance() - { return GetDistance_26(); } - - private native void UpdateDistance_27(double id0); - public void UpdateDistance(double id0) - { UpdateDistance_27(id0); } - - private native void EndDistance_28(); - public void EndDistance() - { EndDistance_28(); } - - private native void SetRenderer_29(vtkRenderer id0); - public void SetRenderer(vtkRenderer id0) - { SetRenderer_29(id0); } - - public vtkCompassRepresentation() { super(); } - - public vtkCompassRepresentation(long id) { super(id); } - public native long VTKInit(); - -} +// java wrapper for vtkCompassRepresentation object +// + +package vtk; +import vtk.*; + +public class vtkCompassRepresentation extends vtkContinuousValueWidgetRepresentation +{ + + 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 long GetPoint1Coordinate_2(); + public vtkCoordinate GetPoint1Coordinate() { + long temp = GetPoint1Coordinate_2(); + + if (temp == 0) return null; + return (vtkCoordinate)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native long GetPoint2Coordinate_3(); + public vtkCoordinate GetPoint2Coordinate() { + long temp = GetPoint2Coordinate_3(); + + if (temp == 0) return null; + return (vtkCoordinate)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native long GetRingProperty_4(); + public vtkProperty2D GetRingProperty() { + long temp = GetRingProperty_4(); + + if (temp == 0) return null; + return (vtkProperty2D)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native long GetSelectedProperty_5(); + public vtkProperty2D GetSelectedProperty() { + long temp = GetSelectedProperty_5(); + + if (temp == 0) return null; + return (vtkProperty2D)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native long GetLabelProperty_6(); + public vtkTextProperty GetLabelProperty() { + long temp = GetLabelProperty_6(); + + if (temp == 0) return null; + return (vtkTextProperty)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native void PlaceWidget_7(double id0[]); + public void PlaceWidget(double id0[]) + { PlaceWidget_7(id0); } + + private native void BuildRepresentation_8(); + public void BuildRepresentation() + { BuildRepresentation_8(); } + + private native void StartWidgetInteraction_9(double id0[]); + public void StartWidgetInteraction(double id0[]) + { StartWidgetInteraction_9(id0); } + + private native void WidgetInteraction_10(double id0[]); + public void WidgetInteraction(double id0[]) + { WidgetInteraction_10(id0); } + + private native void TiltWidgetInteraction_11(double id0[]); + public void TiltWidgetInteraction(double id0[]) + { TiltWidgetInteraction_11(id0); } + + private native void DistanceWidgetInteraction_12(double id0[]); + public void DistanceWidgetInteraction(double id0[]) + { DistanceWidgetInteraction_12(id0); } + + private native int ComputeInteractionState_13(int id0,int id1,int id2); + public int ComputeInteractionState(int id0,int id1,int id2) + { return ComputeInteractionState_13(id0,id1,id2); } + + private native void Highlight_14(int id0); + public void Highlight(int id0) + { Highlight_14(id0); } + + private native void GetActors_15(vtkPropCollection id0); + public void GetActors(vtkPropCollection id0) + { GetActors_15(id0); } + + private native void ReleaseGraphicsResources_16(vtkWindow id0); + public void ReleaseGraphicsResources(vtkWindow id0) + { ReleaseGraphicsResources_16(id0); } + + private native int RenderOverlay_17(vtkViewport id0); + public int RenderOverlay(vtkViewport id0) + { return RenderOverlay_17(id0); } + + private native int RenderOpaqueGeometry_18(vtkViewport id0); + public int RenderOpaqueGeometry(vtkViewport id0) + { return RenderOpaqueGeometry_18(id0); } + + private native void SetHeading_19(double id0); + public void SetHeading(double id0) + { SetHeading_19(id0); } + + private native double GetHeading_20(); + public double GetHeading() + { return GetHeading_20(); } + + private native void SetTilt_21(double id0); + public void SetTilt(double id0) + { SetTilt_21(id0); } + + private native double GetTilt_22(); + public double GetTilt() + { return GetTilt_22(); } + + private native void UpdateTilt_23(double id0); + public void UpdateTilt(double id0) + { UpdateTilt_23(id0); } + + private native void EndTilt_24(); + public void EndTilt() + { EndTilt_24(); } + + private native void SetDistance_25(double id0); + public void SetDistance(double id0) + { SetDistance_25(id0); } + + private native double GetDistance_26(); + public double GetDistance() + { return GetDistance_26(); } + + private native void UpdateDistance_27(double id0); + public void UpdateDistance(double id0) + { UpdateDistance_27(id0); } + + private native void EndDistance_28(); + public void EndDistance() + { EndDistance_28(); } + + private native void SetRenderer_29(vtkRenderer id0); + public void SetRenderer(vtkRenderer id0) + { SetRenderer_29(id0); } + + public vtkCompassRepresentation() { super(); } + + public vtkCompassRepresentation(long id) { super(id); } + public native long VTKInit(); + +}