public new static vtkPolyDataMapper New()
        {
            vtkPolyDataMapper result = null;
            uint   mteStatus         = 0u;
            uint   mteIndex          = 4294967295u;
            uint   rawRefCount       = 0u;
            IntPtr intPtr            = vtkPolyDataMapper.vtkPolyDataMapper_New(ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkPolyDataMapper)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
Beispiel #2
0
        public virtual vtkPolyDataMapper GetPolyDataMapper()
        {
            vtkPolyDataMapper vtkPolyDataMapper = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkDataSetMapper.vtkDataSetMapper_GetPolyDataMapper_03(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkPolyDataMapper = (vtkPolyDataMapper)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkPolyDataMapper.Register(null);
                }
            }
            return(vtkPolyDataMapper);
        }
 public uint GetNumberOfSubPieces(uint memoryLimit, vtkPolyDataMapper mapper)
 {
     return(vtkPipelineSize.vtkPipelineSize_GetNumberOfSubPieces_02(base.GetCppThis(), memoryLimit, (mapper == null) ? default(HandleRef) : mapper.GetCppThis()));
 }