[Paraview] missing MAXIMUM_NUMBER_OF_PIECES
Yves Rogez
yves.rogez at obs.ujf-grenoble.fr
Tue Jun 10 02:59:57 EDT 2014
Thank you Seb. I'll update my code that way.
Yves
Le 09/06/2014 18:35, Sebastien Jourdain a écrit :
> 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
> <yves.rogez at obs.ujf-grenoble.fr
> <mailto:yves.rogez at obs.ujf-grenoble.fr>> 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 <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
>
>
--
Yves Rogez
/CONSERT Operations Engineer/
*IPAG*
/Institut de Planétologie et d'Astrophysique de Grenoble /
Bat D de Physique - BP. 53 - 38041 Grenoble - FRANCE
tel : +33 (0)4 76 63 52 80
lab : +33 (0)4 76 63 52 89
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20140610/cc6140bc/attachment.html>
More information about the ParaView
mailing list