コード例 #1
0
        public virtual vtkDataArray GetBoundedSizes()
        {
            vtkDataArray vtkDataArray = null;
            uint         mteStatus    = 0u;
            uint         mteIndex     = 4294967295u;
            uint         rawRefCount  = 0u;
            IntPtr       intPtr       = vtkLabelHierarchy.vtkLabelHierarchy_GetBoundedSizes_04(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkDataArray = (vtkDataArray)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkDataArray.Register(null);
                }
            }
            return(vtkDataArray);
        }
コード例 #2
0
        public virtual vtkDataArray GetCurrentScalars()
        {
            vtkDataArray vtkDataArray = null;
            uint         mteStatus    = 0u;
            uint         mteIndex     = 4294967295u;
            uint         rawRefCount  = 0u;
            IntPtr       intPtr       = vtkVolumeRayCastSpaceLeapingImageFilter.vtkVolumeRayCastSpaceLeapingImageFilter_GetCurrentScalars_09(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkDataArray = (vtkDataArray)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkDataArray.Register(null);
                }
            }
            return(vtkDataArray);
        }
コード例 #3
0
        public virtual vtkDataArray GetRowMask()
        {
            vtkDataArray vtkDataArray = null;
            uint         mteStatus    = 0u;
            uint         mteIndex     = 4294967295u;
            uint         rawRefCount  = 0u;
            IntPtr       intPtr       = vtkExtractHistogram2D.vtkExtractHistogram2D_GetRowMask_17(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkDataArray = (vtkDataArray)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkDataArray.Register(null);
                }
            }
            return(vtkDataArray);
        }
コード例 #4
0
ファイル: vtkPoints.cs プロジェクト: Monkeybin11/Kitware.VTK
        public vtkDataArray GetData()
        {
            vtkDataArray vtkDataArray = null;
            uint         mteStatus    = 0u;
            uint         mteIndex     = 4294967295u;
            uint         rawRefCount  = 0u;
            IntPtr       intPtr       = vtkPoints.vtkPoints_GetData_07(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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