Beispiel #1
0
        public new vtkImageMapToWindowLevelColors NewInstance()
        {
            vtkImageMapToWindowLevelColors result = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkImageMapToWindowLevelColors.vtkImageMapToWindowLevelColors_NewInstance_06(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkImageMapToWindowLevelColors = (vtkImageMapToWindowLevelColors)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkImageMapToWindowLevelColors.Register(null);
                }
            }
            return(vtkImageMapToWindowLevelColors);
        }
 public void SetWindowLevel(vtkImageMapToWindowLevelColors arg0)
 {
     vtkCornerAnnotation.vtkCornerAnnotation_SetWindowLevel_36(base.GetCppThis(), (arg0 == null) ? default(HandleRef) : arg0.GetCppThis());
 }