Searched refs:cell_array (Results 1 – 2 of 2) sorted by relevance
401 vtkSmartPointer<vtkCellArray> cell_array = vtkSmartPointer<vtkCellArray>::New(); in WMesh() local409 cell_array->InsertNextCell(n_points); in WMesh()411 cell_array->InsertCellPoint(lookup[polygons[i++]]); in WMesh()413 cell_array->GetData()->SetNumberOfValues(idx); in WMesh()414 cell_array->Squeeze(); in WMesh()415 polydata->SetStrips(cell_array); in WMesh()
402 vtkSmartPointer<vtkCellArray> cell_array = vtkSmartPointer<vtkCellArray>::New(); in WPolyLine() local403 cell_array->Allocate(cell_array->EstimateSize(1, polydata->GetNumberOfPoints())); in WPolyLine()404 cell_array->InsertNextCell(polydata->GetNumberOfPoints()); in WPolyLine()406 cell_array->InsertCellPoint(i); in WPolyLine()408 polydata->SetLines(cell_array); in WPolyLine()