<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body dir="auto">
<div>I don't know if there is any point in subclassing those classes, but to answer your question, the object you get in the output vector is the same object created in a previous call to RequestDataObject.&nbsp;<br>
<br>
<div>-Ken</div>
<div><br>
</div>
Sent from my iPad so blame autocorrect.</div>
<div><br>
On Sep 15, 2013, at 8:44 AM, &quot;ÅÓÇìÔ´&quot; &lt;<a href="mailto:pangqingyuan1991@gmail.com">pangqingyuan1991@gmail.com</a>&gt; wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>
<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>
</div>
</blockquote>
<blockquote type="cite">
<div><span>_______________________________________________</span><br>
<span>Powered by <a href="http://www.kitware.com">www.kitware.com</a></span><br>
<span></span><br>
<span>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">
http://www.kitware.com/opensource/opensource.html</a></span><br>
<span></span><br>
<span>Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView">
http://paraview.org/Wiki/ParaView</a></span><br>
<span></span><br>
<span>Follow this link to subscribe/unsubscribe:</span><br>
<span><a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a></span><br>
</div>
</blockquote>
</body>
</html>