[vtk-developers] Why does vtkBandedPolyDataContourFilter always operate on active point scalars?

Frank Conradie frank at qfin.net
Tue Dec 18 19:31:58 EST 2012


Hi there,

Is there a reason why "vtkBandedPolyDataContourFilter" is hard-coded to
*always* process the "active" point scalars? All (as far as I know) other
vtkAlgorithm sub-classes call "vtkAlgorithm::GetInputArrayToProcess".

Here is the relevant code from vtkBandedPolyDataContourFilter::RequestData:

  vtkDataArray *inScalars = pd->GetScalars();

This is as opposed to e.g. vtkThreshold::RequestData:

  vtkDataArray *inScalars = this->GetInputArrayToProcess(0,inputVector);

Thanks,
Frank
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtk-developers/attachments/20121218/0c8021a3/attachment.htm>


More information about the vtk-developers mailing list