blbllblbl
This commit is contained in:
parent
5cb78e0881
commit
21744a8112
12
src/main.cc
12
src/main.cc
@ -55,12 +55,16 @@ int main(int argc, char **argv) {
|
||||
removeExternalCellsFilter->SetInputConnection(1,
|
||||
polyMeshReader->GetOutputPort());
|
||||
|
||||
// vtkNew<ProjectSurfacePointsOnPoly> project;
|
||||
// project->SetInputConnection(0, removeExternalCellsFilter->GetOutputPort());
|
||||
// project->SetInputConnection(1, pdReader->GetOutputPort());
|
||||
vtkNew<SurfacePointsFilter> surfacePointsFilter;
|
||||
surfacePointsFilter->SetInputConnection(
|
||||
removeExternalCellsFilter->GetOutputPort());
|
||||
|
||||
vtkNew<ProjectSurfacePointsOnPoly> project;
|
||||
project->SetInputConnection(0, surfacePointsFilter->GetOutputPort());
|
||||
project->SetInputConnection(1, polyMeshReader->GetOutputPort());
|
||||
|
||||
vtkNew<vtkXMLUnstructuredGridWriter> writer;
|
||||
writer->SetInputConnection(removeExternalCellsFilter->GetOutputPort());
|
||||
writer->SetInputConnection(project->GetOutputPort());
|
||||
writer->SetDataModeToAscii();
|
||||
writer->SetFileName("out.vtu");
|
||||
writer->Write();
|
||||
|
Loading…
Reference in New Issue
Block a user