<div dir="ltr">Hi all,<div>I've just started using VTK, so I'm guessing this is probably a very simple question. But I can't seem to get the information I need.</div><div><br></div><div>I have a vtkMultiBlockDataSet that contains "Side Set" information I'd like to read. I've determined that this information is in block #4 of my multiblock dataset, and it is I think it is contained in a vtkUnstructuredGrid object. I've come to this conclusion by using the Print(..) method of the vtkMultiBlockDataSet:</div>
<div><br></div><div><div>vtkMultiBlockDataSet (0x4a6a308)</div><div> <... some information removed...></div><div> <... some information removed...></div><div> Number Of Children: 1</div><div> Child 0: vtkUnstructuredGrid</div>
<div> <... some information removed...><br></div><div> Field Data:</div><div> <... some information removed...><br></div><div> Number Of Points: 121</div><div> Number Of Cells: 100</div><div>
Cell Data:</div><div> Debug: Off</div><div> Modified Time: 2472</div><div> Reference Count: 1</div><div> Registered Events: (none)</div><div> Number Of Arrays: 1</div><div> Array 0 name = ObjectId</div>
<div> Number Of Components: 1</div><div> Number Of Tuples: 100</div><div> <... some information removed...><br></div><div> Point Data:</div><div> <... some information removed...><br></div>
</div><div><br></div><div>I just can't figure out how to go from the "Block" to the "Child 0: vtkUnstructuredGrid" object. I'd like something sort of like:</div><div> multiBlockDataSet->GetBlock(4)->GetChild(0)<br>
</div><div><br></div><div>What is the VTK way of doing this?</div><div><br></div><div>Thanks,</div><div>Kevin</div></div>