[Paraview] Some doubt about function: int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *outVec);
庞庆源
pangqingyuan1991 at gmail.com
Sun Sep 15 10:44:07 EDT 2013
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.
--
庞庆源 <pangqingyuan1991 at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20130915/dba815b7/attachment.htm>
More information about the ParaView
mailing list