Ejemplo n.º 1
0
        public virtual vtkMapper GetMapper()
        {
            vtkMapper vtkMapper   = null;
            uint      mteStatus   = 0u;
            uint      mteIndex    = 4294967295u;
            uint      rawRefCount = 0u;
            IntPtr    intPtr      = vtkMNIObjectWriter.vtkMNIObjectWriter_GetMapper_04(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkMapper = (vtkMapper)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkMapper.Register(null);
                }
            }
            return(vtkMapper);
        }
Ejemplo n.º 3
0
        public vtkMapper GetNextItem()
        {
            vtkMapper vtkMapper   = null;
            uint      mteStatus   = 0u;
            uint      mteIndex    = 4294967295u;
            uint      rawRefCount = 0u;
            IntPtr    intPtr      = vtkMapperCollection.vtkMapperCollection_GetNextItem_03(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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