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);
        }
Example #2
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);
        }