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

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

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkPainter = (vtkPainter)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkPainter.Register(null);
                }
            }
            return(vtkPainter);
        }
Beispiel #4
0
        public virtual vtkPainter GetSelectionPainter()
        {
            vtkPainter vtkPainter  = null;
            uint       mteStatus   = 0u;
            uint       mteIndex    = 4294967295u;
            uint       rawRefCount = 0u;
            IntPtr     intPtr      = vtkPainterPolyDataMapper.vtkPainterPolyDataMapper_GetSelectionPainter_02(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkPainter = (vtkPainter)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkPainter.Register(null);
                }
            }
            return(vtkPainter);
        }
 public override void SetDelegatePainter(vtkPainter arg0)
 {
     vtkDefaultPainter.vtkDefaultPainter_SetDelegatePainter_19(base.GetCppThis(), (arg0 == null) ? default(HandleRef) : arg0.GetCppThis());
 }
Beispiel #6
0
 public void SetSelectionPainter(vtkPainter arg0)
 {
     vtkPainterPolyDataMapper.vtkPainterPolyDataMapper_SetSelectionPainter_16(base.GetCppThis(), (arg0 == null) ? default(HandleRef) : arg0.GetCppThis());
 }