예제 #1
0
        public new static vtkDirectedGraph New()
        {
            vtkDirectedGraph result      = null;
            uint             mteStatus   = 0u;
            uint             mteIndex    = 4294967295u;
            uint             rawRefCount = 0u;
            IntPtr           intPtr      = vtkDirectedGraph.vtkDirectedGraph_New(ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkDirectedGraph)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
예제 #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);
        }
예제 #3
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);
        }
예제 #4
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);
        }
예제 #5
0
 public bool ToDirectedGraph(vtkDirectedGraph g)
 {
     return(vtkGraph.vtkGraph_ToDirectedGraph_59(base.GetCppThis(), (g == null) ? default(HandleRef) : g.GetCppThis()) != 0);
 }