コード例 #1
0
        public vtkUnstructuredGrid GetUnstructuredGridOutput()
        {
            vtkUnstructuredGrid vtkUnstructuredGrid = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkPointSetAlgorithm.vtkPointSetAlgorithm_GetUnstructuredGridOutput_10(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

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

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkUnstructuredGrid = (vtkUnstructuredGrid)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkUnstructuredGrid.Register(null);
                }
            }
            return(vtkUnstructuredGrid);
        }
コード例 #5
0
        public new static vtkUnstructuredGrid GetData(vtkInformationVector v, int i)
        {
            vtkUnstructuredGrid vtkUnstructuredGrid = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkUnstructuredGrid.vtkUnstructuredGrid_GetData_23((v == null) ? default(HandleRef) : v.GetCppThis(), i, ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkUnstructuredGrid = (vtkUnstructuredGrid)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkUnstructuredGrid.Register(null);
                }
            }
            return(vtkUnstructuredGrid);
        }
コード例 #6
0
        public vtkUnstructuredGrid InitPointInsertion(IntPtr center, double length, long numPts, vtkPoints pts)
        {
            vtkUnstructuredGrid vtkUnstructuredGrid = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkDelaunay3D.vtkDelaunay3D_InitPointInsertion_17(base.GetCppThis(), center, length, numPts, (pts == null) ? default(HandleRef) : pts.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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