Ejemplo n.º 1
0
        public new static vtkContextMapper2D New()
        {
            vtkContextMapper2D result = null;
            uint   mteStatus          = 0u;
            uint   mteIndex           = 4294967295u;
            uint   rawRefCount        = 0u;
            IntPtr intPtr             = vtkContextMapper2D.vtkContextMapper2D_New(ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkContextMapper2D)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
Ejemplo n.º 2
0
        public virtual vtkContextMapper2D GetData()
        {
            vtkContextMapper2D vtkContextMapper2D = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkPlot.vtkPlot_GetData_04(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkContextMapper2D = (vtkContextMapper2D)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkContextMapper2D.Register(null);
                }
            }
            return(vtkContextMapper2D);
        }