<div dir="ltr">If my reader inherit from vtkPolyDataAlgorithm,then outVec->GetInformationObject(0)->Get(vtkDataObject::DATA_OBJECT()) will return a vtkPolyData pointer.<div>else if my reader inherit from vtkUnstructuredGridAlgorithm,then outVec->GetInformationObject(0)->Get(vtkDataObject::DATA_OBJECT()) will return a vtkUnstructuredGrid pointer.<br clear="all">
<div>else if my reader inherit from vtkMultiBlockDataSetAlgorithm,then outVec->GetInformationObject(0)->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>-- </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>