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

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

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

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