[Paraview] vtkStructuredGrid not showing

Andrew Ho andrewh0 at uw.edu
Sat Jun 7 13:09:17 EDT 2014


Adding the WholeExtent to the RequestInformation pass did indeed work.
Thank you.


On Thu, Jun 5, 2014 at 8:43 AM, David E DeMarle <dave.demarle at kitware.com>
wrote:

> I think you are just missing that you should set WholeExtent in the
> RequestInformation pass.
>
>
>
>
>
>
> David E DeMarle
> Kitware, Inc.
> R&D Engineer
> 21 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-881-4909
>
>
> On Wed, Jun 4, 2014 at 3:15 AM, Andrew Ho <andrewh0 at uw.edu> wrote:
>
>>  Hi,
>>
>> I'm having some issues getting a structured grid to be rendered in
>> ParaView with a plugin I'm writing.
>>
>> What I have is my own class extending vtkStructuredGridAlgorithm.
>>
>> My RequestData method: http://pastebin.com/uxSk3n5b
>>
>> I'm pretty sure that my generation code is working correctly as I can
>> plug it into the standalone VTK example and everything works as expected (
>> http://www.vtk.org/Wiki/VTK/Examples/Cxx/StructuredGrid/StructuredGrid).
>>
>> Additionally, after I apply my algorithm, the Information tab lists the
>> correct statistics:
>> 2 cells
>> 6 points
>> density data array with 6 elements
>> extents and bounds are both [0,1,0,2,0,0] which appears to be correct
>>
>>  I'm using ParaView 4.1 in Ubuntu 14.04 (x64)
>>
>> This seems to be similar to an issue posted back in 2011:
>> http://public.kitware.com/pipermail/paraview/2011-June/021872.html
>>
>> As a note I have tried writing a simple XDMF file which creates a 2D
>> structured mesh and that loads just fine. However, strangely enough the
>> extents are in a different order than what I thought they should be ([0, 0,
>> 0, 1, 0, 2])
>>
>> --
>> Andrew Ho
>>
>> _______________________________________________
>> 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
>>
>>
>


-- 
Andrew Ho
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20140607/32ae2835/attachment.html>


More information about the ParaView mailing list