Commit edee417f authored by Mathieu Malaterre's avatar Mathieu Malaterre

COMP: Fix warnings. STYLE: update PrintSelf

parent f89fda98
......@@ -23,7 +23,7 @@ PURPOSE. See the above copyright notice for more information.
#include "vtkInformationVector.h"
#include "vtkObjectFactory.h"
vtkCxxRevisionMacro(vtkHierarchicalDataExtractLevel, "1.1");
vtkCxxRevisionMacro(vtkHierarchicalDataExtractLevel, "1.2");
vtkStandardNewMacro(vtkHierarchicalDataExtractLevel);
// Construct object with PointIds and CellIds on; and ids being generated
......@@ -133,7 +133,7 @@ int vtkHierarchicalDataExtractLevel::RequestInformation(
for (unsigned int j=0; j<numDataSets; j++)
{
vtkInformation* outInfo = compInfo->GetInformation(i, j);
vtkInformation* inInfo = inCompInfo->GetInformation(i, j);
inInfo = inCompInfo->GetInformation(i, j);
outInfo->Copy(inInfo);
}
}
......@@ -257,4 +257,10 @@ int vtkHierarchicalDataExtractLevel::RequestData(
void vtkHierarchicalDataExtractLevel::PrintSelf(ostream& os, vtkIndent indent)
{
this->Superclass::PrintSelf(os,indent);
os << indent << "MinLevel:" << this->MinLevel << endl;
os << indent << "MaxLevel:" << this->MaxLevel << endl;
os << indent << "InputLevels: (" << this->InputLevels[0] << ","
<< this->InputLevels[1] << ")" << endl;
}
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