コード例 #1
0
        public new vtkTreeMapLayoutStrategy NewInstance()
        {
            vtkTreeMapLayoutStrategy result = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkTreeMapLayoutStrategy.vtkTreeMapLayoutStrategy_NewInstance_04(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkTreeMapLayoutStrategy)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
コード例 #2
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);
        }
コード例 #3
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);
        }
コード例 #4
0
 public void SetLayoutStrategy(vtkTreeMapLayoutStrategy strategy)
 {
     vtkTreeMapLayout.vtkTreeMapLayout_SetLayoutStrategy_11(base.GetCppThis(), (strategy == null) ? default(HandleRef) : strategy.GetCppThis());
 }