public new vtkPolyDataMapper2D NewInstance()
        {
            vtkPolyDataMapper2D result = null;
            uint   mteStatus           = 0u;
            uint   mteIndex            = 4294967295u;
            uint   rawRefCount         = 0u;
            IntPtr intPtr = vtkPolyDataMapper2D.vtkPolyDataMapper2D_NewInstance_23(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkPolyDataMapper2D = (vtkPolyDataMapper2D)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkPolyDataMapper2D.Register(null);
                }
            }
            return(vtkPolyDataMapper2D);
        }
示例#3
0
 public void SetMapper(vtkPolyDataMapper2D mapper)
 {
     vtkTextActor.vtkTextActor_SetMapper_29(base.GetCppThis(), (mapper == null) ? default(HandleRef) : mapper.GetCppThis());
 }