Hi Yves,

Here is the part that you might be interested.

Someone else may comment and explain the WHY but at least that give you the
new way. ;-)

int vtkSphereSource::RequestInformation(
  vtkInformation *vtkNotUsed(request),
  vtkInformationVector **vtkNotUsed(inputVector),
  vtkInformationVector *outputVector)
{
  // get the info object
  vtkInformation *outInfo = outputVector->GetInformationObject(0);

  outInfo->Set(CAN_HANDLE_PIECE_REQUEST(), 1);

  return 1;
}

You can also look at {VTK-src}/Filters/Parallel/vtkPSphereSource.cxx
For the request data.

Seb




On Mon, Jun 9, 2014 at 9:52 AM, Yves Rogez <[email protected]>
wrote:

> Hello,
>
> I'm using the MAXIMUM_NUMBER_OF_PIECES() key to pass information of the
> maximum number of piececs that my reader can provide. It appears that this
> key no longer exists ? If it has been removed, why ? Is there any bad
> behaviors observed using thi method ? Or maybe it has been moved in another
> class ?
>
> Thanks in advance,
>
> Yves
>
> --
> Yves Rogez
> IPAG / CNRS
>
> _______________________________________________
> 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
>
_______________________________________________
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

Reply via email to