예제 #1
0
    public override HBaseOperator Clone()
    {
        IntPtr        cPtr = HCSMVOPINVOKE.HOpCameraPanTouch_Clone(swigCPtr);
        HBaseOperator ret  = (cPtr == IntPtr.Zero) ? null : new HBaseOperator(cPtr, false);

        return(ret);
    }
예제 #2
0
    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);
    }
예제 #3
0
    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);
    }
예제 #4
0
    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);
    }
예제 #6
0
        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);
        }
예제 #7
0
        /*!
         * 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);
        }
예제 #8
0
 private IntPtr SwigDirectorClone()
 {
     return(HBaseOperator.getCPtr(Clone()).Handle);
 }
예제 #9
0
 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();
 }
예제 #10
0
 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();
 }
예제 #11
0
 public static HandleRef getCPtr(HBaseOperator obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
예제 #12
0
 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)
 {
 }
예제 #13
0
 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)
 {
 }