[Paraview-developers] Bug in my reader plugin

Lodron, Gerald Gerald.Lodron at joanneum.at
Mon Dec 9 00:40:37 EST 2013


Ok, below there is an easy vtk file where the described behaviour appears. Simply select one of the two polygons and extract it, then select preserve topology and apply again a second time:

# vtk DataFile Version 3.0
vtk output
ASCII
DATASET POLYDATA
POINTS 4 float
0 0 0 1 0 0 1 1 0 0 1 0
POLYGONS 2 8
3 0 1 2
3 0 2 3
POINT_DATA 4
COLOR_SCALARS color 3
1 0 0 0 1 0 0 0 1 1 1 0


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/20131209/557ca397/attachment-0001.htm>


More information about the Paraview-developers mailing list