Esempio n. 1
0
        public virtual vtkVisibilitySort GetVisibilitySort()
        {
            vtkVisibilitySort vtkVisibilitySort = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkProjectedTetrahedraMapper.vtkProjectedTetrahedraMapper_GetVisibilitySort_01(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

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