Esempio n. 1
0
        public new static vtkUndirectedGraph GetData(vtkInformationVector v, int i)
        {
            vtkUndirectedGraph vtkUndirectedGraph = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkUndirectedGraph.vtkUndirectedGraph_GetData_02((v == null) ? default(HandleRef) : v.GetCppThis(), i, ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkUndirectedGraph = (vtkUndirectedGraph)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkUndirectedGraph.Register(null);
                }
            }
            return(vtkUndirectedGraph);
        }
        public vtkUndirectedGraph GetOutput(int index)
        {
            vtkUndirectedGraph vtkUndirectedGraph = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkUndirectedGraphAlgorithm.vtkUndirectedGraphAlgorithm_GetOutput_02(base.GetCppThis(), index, ref mteStatus, ref mteIndex, ref rawRefCount);

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

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