示例#1
0
        public new vtkGraph NewInstance()
        {
            vtkGraph result      = null;
            uint     mteStatus   = 0u;
            uint     mteIndex    = 4294967295u;
            uint     rawRefCount = 0u;
            IntPtr   intPtr      = vtkGraph.vtkGraph_NewInstance_48(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkGraph)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
        public vtkGraph GetGraphOutput()
        {
            vtkGraph vtkGraph    = null;
            uint     mteStatus   = 0u;
            uint     mteIndex    = 4294967295u;
            uint     rawRefCount = 0u;
            IntPtr   intPtr      = vtkPassInputTypeAlgorithm.vtkPassInputTypeAlgorithm_GetGraphOutput_03(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkGraph = (vtkGraph)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkGraph.Register(null);
                }
            }
            return(vtkGraph);
        }
        public virtual vtkGraph GetGraph()
        {
            vtkGraph vtkGraph    = null;
            uint     mteStatus   = 0u;
            uint     mteIndex    = 4294967295u;
            uint     rawRefCount = 0u;
            IntPtr   intPtr      = vtkInEdgeIterator.vtkInEdgeIterator_GetGraph_01(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkGraph = (vtkGraph)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkGraph.Register(null);
                }
            }
            return(vtkGraph);
        }
        public vtkDataRepresentation SetGraphFromInput(vtkGraph input)
        {
            vtkDataRepresentation vtkDataRepresentation = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkTreeAreaView.vtkTreeAreaView_SetGraphFromInput_47(base.GetCppThis(), (input == null) ? default(HandleRef) : input.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkDataRepresentation = (vtkDataRepresentation)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkDataRepresentation.Register(null);
                }
            }
            return(vtkDataRepresentation);
        }
示例#6
0
        public new static vtkGraph SafeDownCast(vtkObjectBase o)
        {
            vtkGraph vtkGraph    = null;
            uint     mteStatus   = 0u;
            uint     mteIndex    = 4294967295u;
            uint     rawRefCount = 0u;
            IntPtr   intPtr      = vtkGraph.vtkGraph_SafeDownCast_50((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkGraph = (vtkGraph)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkGraph.Register(null);
                }
            }
            return(vtkGraph);
        }
示例#7
0
        public new vtkGraph GetInput(int port)
        {
            vtkGraph vtkGraph    = null;
            uint     mteStatus   = 0u;
            uint     mteIndex    = 4294967295u;
            uint     rawRefCount = 0u;
            IntPtr   intPtr      = vtkGraphWriter.vtkGraphWriter_GetInput_02(base.GetCppThis(), port, ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkGraph = (vtkGraph)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkGraph.Register(null);
                }
            }
            return(vtkGraph);
        }
示例#8
0
 public virtual bool CheckedShallowCopy(vtkGraph g)
 {
     return(vtkGraph.vtkGraph_CheckedShallowCopy_04(base.GetCppThis(), (g == null) ? default(HandleRef) : g.GetCppThis()) != 0);
 }
示例#9
0
 public void SetInput(vtkGraph input)
 {
     vtkGraphMapper.vtkGraphMapper_SetInput_62(base.GetCppThis(), (input == null) ? default(HandleRef) : input.GetCppThis());
 }
示例#10
0
 public bool IsSameStructure(vtkGraph other)
 {
     return(vtkGraph.vtkGraph_IsSameStructure_46(base.GetCppThis(), (other == null) ? default(HandleRef) : other.GetCppThis()) != 0);
 }
示例#11
0
 public int ReadEdgeData(vtkGraph g, int numEdges)
 {
     return(vtkDataReader.vtkDataReader_ReadEdgeData_68(base.GetCppThis(), (g == null) ? default(HandleRef) : g.GetCppThis(), numEdges));
 }
 public override void SetGraph(vtkGraph graph)
 {
     vtkSimple3DCirclesStrategy.vtkSimple3DCirclesStrategy_SetGraph_31(base.GetCppThis(), (graph == null) ? default(HandleRef) : graph.GetCppThis());
 }
示例#13
0
 public virtual void CopyStructure(vtkGraph g)
 {
     vtkGraph.vtkGraph_CopyStructure_07(base.GetCppThis(), (g == null) ? default(HandleRef) : g.GetCppThis());
 }
示例#14
0
 public virtual bool IsStructureValid(vtkGraph g)
 {
     return(vtkDirectedGraph.vtkDirectedGraph_IsStructureValid_05(base.GetCppThis(), (g == null) ? default(HandleRef) : g.GetCppThis()) != 0);
 }
示例#15
0
 public int ExtendGraph(vtkMutableGraphHelper g1, vtkGraph g2)
 {
     return(vtkMergeGraphs.vtkMergeGraphs_ExtendGraph_01(base.GetCppThis(), (g1 == null) ? default(HandleRef) : g1.GetCppThis(), (g2 == null) ? default(HandleRef) : g2.GetCppThis()));
 }
示例#16
0
 public static void GetSelectedVertices(vtkSelection input, vtkGraph data, vtkIdTypeArray indices)
 {
     vtkConvertSelection.vtkConvertSelection_GetSelectedVertices_13((input == null) ? default(HandleRef) : input.GetCppThis(), (data == null) ? default(HandleRef) : data.GetCppThis(), (indices == null) ? default(HandleRef) : indices.GetCppThis());
 }
示例#17
0
 public int ReadVertexData(vtkGraph g, int numVertices)
 {
     return(vtkDataReader.vtkDataReader_ReadVertexData_80(base.GetCppThis(), (g == null) ? default(HandleRef) : g.GetCppThis(), numVertices));
 }
示例#18
0
 public int ReadPoints(vtkGraph g, int numPts)
 {
     return(vtkDataReader.vtkDataReader_ReadPoints_77(base.GetCppThis(), (g == null) ? default(HandleRef) : g.GetCppThis(), numPts));
 }
示例#19
0
 public void ShallowCopyEdgePoints(vtkGraph g)
 {
     vtkGraph.vtkGraph_ShallowCopyEdgePoints_57(base.GetCppThis(), (g == null) ? default(HandleRef) : g.GetCppThis());
 }
示例#20
0
 public void SetOutput(vtkGraph output)
 {
     vtkGraphReader.vtkGraphReader_SetOutput_08(base.GetCppThis(), (output == null) ? default(HandleRef) : output.GetCppThis());
 }
示例#21
0
 public void DeepCopyEdgePoints(vtkGraph g)
 {
     vtkGraph.vtkGraph_DeepCopyEdgePoints_09(base.GetCppThis(), (g == null) ? default(HandleRef) : g.GetCppThis());
 }
 public void Initialize(vtkGraph g, long v)
 {
     vtkInEdgeIterator.vtkInEdgeIterator_Initialize_04(base.GetCppThis(), (g == null) ? default(HandleRef) : g.GetCppThis(), v);
 }
示例#23
0
 public void SetGraph(vtkGraph g)
 {
     vtkMutableGraphHelper.vtkMutableGraphHelper_SetGraph_13(base.GetCppThis(), (g == null) ? default(HandleRef) : g.GetCppThis());
 }
 public virtual void SetGraph(vtkGraph graph)
 {
     vtkVertexListIterator.vtkVertexListIterator_SetGraph_09(base.GetCppThis(), (graph == null) ? default(HandleRef) : graph.GetCppThis());
 }
示例#25
0
		public virtual void SetGraph(vtkGraph graph)
		{
			vtkGraphLayoutStrategy.vtkGraphLayoutStrategy_SetGraph_11(base.GetCppThis(), (graph == null) ? default(HandleRef) : graph.GetCppThis());
		}
示例#26
0
 public override void SetGraph(vtkGraph graph)
 {
     vtkRandomLayoutStrategy.vtkRandomLayoutStrategy_SetGraph_17(base.GetCppThis(), (graph == null) ? default(HandleRef) : graph.GetCppThis());
 }