[Paraview-developers] Bug in my reader plugin

Lodron, Gerald Gerald.Lodron at joanneum.at
Sun Dec 8 04:26:32 EST 2013


Hi,

I found out that this is not a bug of my reader, it is seems to be a bug of paraview:

It also happens on .vtk Polydata files with cells of polygons (triangles) and WITH and point based array of unsigned char [3] (it seems to only apper if those array type is used). The array was set over myVTKPolyData->GetPointData()->AddScalars and not over AddArray and has the name "color", don't know if this is important.

Can you reproduce it, otherwise I will downscale my .vtk data (my polydata currently has 100MB) and upload it anywhere....

Best regards
Gerald

Von: Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com]
Gesendet: Samstag, 07. Dezember 2013 15:57
An: Lodron, Gerald
Cc: Paraview Developer (Paraview-developers at paraview.org)
Betreff: Re: [Paraview-developers] Bug in my reader plugin

Gerald,

It's unclear what could be going wrong. Can you share the code and sample files to reproduce the problem?

Utkarsh

On Fri, Dec 6, 2013 at 3:12 AM, Lodron, Gerald <Gerald.Lodron at joanneum.at<mailto:Gerald.Lodron at joanneum.at>> wrote:
Hello

I made a reader plugin which returns a vtkPolyData object from our internal file type and have following problem:

Open our file using plugin, polydata object is successfully loaded and visualized (everything fine)
Select some region with "select points through"
Apply the ExtractSelection filter, the subset is successfully extracted (unstructured grid), everything seems fine
Select Preserve Topology check box in the ExtractSelection object panel
Apply again

Then following comes into output window:

Warning: In D:\Develop\Source\ParaView-v4.1.0-RC1-source\ParaViewCore\ServerManager\Rendering\vtkSMPVRepresentationProxy.cxx, line 279
vtkSMPVRepresentationProxy (10CE2020): Could not determine array range.

Someone knows what I am doing wrong, this does not appear when I load a normal vtkPolyData .vtk file format so it seems that I am doing something wrong with the reader plugin interface, but what.....

Thanks
_________________________________________________________________

JOANNEUM RESEARCH Forschungsgesellschaft mbH

DIGITAL - Institute for Information and Communication Technologies
Steyrergasse 17, 8010 Graz, Austria

phone: +43 316 876-1751<tel:%2B43%20316%20876-1751>
fax: +43 316 8769-1751<tel:%2B43%20316%208769-1751>
e-mail: gerald.lodron at joanneum.at<mailto:gerald.lodron at joanneum.at>
web: www.joanneum.at/digital<http://www.joanneum.at/digital>
_________________________________________________________________

This message and any attached files are confidential and intended solely for the addressee(s). Any publication, transmission or other use of the information by a person or entity other than the intended addressee(s) is prohibited. If you receive this in error please contact the sender and delete the material. The sender does not accept liability for any errors or omissions as a result of the transmission.

Please consider the environment before printing this page.



_______________________________________________
Paraview-developers mailing list
Paraview-developers at paraview.org<mailto:Paraview-developers at paraview.org>
http://public.kitware.com/mailman/listinfo/paraview-developers

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20131208/2a2512ed/attachment.htm>


More information about the Paraview-developers mailing list