コード例 #1
0
        public new static vtkMultiBlockDataSet GetData(vtkInformation info)
        {
            vtkMultiBlockDataSet vtkMultiBlockDataSet = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkMultiBlockDataSet.vtkMultiBlockDataSet_GetData_02((info == null) ? default(HandleRef) : info.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkMultiBlockDataSet = (vtkMultiBlockDataSet)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkMultiBlockDataSet.Register(null);
                }
            }
            return(vtkMultiBlockDataSet);
        }
コード例 #2
0
        public vtkMultiBlockDataSet GetOutput(int arg0)
        {
            vtkMultiBlockDataSet vtkMultiBlockDataSet = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkMultiBlockDataSetAlgorithm.vtkMultiBlockDataSetAlgorithm_GetOutput_02(base.GetCppThis(), arg0, ref mteStatus, ref mteIndex, ref rawRefCount);

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

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