Beispiel #1
0
        public virtual vtkAbstractVolumeMapper GetMapper()
        {
            vtkAbstractVolumeMapper vtkAbstractVolumeMapper = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkVolume.vtkVolume_GetMapper_13(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

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