コード例 #1
0
        public virtual vtkTreeMapLayoutStrategy GetLayoutStrategy()
        {
            vtkTreeMapLayoutStrategy vtkTreeMapLayoutStrategy = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkTreeMapLayout.vtkTreeMapLayout_GetLayoutStrategy_03(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkTreeMapLayoutStrategy = (vtkTreeMapLayoutStrategy)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkTreeMapLayoutStrategy.Register(null);
                }
            }
            return(vtkTreeMapLayoutStrategy);
        }
コード例 #2
0
        public new static vtkTreeMapLayoutStrategy SafeDownCast(vtkObjectBase o)
        {
            vtkTreeMapLayoutStrategy vtkTreeMapLayoutStrategy = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkTreeMapLayoutStrategy.vtkTreeMapLayoutStrategy_SafeDownCast_05((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkTreeMapLayoutStrategy = (vtkTreeMapLayoutStrategy)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkTreeMapLayoutStrategy.Register(null);
                }
            }
            return(vtkTreeMapLayoutStrategy);
        }