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. -- 庞庆源 <[email protected]>
_______________________________________________ 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
