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

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

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkMapper2D = (vtkMapper2D)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkMapper2D.Register(null);
                }
            }
            return(vtkMapper2D);
        }
예제 #4
0
 public virtual void SetMapper(vtkMapper2D mapper)
 {
     vtkActor2D.vtkActor2D_SetMapper_27(base.GetCppThis(), (mapper == null) ? default(HandleRef) : mapper.GetCppThis());
 }