public new vtkMINCImageAttributes NewInstance()
        {
            vtkMINCImageAttributes result = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkMINCImageAttributes.vtkMINCImageAttributes_NewInstance_23(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkMINCImageAttributes)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
        public virtual vtkMINCImageAttributes GetImageAttributes()
        {
            vtkMINCImageAttributes vtkMINCImageAttributes = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkMINCImageReader.vtkMINCImageReader_GetImageAttributes_07(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkMINCImageAttributes = (vtkMINCImageAttributes)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkMINCImageAttributes.Register(null);
                }
            }
            return(vtkMINCImageAttributes);
        }
Beispiel #4
0
 public virtual void SetImageAttributes(vtkMINCImageAttributes attributes)
 {
     vtkMINCImageWriter.vtkMINCImageWriter_SetImageAttributes_17(base.GetCppThis(), (attributes == null) ? default(HandleRef) : attributes.GetCppThis());
 }
 public virtual void ShallowCopy(vtkMINCImageAttributes source)
 {
     vtkMINCImageAttributes.vtkMINCImageAttributes_ShallowCopy_37(base.GetCppThis(), (source == null) ? default(HandleRef) : source.GetCppThis());
 }