コード例 #1
0
        public new static vtkImageCheckerboard New()
        {
            vtkImageCheckerboard result = null;
            uint   mteStatus            = 0u;
            uint   mteIndex             = 4294967295u;
            uint   rawRefCount          = 0u;
            IntPtr intPtr = vtkImageCheckerboard.vtkImageCheckerboard_New(ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkImageCheckerboard)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
コード例 #2
0
        public new static vtkImageCheckerboard SafeDownCast(vtkObjectBase o)
        {
            vtkImageCheckerboard vtkImageCheckerboard = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkImageCheckerboard.vtkImageCheckerboard_SafeDownCast_07((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkImageCheckerboard = (vtkImageCheckerboard)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkImageCheckerboard.Register(null);
                }
            }
            return(vtkImageCheckerboard);
        }
コード例 #3
0
        public virtual vtkImageCheckerboard GetCheckerboard()
        {
            vtkImageCheckerboard vtkImageCheckerboard = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkCheckerboardRepresentation.vtkCheckerboardRepresentation_GetCheckerboard_04(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkImageCheckerboard = (vtkImageCheckerboard)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkImageCheckerboard.Register(null);
                }
            }
            return(vtkImageCheckerboard);
        }
コード例 #4
0
 public void SetCheckerboard(vtkImageCheckerboard chkrbrd)
 {
     vtkCheckerboardRepresentation.vtkCheckerboardRepresentation_SetCheckerboard_23(base.GetCppThis(), (chkrbrd == null) ? default(HandleRef) : chkrbrd.GetCppThis());
 }