public override HBaseOperator Clone() { IntPtr cPtr = HCSMVOPINVOKE.HOpCameraPanTouch_Clone(swigCPtr); HBaseOperator ret = (cPtr == IntPtr.Zero) ? null : new HBaseOperator(cPtr, false); return(ret); }
public override HBaseOperator Clone() { IntPtr cPtr = ((this.GetType() == typeof(HOpMarkupFreehand)) ? HCSMVOPINVOKE.HOpMarkupFreehand_Clone(swigCPtr) : HCSMVOPINVOKE.HOpMarkupFreehand_CloneSwigExplicitHOpMarkupFreehand(swigCPtr)); HBaseOperator ret = (cPtr == IntPtr.Zero) ? null : new HBaseOperator(cPtr, false); return(ret); }
public override HBaseOperator Clone() { IntPtr cPtr = ((this.GetType() == typeof(HOpConstructPolyline)) ? HCSMVOPINVOKE.HOpConstructPolyline_Clone(swigCPtr) : HCSMVOPINVOKE.HOpConstructPolyline_CloneSwigExplicitHOpConstructPolyline(swigCPtr)); HBaseOperator ret = (cPtr == IntPtr.Zero) ? null : new HBaseOperator(cPtr, false); return(ret); }
public virtual HBaseOperator Clone() { IntPtr cPtr = ((this.GetType() == typeof(HBaseOperator)) ? HCSMVOPINVOKE.HBaseOperator_Clone(swigCPtr) : HCSMVOPINVOKE.HBaseOperator_CloneSwigExplicitHBaseOperator(swigCPtr)); HBaseOperator ret = (cPtr == IntPtr.Zero) ? null : new HBaseOperator(cPtr, false); return(ret); }
public override HBaseOperator Clone() { IntPtr cPtr = ((this.GetType() == typeof(HOpCameraRelativeOrbit)) ? HCSMVOPINVOKE.HOpCameraRelativeOrbit_Clone(swigCPtr) : HCSMVOPINVOKE.HOpCameraRelativeOrbit_CloneSwigExplicitHOpCameraRelativeOrbit(swigCPtr)); HBaseOperator ret = (cPtr == IntPtr.Zero) ? null : new HBaseOperator(cPtr, false); return(ret); }
protected override void Dispose(bool disposing) { if (m_pHOperator != null) { m_pHOperator.Dispose(); m_pHOperator = null; } if (m_pHSelection != null) { m_pHSelection.Dispose(); m_pHSelection = null; m_pHView.SetSelection((HSelectionSet)null); } if (m_pHView != null) { m_pHView.Dispose(); m_pHView = null; } if (m_pHModel != null) { m_pHModel.Dispose(); m_pHModel = null; } base.Dispose(disposing); }
/*! * Deletes the current operator associated with the HBaseView object (if any) and resets the HBaseView's * current operator to the new one * \param new_operator A reference to an HBaseOperator object to be used as the new operator */ public void SetCurrentOperator(HBaseOperator new_operator) { HBaseOperator current_operator = m_pHView.GetCurrentOperator(); if (current_operator != null) { current_operator.Dispose(); } if (m_pHOperator != null) { ((HBaseOperator)m_pHOperator).Dispose(); } m_pHOperator = new_operator; m_pHView.SetCurrentOperator((HBaseOperator)m_pHOperator); }
private IntPtr SwigDirectorClone() { return(HBaseOperator.getCPtr(Clone()).Handle); }
public HOpCameraManipulate(HBaseView view, int DoRepeat, int DoCapture, HBaseOperator orbit) : this(HCSMVOPINVOKE.new_HOpCameraManipulate__SWIG_4(HBaseView.getCPtr(view), DoRepeat, DoCapture, HBaseOperator.getCPtr(orbit)), true) { SwigDirectorConnect(); }
public HOpCameraManipulate(HBaseView view, int DoRepeat, int DoCapture, HBaseOperator orbit, HBaseOperator pan, HBaseOperator zoom, HBaseOperator relative) : this(HCSMVOPINVOKE.new_HOpCameraManipulate__SWIG_1(HBaseView.getCPtr(view), DoRepeat, DoCapture, HBaseOperator.getCPtr(orbit), HBaseOperator.getCPtr(pan), HBaseOperator.getCPtr(zoom), HBaseOperator.getCPtr(relative)), true) { SwigDirectorConnect(); }
public static HandleRef getCPtr(HBaseOperator obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }
public HOpCameraManipulateTouch(HBaseView view, int DoRepeat, int DoCapture, HBaseOperator orbit) : this(HCSMVOPINVOKE.new_HOpCameraManipulateTouch__SWIG_3(HBaseView.getCPtr(view), DoRepeat, DoCapture, HBaseOperator.getCPtr(orbit)), true) { }
public HOpCameraManipulateTouch(HBaseView view, int DoRepeat, int DoCapture, HBaseOperator orbit, HBaseOperator pan, HBaseOperator zoom, HBaseOperator roll) : this(HCSMVOPINVOKE.new_HOpCameraManipulateTouch__SWIG_0(HBaseView.getCPtr(view), DoRepeat, DoCapture, HBaseOperator.getCPtr(orbit), HBaseOperator.getCPtr(pan), HBaseOperator.getCPtr(zoom), HBaseOperator.getCPtr(roll)), true) { }