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

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

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

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