Commit 06ddbe73 authored by George Zagaris's avatar George Zagaris
Browse files

ENH: Call GenerateVisibility & ParentChildInfo

Call GenerateVisibility & ParentChildInfo

Change-Id: Ic1fe431230690119fdbc703a899a4d0e16a8d9f2
parent 1b35ea62
......@@ -22,6 +22,7 @@
#include "vtkUniformGrid.h"
#include "vtkUnsignedCharArray.h"
#include "vtkOverlappingAMR.h"
#include "vtkAMRUtilities.h"
#include <cassert>
......@@ -104,6 +105,10 @@ int vtkOverlappingAMRLevelIdScalars::RequestData(
this->AddColorLevels(input, output);
vtkOverlappingAMR *amr = vtkOverlappingAMR::SafeDownCast(output);
assert( "ERROR: cannot down-cast to overlapping AMR" && (amr != NULL) );
amr->GenerateParentChildInformation();
amr->GenerateVisibilityArrays();
return 1;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment