<div dir="ltr">If my reader&nbsp;inherit from&nbsp;vtkPolyDataAlgorithm,then&nbsp;outVec-&gt;GetInformationObject(0)-&gt;Get(vtkDataObject::DATA_OBJECT()) will return a vtkPolyData pointer.<div>else if&nbsp;my reader&nbsp;inherit from&nbsp;vtkUnstructuredGridAlgorithm,then&nbsp;outVec-&gt;GetInformationObject(0)-&gt;Get(vtkDataObject::DATA_OBJECT()) will return a vtkUnstructuredGrid pointer.<br clear="all">
<div>else if my reader&nbsp;inherit from&nbsp;vtkMultiBlockDataSetAlgorithm,then&nbsp;outVec-&gt;GetInformationObject(0)-&gt;Get(vtkDataObject::DATA_OBJECT()) will return a vtkMultiBlockDataSet pointer.</div><div>And so on.</div><div>But what will return if my reader inherit from the subclass of above algorithm?</div>
<div>For example,vtkSampleFunction,vtkSphereSource.<br>--&nbsp;</div><font face="arial, helvetica, sans-serif" size="6" color="#33ff33"><a href="mailto:pangqingyuan1991@gmail.com" target="_blank">庞庆源<span></span><span></span></a></font>
</div></div>