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.
-Ken Sent from my iPad so blame autocorrect. On Sep 15, 2013, at 8:44 AM, "庞庆源" <pangqingyuan1...@gmail.com<mailto:pangqingyuan1...@gmail.com>> wrote: If my reader inherit from vtkPolyDataAlgorithm,then outVec->GetInformationObject(0)->Get(vtkDataObject::DATA_OBJECT()) will return a vtkPolyData pointer. else if my reader inherit from vtkUnstructuredGridAlgorithm,then outVec->GetInformationObject(0)->Get(vtkDataObject::DATA_OBJECT()) will return a vtkUnstructuredGrid pointer. else if my reader inherit from vtkMultiBlockDataSetAlgorithm,then outVec->GetInformationObject(0)->Get(vtkDataObject::DATA_OBJECT()) will return a vtkMultiBlockDataSet pointer. And so on. But what will return if my reader inherit from the subclass of above algorithm? For example,vtkSampleFunction,vtkSphereSource. -- 庞庆源<mailto:pangqingyuan1...@gmail.com> _______________________________________________ Powered by www.kitware.com<http://www.kitware.com> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview