/dports/math/vtk6/VTK-6.2.0/Filters/Modeling/ |
H A D | vtkButterflySubdivisionFilter.cxx | 43 vtkSmartPointer<vtkIdList> cellIds = in GenerateSubdivisionPoints() local 186 startCell = cellIds->GetId(0); in GenerateLoopStencil() 193 nextCell = cellIds->GetId(1); in GenerateLoopStencil() 216 nextCell = cellIds->GetId(0); in GenerateLoopStencil() 224 cellIds->Delete(); in GenerateLoopStencil() 275 cellIds->Delete(); in GenerateLoopStencil() 340 cellIds->Delete(); in GenerateBoundaryStencil() 354 cell0 = cellIds->GetId(0); in GenerateButterflyStencil() 355 cell1 = cellIds->GetId(1); in GenerateButterflyStencil() 380 if (cellIds->GetNumberOfIds() > 0) in GenerateButterflyStencil() [all …]
|
H A D | vtkLoopSubdivisionFilter.cxx | 144 polys->GetPointCells (p1, cellIds); in GenerateEvenStencil() 162 nextCell = cellIds->GetId(0); in GenerateEvenStencil() 165 if (cellIds->GetNumberOfIds() == 1) in GenerateEvenStencil() 171 startCell = cellIds->GetId(1); in GenerateEvenStencil() 192 if (cellIds->GetNumberOfIds() != 1) in GenerateEvenStencil() 198 nextCell = cellIds->GetId(0); in GenerateEvenStencil() 224 nextCell = cellIds->GetId(0); in GenerateEvenStencil() 261 cellIds->Delete(); in GenerateEvenStencil() 277 cell0 = cellIds->GetId(0); in GenerateOddStencil() 278 cell1 = cellIds->GetId(1); in GenerateOddStencil() [all …]
|
/dports/math/vtk8/VTK-8.2.0/Filters/Modeling/ |
H A D | vtkLoopSubdivisionFilter.cxx | 88 if (cellIds->GetNumberOfIds() == 1) in GenerateSubdivisionPoints() 149 polys->GetPointCells (p1, cellIds); in GenerateEvenStencil() 167 nextCell = cellIds->GetId(0); in GenerateEvenStencil() 170 if (cellIds->GetNumberOfIds() == 1) in GenerateEvenStencil() 176 startCell = cellIds->GetId(1); in GenerateEvenStencil() 197 if (cellIds->GetNumberOfIds() != 1) in GenerateEvenStencil() 203 nextCell = cellIds->GetId(0); in GenerateEvenStencil() 224 if (cellIds->GetNumberOfIds() != 1) in GenerateEvenStencil() 229 nextCell = cellIds->GetId(0); in GenerateEvenStencil() 281 cell0 = cellIds->GetId(0); in GenerateOddStencil() [all …]
|
H A D | vtkButterflySubdivisionFilter.cxx | 79 if (cellIds->GetNumberOfIds() == 1) in GenerateSubdivisionPoints() 179 startCell = cellIds->GetId(0); in GenerateLoopStencil() 186 nextCell = cellIds->GetId(1); in GenerateLoopStencil() 204 if (cellIds->GetNumberOfIds() != 1) in GenerateLoopStencil() 209 nextCell = cellIds->GetId(0); in GenerateLoopStencil() 351 cell0 = cellIds->GetId(0); in GenerateButterflyStencil() 352 cell1 = cellIds->GetId(1); in GenerateButterflyStencil() 377 if (cellIds->GetNumberOfIds() > 0) in GenerateButterflyStencil() 392 if (cellIds->GetNumberOfIds() > 0) in GenerateButterflyStencil() 407 if (cellIds->GetNumberOfIds() > 0) in GenerateButterflyStencil() [all …]
|
/dports/math/vtk9/VTK-9.1.0/Filters/Modeling/ |
H A D | vtkLoopSubdivisionFilter.cxx | 90 if (cellIds->GetNumberOfIds() == 1) in GenerateSubdivisionPoints() 145 polys->GetPointCells(p1, cellIds); in GenerateEvenStencil() 163 nextCell = cellIds->GetId(0); in GenerateEvenStencil() 166 if (cellIds->GetNumberOfIds() == 1) in GenerateEvenStencil() 172 startCell = cellIds->GetId(1); in GenerateEvenStencil() 193 if (cellIds->GetNumberOfIds() != 1) in GenerateEvenStencil() 199 nextCell = cellIds->GetId(0); in GenerateEvenStencil() 220 if (cellIds->GetNumberOfIds() != 1) in GenerateEvenStencil() 225 nextCell = cellIds->GetId(0); in GenerateEvenStencil() 275 cell0 = cellIds->GetId(0); in GenerateOddStencil() [all …]
|
H A D | vtkButterflySubdivisionFilter.cxx | 80 if (cellIds->GetNumberOfIds() == 1) in GenerateSubdivisionPoints() 164 startCell = cellIds->GetId(0); in GenerateLoopStencil() 171 nextCell = cellIds->GetId(1); in GenerateLoopStencil() 189 if (cellIds->GetNumberOfIds() != 1) in GenerateLoopStencil() 194 nextCell = cellIds->GetId(0); in GenerateLoopStencil() 334 cell0 = cellIds->GetId(0); in GenerateButterflyStencil() 335 cell1 = cellIds->GetId(1); in GenerateButterflyStencil() 360 if (cellIds->GetNumberOfIds() > 0) in GenerateButterflyStencil() 375 if (cellIds->GetNumberOfIds() > 0) in GenerateButterflyStencil() 390 if (cellIds->GetNumberOfIds() > 0) in GenerateButterflyStencil() [all …]
|
/dports/graphics/mirtk/MIRTK-2.0.0-122-g38210fa/Modules/PointSet/src/ |
H A D | SurfaceRemeshing.cc | 211 vtkNew<vtkIdList> cellIds; in NodeConnectivity() local 226 for (vtkIdType i = 0; i < cellIds->GetNumberOfIds(); ++i) DeleteCell(cellIds->GetId(i)); in DeleteCells() 260 vtkNew<vtkIdList> cellIds, ptIds; in IsBoundaryPoint() local 310 vtkNew<vtkIdList> cellIds, cellPtIds; in GetCellPointNeighbors() local 313 if (cellIds->GetId(i) != cellId) { in GetCellPointNeighbors() 326 vtkNew<vtkIdList> cellIds, ptIds; in GetCellEdgeNeighborPoint() local 371 if (cellIds->GetId(l) == cellId || cellIds->GetId(l) == neighborCellId) { in GetCellEdgeNeighborPoint() 677 cellId = cellIds->GetId(i); in MeltTriangle() 698 vtkNew<vtkIdList> cellIds, ptIds; in MeltingOfCells() local 701 cellIds->Allocate(20); in MeltingOfCells() [all …]
|
/dports/math/vtk9/VTK-9.1.0/Filters/General/ |
H A D | vtkPointConnectivityFilter.cxx | 58 vtkIdList*& cellIds = this->CellIds.Local(); in Initialize() local 59 cellIds->Allocate(128); // allocate some memory in Initialize() 64 vtkIdList*& cellIds = this->CellIds.Local(); in operator ()() local 67 this->Input->GetPointCells(ptId, cellIds); in operator ()() 68 this->ConnCount[ptId] = cellIds->GetNumberOfIds(); in operator ()() 105 vtkNew<vtkIdList> cellIds; in RequestData() local 106 input->GetPointCells(0, cellIds); in RequestData()
|
/dports/math/vtk8/VTK-8.2.0/Filters/General/ |
H A D | vtkPointConnectivityFilter.cxx | 56 vtkIdList*& cellIds = this->CellIds.Local(); in Initialize() local 57 cellIds->Allocate(128); //allocate some memory in Initialize() 62 vtkIdList*& cellIds = this->CellIds.Local(); in operator ()() local 65 this->Input->GetPointCells(ptId, cellIds); in operator ()() 66 this->ConnCount[ptId] = cellIds->GetNumberOfIds(); in operator ()() 107 vtkNew<vtkIdList> cellIds; in RequestData() local 108 input->GetPointCells(0, cellIds); in RequestData()
|
H A D | vtkTessellatorFilter.cxx | 115 vtkIdType cellIds[4]; in OutputTetrahedron() local 136 (*att)->InsertTuple( cellIds[0], a + *off ); in OutputTetrahedron() 137 (*att)->InsertTuple( cellIds[1], b + *off ); in OutputTetrahedron() 138 (*att)->InsertTuple( cellIds[2], c + *off ); in OutputTetrahedron() 139 (*att)->InsertTuple( cellIds[3], d + *off ); in OutputTetrahedron() 154 vtkIdType cellIds[3]; in OutputTriangle() local 173 (*att)->InsertTuple( cellIds[0], a + *off ); in OutputTriangle() 174 (*att)->InsertTuple( cellIds[1], b + *off ); in OutputTriangle() 175 (*att)->InsertTuple( cellIds[2], c + *off ); in OutputTriangle() 189 vtkIdType cellIds[2]; in OutputLine() local [all …]
|
/dports/math/vtk8/VTK-8.2.0/Filters/Core/ |
H A D | vtkIdFilter.cxx | 64 vtkIdTypeArray *cellIds; in RequestData() local 109 cellIds = vtkIdTypeArray::New(); in RequestData() 110 cellIds->SetNumberOfValues(numCells); in RequestData() 114 cellIds->SetValue(id, id); in RequestData() 117 cellIds->SetName(this->IdsArrayName); in RequestData() 120 int idx = outCD->AddArray(cellIds); in RequestData() 126 outCD->AddArray(cellIds); in RequestData() 129 cellIds->Delete(); in RequestData()
|
/dports/math/vtk6/VTK-6.2.0/Filters/Core/ |
H A D | vtkIdFilter.cxx | 64 vtkIdTypeArray *cellIds; in RequestData() local 109 cellIds = vtkIdTypeArray::New(); in RequestData() 110 cellIds->SetNumberOfValues(numCells); in RequestData() 114 cellIds->SetValue(id, id); in RequestData() 117 cellIds->SetName(this->IdsArrayName); in RequestData() 120 int idx = outCD->AddArray(cellIds); in RequestData() 126 outCD->AddArray(cellIds); in RequestData() 129 cellIds->Delete(); in RequestData()
|
H A D | vtkStripper.cxx | 59 vtkIdList *cellIds; in RequestData() local 109 cellIds = vtkIdList::New(); in RequestData() 110 cellIds->Allocate(this->MaximumLength + 2); in RequestData() 257 if ( cellIds->GetNumberOfIds() > 0 && in RequestData() 258 !visited[neighbor=cellIds->GetId(0)] && in RequestData() 333 if ( cellIds->GetNumberOfIds() <= 0 || in RequestData() 360 mesh->GetPointCells(pts[1], cellIds); in RequestData() 363 neighbor = cellIds->GetId(j); in RequestData() 416 nei = cellIds->GetId(j); in RequestData() 425 if ( j >= cellIds->GetNumberOfIds() || in RequestData() [all …]
|
H A D | vtkCellDataToPointData.cxx | 277 vtkNew<vtkIdList> cellIds; in interpolatePointData() local 278 cellIds->Allocate(VTK_MAX_CELLS_PER_POINT); in interpolatePointData() 298 input->GetPointCells(ptId, cellIds.GetPointer()); in interpolatePointData() 299 vtkIdType numCells = cellIds->GetNumberOfIds(); in interpolatePointData() 308 outPD->InterpolatePoint(inCD, ptId, cellIds.GetPointer(), &weights[0]); in interpolatePointData() 322 vtkNew<vtkIdList> cellIds; in interpolatePointDataWithMask() local 323 cellIds->Allocate(VTK_MAX_CELLS_PER_POINT); in interpolatePointDataWithMask() 344 cellIds->Reset(); in interpolatePointDataWithMask() 351 cellIds->InsertNextId(curCell); in interpolatePointDataWithMask() 355 vtkIdType numCells = cellIds->GetNumberOfIds(); in interpolatePointDataWithMask() [all …]
|
/dports/math/vtk9/VTK-9.1.0/Filters/Core/ |
H A D | vtkIdFilter.cxx | 64 vtkIdTypeArray* cellIds; in RequestData() local 109 cellIds = vtkIdTypeArray::New(); in RequestData() 110 cellIds->SetNumberOfValues(numCells); in RequestData() 114 cellIds->SetValue(id, id); in RequestData() 117 cellIds->SetName(this->CellIdsArrayName); in RequestData() 120 int idx = outCD->AddArray(cellIds); in RequestData() 126 outCD->AddArray(cellIds); in RequestData() 129 cellIds->Delete(); in RequestData()
|
/dports/cad/yosys/yosys-yosys-0.12/libs/subcircuit/ |
H A D | demo.cc | 73 std::vector<std::string> cellIds; in main() local 83 cellIds.push_back(id); in main() 86 for (int i = 0; i < int(cellIds.size()); i++) { in main() 89 const std::string &id = cellIds[i]; in main() 90 const std::string &id_left = cellIds[lrand48() % cellIds.size()]; in main() 91 const std::string &id_right = cellIds[lrand48() % cellIds.size()]; in main()
|
/dports/math/vtk8/VTK-8.2.0/Filters/Geometry/ |
H A D | vtkGeometryFilter.cxx | 155 vtkIdList *cellIds; in RequestData() local 201 cellIds = vtkIdList::New(); in RequestData() 395 cellIds->Delete(); in RequestData() 621 vtkIdList *cellIds, *faceIds; in UnstructuredGridExecute() local 658 cellIds = vtkIdList::New(); in UnstructuredGridExecute() 819 if ( cellIds->GetNumberOfIds() <= 0 || in UnstructuredGridExecute() 843 if ( cellIds->GetNumberOfIds() <= 0 || in UnstructuredGridExecute() 1107 cellIds->Delete(); in UnstructuredGridExecute() 1125 vtkIdList *cellIds; in StructuredGridExecute() local 1138 cellIds = vtkIdList::New(); in StructuredGridExecute() [all …]
|
/dports/math/vtk6/VTK-6.2.0/Filters/Geometry/ |
H A D | vtkGeometryFilter.cxx | 138 vtkIdList *cellIds; in RequestData() local 189 cellIds = vtkIdList::New(); in RequestData() 370 cellIds->Delete(); in RequestData() 598 vtkIdList *cellIds, *faceIds; in UnstructuredGridExecute() local 639 cellIds = vtkIdList::New(); in UnstructuredGridExecute() 786 if ( cellIds->GetNumberOfIds() <= 0 || in UnstructuredGridExecute() 810 if ( cellIds->GetNumberOfIds() <= 0 || in UnstructuredGridExecute() 1082 cellIds->Delete(); in UnstructuredGridExecute() 1100 vtkIdList *cellIds; in StructuredGridExecute() local 1117 cellIds = vtkIdList::New(); in StructuredGridExecute() [all …]
|
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/mongo/db/geo/ |
H A D | r2_region_coverer_test.cpp | 874 xMinusYPlusY.init(xMinusY.cellIds()); in testDifference() 875 xMinusYPlusY.add(y.cellIds()); in testDifference() 876 yMinusXPlusX.init(yMinusX.cellIds()); in testDifference() 877 yMinusXPlusX.add(x.cellIds()); in testDifference() 878 xUnionY.init(x.cellIds()); in testDifference() 879 xUnionY.add(y.cellIds()); in testDifference() 881 for (auto cellId : xUnionY.cellIds()) { in testDifference() 926 randomUnion.cellIds().end(), in TEST() 936 std::vector<GeoHash> cellIds; in TEST() local 937 cellIds.push_back(entirePlaneCell); in TEST() [all …]
|
/dports/math/vtk6/VTK-6.2.0/Filters/General/ |
H A D | vtkTessellatorFilter.cxx | 106 vtkIdType cellIds[4]; in OutputTetrahedron() local 127 (*att)->InsertTuple( cellIds[0], a + *off ); in OutputTetrahedron() 128 (*att)->InsertTuple( cellIds[1], b + *off ); in OutputTetrahedron() 129 (*att)->InsertTuple( cellIds[2], c + *off ); in OutputTetrahedron() 130 (*att)->InsertTuple( cellIds[3], d + *off ); in OutputTetrahedron() 145 vtkIdType cellIds[3]; in OutputTriangle() local 164 (*att)->InsertTuple( cellIds[0], a + *off ); in OutputTriangle() 165 (*att)->InsertTuple( cellIds[1], b + *off ); in OutputTriangle() 166 (*att)->InsertTuple( cellIds[2], c + *off ); in OutputTriangle() 180 vtkIdType cellIds[2]; in OutputLine() local [all …]
|
/dports/math/vtk6/VTK-6.2.0/Common/DataModel/Testing/Cxx/ |
H A D | CellLocator.cxx | 83 vtkNew<vtkIdList> cellIds; in TestFindCellsAlongLine() local 84 cellLocator->FindCellsAlongLine(p1, p2, 0.0, cellIds.GetPointer()); in TestFindCellsAlongLine() 86 if(cellIds->GetNumberOfIds() != 4) in TestFindCellsAlongLine() 88 vtkGenericWarningMacro("Wrong amount of intersected Ids " << cellIds->GetNumberOfIds()); in TestFindCellsAlongLine() 94 cellIds->InsertUniqueId(657); in TestFindCellsAlongLine() 95 cellIds->InsertUniqueId(856); in TestFindCellsAlongLine() 96 cellIds->InsertUniqueId(1885); in TestFindCellsAlongLine() 97 cellIds->InsertUniqueId(1887); in TestFindCellsAlongLine() 99 if(cellIds->GetNumberOfIds() != 4) in TestFindCellsAlongLine() 101 vtkGenericWarningMacro("Wrong cell Ids in the list " << cellIds->GetNumberOfIds()); in TestFindCellsAlongLine()
|
/dports/math/vtk9/VTK-9.1.0/ThirdParty/vtkm/vtkvtkm/vtk-m/vtkm/cont/testing/ |
H A D | UnitTestCellLocatorGeneral.cxx | 97 static ScatterType MakeScatter(const vtkm::cont::ArrayHandle<vtkm::Id>& cellIds) in MakeScatter() argument 99 return ScatterType(cellIds); in MakeScatter() 118 vtkm::cont::ArrayHandle<vtkm::Id>& cellIds, in GenerateRandomInput() argument 127 cellIds.Allocate(count); in GenerateRandomInput() 131 auto cellIdPortal = cellIds.WritePortal(); in GenerateRandomInput() 144 ParametricToWorldCoordinates::MakeScatter(cellIds)); in GenerateRandomInput() 155 FieldOut cellIds, 184 vtkm::cont::ArrayHandle<vtkm::Id> cellIds; in TestWithDataSet() local 188 dispatcher.Invoke(points, locator, cellIds, pcoords); in TestWithDataSet() 190 auto cellIdPortal = cellIds.ReadPortal(); in TestWithDataSet()
|
/dports/math/vtk8/VTK-8.2.0/ThirdParty/vtkm/vtk-m/vtkm/worklet/connectivities/ |
H A D | GraphConnectivity.h | 86 vtkm::cont::ArrayHandle<vtkm::Id> cellIds; in Run() local 88 vtkm::cont::ArrayHandleCounting<vtkm::Id>(0, 1, numIndexArray.GetNumberOfValues()), cellIds); in Run() 89 Algorithm::Copy(cellIds, components); in Run() 96 cellIds, indexOffsetArray, numIndexArray, connectivityArray, components); in Run() 101 isStarDisp.Invoke(cellIds, components, isStar); in Run() 106 pointJumpingDispatcher.Invoke(cellIds, components); in Run() 122 components, cellIds, uniqueComponents, uniqueColor, cellColors, cellIdsOut, componentsOut); in Run()
|
/dports/math/vtk9/VTK-9.1.0/ThirdParty/vtkm/vtkvtkm/vtk-m/vtkm/internal/ |
H A D | ConnectivityStructuredInternals.h | 110 vtkm::VecVariable<vtkm::Id, MAX_CELL_TO_POINT> cellIds; in GetCellsOfPoint() local 114 cellIds.Append(index - 1); in GetCellsOfPoint() 118 cellIds.Append(index); in GetCellsOfPoint() 121 return cellIds; in GetCellsOfPoint() 242 vtkm::VecVariable<vtkm::Id, MAX_CELL_TO_POINT> cellIds; in GetCellsOfPoint() local 246 cellIds.Append(this->LogicalToFlatCellIndex(ij - vtkm::Id2(1, 1))); in GetCellsOfPoint() 258 cellIds.Append(this->LogicalToFlatCellIndex(ij)); in GetCellsOfPoint() 261 return cellIds; in GetCellsOfPoint() 416 vtkm::VecVariable<vtkm::Id, MAX_CELL_TO_POINT> cellIds; in GetCellsOfPoint() local 453 cellIds.Append(this->LogicalToFlatCellIndex(ijk)); in GetCellsOfPoint() [all …]
|
/dports/math/vtk8/VTK-8.2.0/ThirdParty/vtkm/vtk-m/vtkm/internal/ |
H A D | ConnectivityStructuredInternals.h | 114 vtkm::VecVariable<vtkm::Id, MAX_CELL_TO_POINT> cellIds; in GetCellsOfPoint() local 118 cellIds.Append(index - 1); in GetCellsOfPoint() 122 cellIds.Append(index); in GetCellsOfPoint() 125 return cellIds; in GetCellsOfPoint() 239 vtkm::VecVariable<vtkm::Id, MAX_CELL_TO_POINT> cellIds; in GetCellsOfPoint() local 243 cellIds.Append(this->LogicalToFlatCellIndex(ij - vtkm::Id2(1, 1))); in GetCellsOfPoint() 255 cellIds.Append(this->LogicalToFlatCellIndex(ij)); in GetCellsOfPoint() 258 return cellIds; in GetCellsOfPoint() 406 vtkm::VecVariable<vtkm::Id, MAX_CELL_TO_POINT> cellIds; in GetCellsOfPoint() local 443 cellIds.Append(this->LogicalToFlatCellIndex(ijk)); in GetCellsOfPoint() [all …]
|