vtkOpenFOAMReader : get bounding box of simulation ?


I am reading in a vtkOpenFOAMReader object in C++

Independently I can see the computational bounds in Paraview.

What methods I can call on the object in C++ to query the computational bounds of the FOAM file ? Do I have to read in all the mesh data to find the bbox min/max ? or is there a more direct method ?


vtkOpenFOAMReader::GetOutput() returns a vtkMultiBlockDataSet which has a GetBounds(double bounds[6]|) method.

1 Like