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

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

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

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