コード例 #1
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);
        }
コード例 #2
0
 public HRegionSelItem(HShellObject oShellObj, HSelectionSet selection_set, int incl_count, MVO_POINTER_SIZED_INT[] incl_keys, int region) : this(HCSMVOPINVOKE.new_HRegionSelItem(HShellObject.getCPtr(oShellObj), HSelectionSet.getCPtr(selection_set), incl_count, incl_keys, region), true)
 {
     if (HCSMVOPINVOKE.SWIGPendingException.Pending)
     {
         throw HCSMVOPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #3
0
ファイル: HSmartSelItem.cs プロジェクト: presscad/MyBMConvert
 public HSmartSelItem(MVO_POINTER_SIZED_INT key, HSelectionSet selection_set, int incl_count, MVO_POINTER_SIZED_INT[] incl_keys, bool is_segment) : this(HCSMVOPINVOKE.new_HSmartSelItem__SWIG_1(key, HSelectionSet.getCPtr(selection_set), incl_count, incl_keys, is_segment), true)
 {
 }
コード例 #4
0
ファイル: HSmartSelItem.cs プロジェクト: presscad/MyBMConvert
    public static bool IsRegionHighlighted(MVO_POINTER_SIZED_INT key, HSelectionSet selection_set, int incl_count, MVO_POINTER_SIZED_INT[] incl_keys, int region)
    {
        bool ret = HCSMVOPINVOKE.HSmartSelItem_IsRegionHighlighted(key, HSelectionSet.getCPtr(selection_set), incl_count, incl_keys, region);

        return(ret);
    }
コード例 #5
0
 public HSubentitySelItem(MVO_POINTER_SIZED_INT key, HSelectionSet selection_set, int incl_count, MVO_POINTER_SIZED_INT[] incl_keys, int face_count, int[] faces, int vertex_count, int[] vertex1, int[] vertex2) : this(HCSMVOPINVOKE.new_HSubentitySelItem__SWIG_4(key, HSelectionSet.getCPtr(selection_set), incl_count, incl_keys, face_count, faces, vertex_count, vertex1, vertex2), true)
 {
 }
コード例 #6
0
 public HSubentitySelItem(MVO_POINTER_SIZED_INT key, HSelectionSet selection_set, int incl_count, MVO_POINTER_SIZED_INT[] incl_keys, int face_count, int[] faces, int vertex_count, int[] vertex1, int[] vertex2, bool highlight_faces, bool highlight_vertices, bool highlight_edges, bool maintain_maps) : this(HCSMVOPINVOKE.new_HSubentitySelItem__SWIG_0(key, HSelectionSet.getCPtr(selection_set), incl_count, incl_keys, face_count, faces, vertex_count, vertex1, vertex2, highlight_faces, highlight_vertices, highlight_edges, maintain_maps), true)
 {
 }
コード例 #7
0
ファイル: HOldSelItem.cs プロジェクト: presscad/MyBMConvert
 public HOldSelItem(MVO_POINTER_SIZED_INT key, HSelectionSet selection_set, string selection_path, MVO_POINTER_SIZED_INT include_key, MVO_POINTER_SIZED_INT includer_key) : this(HCSMVOPINVOKE.new_HOldSelItem(key, HSelectionSet.getCPtr(selection_set), selection_path, include_key, includer_key), true)
 {
 }