<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. <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, "ÅÓÇìÔ´" <<a href="mailto:pangqingyuan1991@gmail.com">pangqingyuan1991@gmail.com</a>> wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>
<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>
</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>