[vtkusers] RequestData in VTK 5.8 and 5.10?

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Sun Nov 11 10:56:30 EST 2012


Thomas,

vtkMaskPoints::MaximumNumberOfPoints is being set to VTK_LARGE_ID in the
constructor of vtkMaskPoints. So its default value is indeed expected to be
large. The real issue seems to be that the code in your filter's
RequestData() where the MaximumNumberOfPoints is set to 5000 doesn't get
called. It's hard to say why it's not being called at all.

Utkarsh


On Wed, Nov 7, 2012 at 8:54 AM, Kilgus, Thomas
<t.kilgus at dkfz-heidelberg.de>wrote:

> Hi everyone,
>
> We are using vtkMaskPoints in one of our filters. Since we switched from
> VTK 5.8 to 5.10 our filter crashes in vtkMaskPoints because
> MaximumNumberOfPoints is set to the default value 9223372036854775807
> which seems kind of strange. This crash led us to another problem. In our
> filter we are actually calling MaskPoints->SetMaximumNumberOfPoints(5000);inside of
> RequestData but this methods is never reached. Has there been a change to
> this method or its usage in VTK 5.10? It is reached in vtk 5.8.****
>
> ** **
>
> Regards****
>
> Thomas****
>
> ** **
>
> ** **
>
> ** **
>
> Thomas Kilgus****
>
> German Cancer Research Center (DKFZ)****
>
> Div. Medical and Biological Informatics ****
>
> Junior group: Computer-assisted Interventions (E131)****
>
> Im Neuenheimer Feld 280****
>
> 69120 Heidelberg, Germany****
>
> Phone: +49(0) 6221-42-3545****
>
> ** **
>
> _______________________________________________
> 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 VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20121111/3c35104c/attachment.htm>


More information about the vtkusers mailing list