public virtual vtkLabelHierarchy GetHierarchy()
        {
            vtkLabelHierarchy vtkLabelHierarchy = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkLabelHierarchyIterator.vtkLabelHierarchyIterator_GetHierarchy_06(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkLabelHierarchy = (vtkLabelHierarchy)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkLabelHierarchy.Register(null);
                }
            }
            return(vtkLabelHierarchy);
        }
Ejemplo n.º 2
0
        public vtkLabelHierarchy GetOutput(int arg0)
        {
            vtkLabelHierarchy vtkLabelHierarchy = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkLabelHierarchyAlgorithm.vtkLabelHierarchyAlgorithm_GetOutput_07(base.GetCppThis(), arg0, ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkLabelHierarchy = (vtkLabelHierarchy)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkLabelHierarchy.Register(null);
                }
            }
            return(vtkLabelHierarchy);
        }
Ejemplo n.º 3
0
        public new static vtkLabelHierarchy SafeDownCast(vtkObjectBase o)
        {
            vtkLabelHierarchy vtkLabelHierarchy = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkLabelHierarchy.vtkLabelHierarchy_SafeDownCast_29((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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