Пример #1
0
 public void SetCells(vtkUnsignedCharArray cellTypes, vtkIdTypeArray cellLocations, vtkCellArray cells, vtkIdTypeArray faceLocations, vtkIdTypeArray faces)
 {
     vtkUnstructuredGrid.vtkUnstructuredGrid_SetCells_60(base.GetCppThis(), (cellTypes == null) ? default(HandleRef) : cellTypes.GetCppThis(), (cellLocations == null) ? default(HandleRef) : cellLocations.GetCppThis(), (cells == null) ? default(HandleRef) : cells.GetCppThis(), (faceLocations == null) ? default(HandleRef) : faceLocations.GetCppThis(), (faces == null) ? default(HandleRef) : faces.GetCppThis());
 }
Пример #2
0
 public virtual void UpdateClusterCenters(vtkTable newClusterElements, vtkTable curClusterElements, vtkIdTypeArray numMembershipChanges, vtkIdTypeArray numElementsInCluster, vtkDoubleArray error, vtkIdTypeArray startRunID, vtkIdTypeArray endRunID, vtkIntArray computeRun)
 {
     vtkPKMeansStatistics.vtkPKMeansStatistics_UpdateClusterCenters_10(base.GetCppThis(), (newClusterElements == null) ? default(HandleRef) : newClusterElements.GetCppThis(), (curClusterElements == null) ? default(HandleRef) : curClusterElements.GetCppThis(), (numMembershipChanges == null) ? default(HandleRef) : numMembershipChanges.GetCppThis(), (numElementsInCluster == null) ? default(HandleRef) : numElementsInCluster.GetCppThis(), (error == null) ? default(HandleRef) : error.GetCppThis(), (startRunID == null) ? default(HandleRef) : startRunID.GetCppThis(), (endRunID == null) ? default(HandleRef) : endRunID.GetCppThis(), (computeRun == null) ? default(HandleRef) : computeRun.GetCppThis());
 }
Пример #3
0
 public void RemoveVertices(vtkIdTypeArray verts)
 {
     vtkMutableGraphHelper.vtkMutableGraphHelper_RemoveVertices_11(base.GetCppThis(), (verts == null) ? default(HandleRef) : verts.GetCppThis());
 }
Пример #4
0
 public void GetInducedEdges(vtkIdTypeArray verts, vtkIdTypeArray edges)
 {
     vtkGraph.vtkGraph_GetInducedEdges_28(base.GetCppThis(), (verts == null) ? default(HandleRef) : verts.GetCppThis(), (edges == null) ? default(HandleRef) : edges.GetCppThis());
 }
 public virtual void SetHierarchicalOrder(vtkIdTypeArray _arg)
 {
     vtkSimple3DCirclesStrategy.vtkSimple3DCirclesStrategy_SetHierarchicalOrder_34(base.GetCppThis(), (_arg == null) ? default(HandleRef) : _arg.GetCppThis());
 }
Пример #6
0
 public void PrintSelectedIds(vtkIdTypeArray IdsToPrint)
 {
     vtkVisibleCellSelector.vtkVisibleCellSelector_PrintSelectedIds_12(base.GetCppThis(), (IdsToPrint == null) ? default(HandleRef) : IdsToPrint.GetCppThis());
 }
 public void FindPointsInArea(IntPtr area, vtkIdTypeArray ids, bool clearArray)
 {
     vtkOctreePointLocator.vtkOctreePointLocator_FindPointsInArea_08(base.GetCppThis(), area, (ids == null) ? default(HandleRef) : ids.GetCppThis(), clearArray ? (byte)1 : (byte)0);
 }
Пример #8
0
 public void SetCells(long ncells, vtkIdTypeArray cells)
 {
     vtkCellArray.vtkCellArray_SetCells_31(base.GetCppThis(), ncells, (cells == null) ? default(HandleRef) : cells.GetCppThis());
 }
Пример #9
0
 public override void Begin(vtkIdTypeArray arg0)
 {
     vtkLabelHierarchyCompositeIterator.vtkLabelHierarchyCompositeIterator_Begin_03(base.GetCppThis(), (arg0 == null) ? default(HandleRef) : arg0.GetCppThis());
 }
Пример #10
0
 public static void ComputeNormal(vtkIdTypeArray ids, vtkPoints pts, IntPtr n)
 {
     vtkPolygon.vtkPolygon_ComputeNormal_08((ids == null) ? default(HandleRef) : ids.GetCppThis(), (pts == null) ? default(HandleRef) : pts.GetCppThis(), n);
 }
Пример #11
0
 public static void ComputeCentroid(vtkIdTypeArray ids, vtkPoints pts, IntPtr centroid)
 {
     vtkPolygon.vtkPolygon_ComputeCentroid_05((ids == null) ? default(HandleRef) : ids.GetCppThis(), (pts == null) ? default(HandleRef) : pts.GetCppThis(), centroid);
 }
Пример #12
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());
 }
Пример #13
0
 public static void GetSelectedItems(vtkSelection input, vtkDataObject data, int fieldType, vtkIdTypeArray indices)
 {
     vtkConvertSelection.vtkConvertSelection_GetSelectedItems_10((input == null) ? default(HandleRef) : input.GetCppThis(), (data == null) ? default(HandleRef) : data.GetCppThis(), fieldType, (indices == null) ? default(HandleRef) : indices.GetCppThis());
 }
Пример #14
0
 public static void GetSelectedCells(vtkSelection input, vtkDataSet data, vtkIdTypeArray indices)
 {
     vtkConvertSelection.vtkConvertSelection_GetSelectedCells_08((input == null) ? default(HandleRef) : input.GetCppThis(), (data == null) ? default(HandleRef) : data.GetCppThis(), (indices == null) ? default(HandleRef) : indices.GetCppThis());
 }
Пример #15
0
 public void GetSelectedIds(vtkIdTypeArray ToCopyInto)
 {
     vtkVisibleCellSelector.vtkVisibleCellSelector_GetSelectedIds_05(base.GetCppThis(), (ToCopyInto == null) ? default(HandleRef) : ToCopyInto.GetCppThis());
 }
Пример #16
0
        public vtkModelMetadata ExtractModelMetadata(vtkIdTypeArray globalCellIdList, vtkDataSet grid)
        {
            vtkModelMetadata vtkModelMetadata = null;
            uint             mteStatus        = 0u;
            uint             mteIndex         = 4294967295u;
            uint             rawRefCount      = 0u;
            IntPtr           intPtr           = vtkModelMetadata.vtkModelMetadata_ExtractModelMetadata_09(base.GetCppThis(), (globalCellIdList == null) ? default(HandleRef) : globalCellIdList.GetCppThis(), (grid == null) ? default(HandleRef) : grid.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkModelMetadata = (vtkModelMetadata)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkModelMetadata.Register(null);
                }
            }
            return(vtkModelMetadata);
        }
Пример #17
0
 public void GetSelectedVertices(vtkIdTypeArray VertexPointers, vtkIdTypeArray VertexIds)
 {
     vtkVisibleCellSelector.vtkVisibleCellSelector_GetSelectedVertices_07(base.GetCppThis(), (VertexPointers == null) ? default(HandleRef) : VertexPointers.GetCppThis(), (VertexIds == null) ? default(HandleRef) : VertexIds.GetCppThis());
 }
Пример #18
0
 public void RemoveVertices(vtkIdTypeArray arr)
 {
     vtkMutableDirectedGraph.vtkMutableDirectedGraph_RemoveVertices_16(base.GetCppThis(), (arr == null) ? default(HandleRef) : arr.GetCppThis());
 }
Пример #19
0
        public vtkExodusModel ExtractExodusModel(vtkIdTypeArray globalCellIdList, vtkUnstructuredGrid grid)
        {
            vtkExodusModel vtkExodusModel = null;
            uint           mteStatus      = 0u;
            uint           mteIndex       = 4294967295u;
            uint           rawRefCount    = 0u;
            IntPtr         intPtr         = vtkExodusModel.vtkExodusModel_ExtractExodusModel_03(base.GetCppThis(), (globalCellIdList == null) ? default(HandleRef) : globalCellIdList.GetCppThis(), (grid == null) ? default(HandleRef) : grid.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkExodusModel = (vtkExodusModel)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkExodusModel.Register(null);
                }
            }
            return(vtkExodusModel);
        }
 public virtual void Begin(vtkIdTypeArray arg0)
 {
     vtkLabelHierarchyIterator.vtkLabelHierarchyIterator_Begin_01(base.GetCppThis(), (arg0 == null) ? default(HandleRef) : arg0.GetCppThis());
 }
Пример #21
0
 public virtual void ReorderChildren(long parent, vtkIdTypeArray children)
 {
     vtkTree.vtkTree_ReorderChildren_15(base.GetCppThis(), parent, (children == null) ? default(HandleRef) : children.GetCppThis());
 }
Пример #22
0
 public static void DecomposeAPolyhedronCell(vtkCellArray polyhedronCellArray, ref long nCellpts, ref long nCellfaces, vtkCellArray cellArray, vtkIdTypeArray faces)
 {
     vtkUnstructuredGrid.vtkUnstructuredGrid_DecomposeAPolyhedronCell_07((polyhedronCellArray == null) ? default(HandleRef) : polyhedronCellArray.GetCppThis(), ref nCellpts, ref nCellfaces, (cellArray == null) ? default(HandleRef) : cellArray.GetCppThis(), (faces == null) ? default(HandleRef) : faces.GetCppThis());
 }
Пример #23
0
 public void ReorderOutVertices(long v, vtkIdTypeArray vertices)
 {
     vtkGraph.vtkGraph_ReorderOutVertices_49(base.GetCppThis(), v, (vertices == null) ? default(HandleRef) : vertices.GetCppThis());
 }
Пример #24
0
 public static void DecomposeAPolyhedronCell(long nCellFaces, IntPtr inFaceStream, ref long nCellpts, vtkCellArray cellArray, vtkIdTypeArray faces)
 {
     vtkUnstructuredGrid.vtkUnstructuredGrid_DecomposeAPolyhedronCell_09(nCellFaces, inFaceStream, ref nCellpts, (cellArray == null) ? default(HandleRef) : cellArray.GetCppThis(), (faces == null) ? default(HandleRef) : faces.GetCppThis());
 }
Пример #25
0
 public virtual void SetSelection(vtkIdTypeArray id)
 {
     vtkPlot.vtkPlot_SetSelection_25(base.GetCppThis(), (id == null) ? default(HandleRef) : id.GetCppThis());
 }
Пример #26
0
 public void GetIdsOfCellsOfType(int type, vtkIdTypeArray array)
 {
     vtkUnstructuredGrid.vtkUnstructuredGrid_GetIdsOfCellsOfType_30(base.GetCppThis(), type, (array == null) ? default(HandleRef) : array.GetCppThis());
 }
Пример #27
0
 public virtual void CreateInitialClusterCenters(long numToAllocate, vtkIdTypeArray numberOfClusters, vtkTable inData, vtkTable curClusterElements, vtkTable newClusterElements)
 {
     vtkPKMeansStatistics.vtkPKMeansStatistics_CreateInitialClusterCenters_01(base.GetCppThis(), numToAllocate, (numberOfClusters == null) ? default(HandleRef) : numberOfClusters.GetCppThis(), (inData == null) ? default(HandleRef) : inData.GetCppThis(), (curClusterElements == null) ? default(HandleRef) : curClusterElements.GetCppThis(), (newClusterElements == null) ? default(HandleRef) : newClusterElements.GetCppThis());
 }
Пример #28
0
 public void RemoveEdges(vtkIdTypeArray edges)
 {
     vtkMutableGraphHelper.vtkMutableGraphHelper_RemoveEdges_09(base.GetCppThis(), (edges == null) ? default(HandleRef) : edges.GetCppThis());
 }