Пример #1
0
        public new static vtkUndirectedGraph New()
        {
            vtkUndirectedGraph result = null;
            uint   mteStatus          = 0u;
            uint   mteIndex           = 4294967295u;
            uint   rawRefCount        = 0u;
            IntPtr intPtr             = vtkUndirectedGraph.vtkUndirectedGraph_New(ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkUndirectedGraph)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
        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);
        }
Пример #3
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);
        }
Пример #4
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);
        }
Пример #5
0
 public bool ToUndirectedGraph(vtkUndirectedGraph g)
 {
     return(vtkGraph.vtkGraph_ToUndirectedGraph_60(base.GetCppThis(), (g == null) ? default(HandleRef) : g.GetCppThis()) != 0);
 }