public virtual HCamera GetCamera()
    {
        IntPtr  cPtr = HCSMVOPINVOKE.HUndoItemCamera_GetCamera(swigCPtr);
        HCamera ret  = (cPtr == IntPtr.Zero) ? null : new HCamera(cPtr, false);

        return(ret);
    }
Exemple #2
0
    public HCamera Camera()
    {
        IntPtr  cPtr = HCSMVOPINVOKE.HOutputHandlerOptions_Camera__SWIG_0(swigCPtr);
        HCamera ret  = (cPtr == IntPtr.Zero) ? null : new HCamera(cPtr, false);

        return(ret);
    }
Exemple #3
0
 public static void SmoothTransition(HCamera old_camera, HCamera new_camera, HBaseView view)
 {
     HCSMVOPINVOKE.HUtility_SmoothTransition__SWIG_1(HCamera.getCPtr(old_camera), HCamera.getCPtr(new_camera), HBaseView.getCPtr(view));
     if (HCSMVOPINVOKE.SWIGPendingException.Pending)
     {
         throw HCSMVOPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #4
0
 protected void AdjustHeight(HCamera oldcamera)
 {
     HCSMVOPINVOKE.HOpCameraWalk_AdjustHeight(swigCPtr, HCamera.getCPtr(oldcamera));
     if (HCSMVOPINVOKE.SWIGPendingException.Pending)
     {
         throw HCSMVOPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #5
0
 protected void AdjustCameraCollision(HCamera oldcamera, bool noextrude)
 {
     HCSMVOPINVOKE.HOpCameraWalk_AdjustCameraCollision__SWIG_0(swigCPtr, HCamera.getCPtr(oldcamera), noextrude);
     if (HCSMVOPINVOKE.SWIGPendingException.Pending)
     {
         throw HCSMVOPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public virtual void MoveText(HPoint tar, HPoint pos, HCamera camera)
 {
     HCSMVOPINVOKE.HUtilityAnnotation_MoveText__SWIG_2(swigCPtr, HPoint.getCPtr(tar), HPoint.getCPtr(pos), HCamera.getCPtr(camera));
     if (HCSMVOPINVOKE.SWIGPendingException.Pending)
     {
         throw HCSMVOPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #7
0
    public bool CameraDifferentByAngle(HCamera cam)
    {
        bool ret = HCSMVOPINVOKE.HCamera_CameraDifferentByAngle(swigCPtr, HCamera.getCPtr(cam));

        if (HCSMVOPINVOKE.SWIGPendingException.Pending)
        {
            throw HCSMVOPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemple #8
0
    public static bool CamerasEqual(HCamera camera1, HCamera camera2)
    {
        bool ret = HCSMVOPINVOKE.HUtility_CamerasEqual(HCamera.getCPtr(camera1), HCamera.getCPtr(camera2));

        if (HCSMVOPINVOKE.SWIGPendingException.Pending)
        {
            throw HCSMVOPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemple #9
0
    public virtual bool GetCamera(MVO_POINTER_SIZED_INT layerkey, HCamera cam)
    {
        bool ret = ((this.GetType() == typeof(HMarkupManager)) ? HCSMVOPINVOKE.HMarkupManager_GetCamera(swigCPtr, layerkey, HCamera.getCPtr(cam)) : HCSMVOPINVOKE.HMarkupManager_GetCameraSwigExplicitHMarkupManager(swigCPtr, layerkey, HCamera.getCPtr(cam)));

        if (HCSMVOPINVOKE.SWIGPendingException.Pending)
        {
            throw HCSMVOPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemple #10
0
 public static HandleRef getCPtr(HCamera obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Exemple #11
0
 public static void LocalPixelsToWorld(HCamera camera, bool righthanded, float xres, float yres, int xwpix, int ywpix, float[] result)
 {
     HCSMVOPINVOKE.HUtility_LocalPixelsToWorld(HCamera.getCPtr(camera), righthanded, xres, yres, xwpix, ywpix, result);
 }
Exemple #12
0
 public static void Camera_To_Transform(HCamera camera, float[] pos, float[] projection_matrix, float[] complete_matrix)
 {
     HCSMVOPINVOKE.HUtility_Camera_To_Transform(HCamera.getCPtr(camera), pos, projection_matrix, complete_matrix);
 }
Exemple #13
0
 public static void MultiSmoothTransitions(HBaseView m_pView, int num_keys, MVO_POINTER_SIZED_INT[] seg_key, float[] new_matrix, HCamera new_camera)
 {
     HCSMVOPINVOKE.HUtility_MultiSmoothTransitions__SWIG_0(HBaseView.getCPtr(m_pView), num_keys, seg_key, new_matrix, HCamera.getCPtr(new_camera));
 }
Exemple #14
0
 public void Camera(HCamera c)
 {
     HCSMVOPINVOKE.HOutputHandlerOptions_Camera__SWIG_1(swigCPtr, HCamera.getCPtr(c));
 }