Commit bd258399 authored by Yohann Bearzi's avatar Yohann Bearzi Committed by Kitware Robot
Browse files

Merge topic 'htg-panel-information'

c9cc0873

 Adding informations in htg panel
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Acked-by: Cory Quammen's avatarCory Quammen <cory.quammen@kitware.com>
Merge-request: !5503
parents b177104d c9cc0873
......@@ -583,6 +583,9 @@ void vtkPVDataInformation::CopyFromDataObject(vtkDataObject* dobj)
this->NumberOfTrees = htg->GetMaxNumberOfTrees();
this->NumberOfLeaves = htg->GetNumberOfLeaves();
htg->GetBounds(this->Bounds);
htg->GetExtent(this->Extent);
// I don't understand this clunkiness; why doesn't HTG return number of
// vertices when GetNumberOfElements(vtkDataObject::VERTEX) is called? Oh well.
this->NumberOfElements[vtkDataObject::VERTEX] = htg->GetNumberOfVertices();
......
Supports Markdown
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