コード例 #1
0
        public new static vtkVariantArray New()
        {
            vtkVariantArray result      = null;
            uint            mteStatus   = 0u;
            uint            mteIndex    = 4294967295u;
            uint            rawRefCount = 0u;
            IntPtr          intPtr      = vtkVariantArray.vtkVariantArray_New(ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkVariantArray)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
コード例 #2
0
ファイル: vtkTable.cs プロジェクト: Monkeybin11/Kitware.VTK
        public vtkVariantArray GetRow(long row)
        {
            vtkVariantArray vtkVariantArray = null;
            uint            mteStatus       = 0u;
            uint            mteIndex        = 4294967295u;
            uint            rawRefCount     = 0u;
            IntPtr          intPtr          = vtkTable.vtkTable_GetRow_15(base.GetCppThis(), row, ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkVariantArray = (vtkVariantArray)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkVariantArray.Register(null);
                }
            }
            return(vtkVariantArray);
        }
コード例 #3
0
        public new static vtkVariantArray SafeDownCast(vtkObjectBase o)
        {
            vtkVariantArray vtkVariantArray = null;
            uint            mteStatus       = 0u;
            uint            mteIndex        = 4294967295u;
            uint            rawRefCount     = 0u;
            IntPtr          intPtr          = vtkVariantArray.vtkVariantArray_SafeDownCast_24((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkVariantArray = (vtkVariantArray)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkVariantArray.Register(null);
                }
            }
            return(vtkVariantArray);
        }
コード例 #4
0
        public virtual vtkVariantArray GetEmptyTuple(long dimension)
        {
            vtkVariantArray vtkVariantArray = null;
            uint            mteStatus       = 0u;
            uint            mteIndex        = 4294967295u;
            uint            rawRefCount     = 0u;
            IntPtr          intPtr          = vtkKMeansDistanceFunctor.vtkKMeansDistanceFunctor_GetEmptyTuple_05(base.GetCppThis(), dimension, ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkVariantArray = (vtkVariantArray)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkVariantArray.Register(null);
                }
            }
            return(vtkVariantArray);
        }
コード例 #5
0
 public long AddChild(long parent, vtkVariantArray propertyArr)
 {
     return(vtkMutableDirectedGraph.vtkMutableDirectedGraph_AddChild_01(base.GetCppThis(), parent, (propertyArr == null) ? default(HandleRef) : propertyArr.GetCppThis()));
 }
コード例 #6
0
 public void LazyAddVertex(vtkVariantArray propertyArr)
 {
     vtkMutableDirectedGraph.vtkMutableDirectedGraph_LazyAddVertex_10(base.GetCppThis(), (propertyArr == null) ? default(HandleRef) : propertyArr.GetCppThis());
 }
コード例 #7
0
 public void LazyAddEdge(long u, long v, vtkVariantArray propertyArr)
 {
     vtkMutableDirectedGraph.vtkMutableDirectedGraph_LazyAddEdge_08(base.GetCppThis(), u, v, (propertyArr == null) ? default(HandleRef) : propertyArr.GetCppThis());
 }
コード例 #8
0
 public long AddVertex(vtkVariantArray propertyArr)
 {
     return(vtkMutableDirectedGraph.vtkMutableDirectedGraph_AddVertex_05(base.GetCppThis(), (propertyArr == null) ? default(HandleRef) : propertyArr.GetCppThis()));
 }
コード例 #9
0
ファイル: vtkTable.cs プロジェクト: Monkeybin11/Kitware.VTK
 public void SetRow(long row, vtkVariantArray values)
 {
     vtkTable.vtkTable_SetRow_30(base.GetCppThis(), row, (values == null) ? default(HandleRef) : values.GetCppThis());
 }
コード例 #10
0
ファイル: vtkTable.cs プロジェクト: Monkeybin11/Kitware.VTK
 public long InsertNextRow(vtkVariantArray arr)
 {
     return(vtkTable.vtkTable_InsertNextRow_20(base.GetCppThis(), (arr == null) ? default(HandleRef) : arr.GetCppThis()));
 }
コード例 #11
0
 public virtual void PairwiseUpdate(vtkTable clusterCenters, long row, vtkVariantArray data, long dataCardinality, long totalCardinality)
 {
     vtkKMeansDistanceFunctor.vtkKMeansDistanceFunctor_PairwiseUpdate_11(base.GetCppThis(), (clusterCenters == null) ? default(HandleRef) : clusterCenters.GetCppThis(), row, (data == null) ? default(HandleRef) : data.GetCppThis(), dataCardinality, totalCardinality);
 }
コード例 #12
0
 public bool NextRow(vtkVariantArray rowArray)
 {
     return(vtkRowQuery.vtkRowQuery_NextRow_16(base.GetCppThis(), (rowArray == null) ? default(HandleRef) : rowArray.GetCppThis()) != 0);
 }