예제 #1
0
        public new vtkLightingPainter NewInstance()
        {
            vtkLightingPainter result = null;
            uint   mteStatus          = 0u;
            uint   mteIndex           = 4294967295u;
            uint   rawRefCount        = 0u;
            IntPtr intPtr             = vtkLightingPainter.vtkLightingPainter_NewInstance_04(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkLightingPainter)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
예제 #2
0
        public virtual vtkLightingPainter GetLightingPainter()
        {
            vtkLightingPainter vtkLightingPainter = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkDefaultPainter.vtkDefaultPainter_GetLightingPainter_06(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkLightingPainter = (vtkLightingPainter)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkLightingPainter.Register(null);
                }
            }
            return(vtkLightingPainter);
        }
예제 #4
0
 public void SetLightingPainter(vtkLightingPainter arg0)
 {
     vtkDefaultPainter.vtkDefaultPainter_SetLightingPainter_21(base.GetCppThis(), (arg0 == null) ? default(HandleRef) : arg0.GetCppThis());
 }