Russell M. Taylor II | 1 Feb 2012 03:21
Picon
Favicon

Clean to Grid/resampling issue with Paraview 3.12

Thank you for making ParaView!  It is a tool we use all the time, and 
I'm using it to teach my visualization class.  Students with Windows, 
Mac, and Linux are all able to do quite effective visualizations with it.

I attach a Paraview State file that demonstrates a resampling issue 
in ParaView.  This may be a problem in VTK, not sure.

The problem is that when you resample a lower-resolution 3D volume 
that has gone through the "Clean to Grid" filter and then a Transform 
filter, a "Resample with Dataset" filter misses samples in the middle 
of the volume.

This resampling works fine if you use the Tetrahedralize filter 
instead of the "Clean to Grid" filter.

I encountered this while merging PET, CT, and MRI data sets to 
produce a homework exercise using ParaView for my visualization 
class.  I can work around it using Tetrahedralize, but wanted to let 
people know that there is an issue.

In the attached file, if you right-click on the Transform filter and 
change its input to Tetrahedralize, the holes in the middle go away 
(as they should).

Thanks,
Russ

---
Russell M. Taylor II, Ph.D.                           taylorr <at> cs.unc.edu
CB #3175, Sitterson Hall                        www.cs.unc.edu/~taylorr
(Continue reading)

Felipe Bordeu | 1 Feb 2012 09:50
Picon
Favicon

Re: Clean to Grid/resampling issue with Paraview 3.12

I confirm this in ParaView  3.12.0 (git version) (linux 64-bit).



On 01/02/2012 03:21, Russell M. Taylor II wrote:
Thank you for making ParaView!  It is a tool we use all the time, and I'm using it to teach my visualization class.  Students with Windows, Mac, and Linux are all able to do quite effective visualizations with it.

I attach a Paraview State file that demonstrates a resampling issue in ParaView.  This may be a problem in VTK, not sure.

The problem is that when you resample a lower-resolution 3D volume that has gone through the "Clean to Grid" filter and then a Transform filter, a "Resample with Dataset" filter misses samples in the middle of the volume.

This resampling works fine if you use the Tetrahedralize filter instead of the "Clean to Grid" filter.

I encountered this while merging PET, CT, and MRI data sets to produce a homework exercise using ParaView for my visualization class.  I can work around it using Tetrahedralize, but wanted to let people know that there is an issue.

In the attached file, if you right-click on the Transform filter and change its input to Tetrahedralize, the holes in the middle go away (as they should).

Thanks,
Russ


---
Russell M. Taylor II, Ph.D.                           taylorr <at> cs.unc.edu
CB #3175, Sitterson Hall                        www.cs.unc.edu/~taylorr
University of North Carolina,                     Voice: (919) 962-1701
Chapel Hill, NC 27599-3175                        FAX:   (919) 962-1799 _______________________________________________ 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


-- Felipe Bordeu Weldt Ingénieur de Recherche ------------------------------------- Tél. : 33 (0)2 40 37 16 57 Fax. : 33 (0)2 40 74 74 06 Felipe.Bordeu <at> ec-nantes.fr Institut GeM - UMR CNRS 6183 École Centrale Nantes 1 Rue de La Noë, 44321 Nantes, FRANCE -------------------------------------
<div>
    I confirm this in ParaView&nbsp; 3.12.0 (git version) (linux 64-bit).<br><br><br><br>
    On 01/02/2012 03:21, Russell M. Taylor II wrote:
    <blockquote cite="mid:4f28a1c1.0aaee00a.372a.6dc3 <at> mx.google.com" type="cite">Thank you for making ParaView!&nbsp; It is a tool we use
      all the time, and I'm using it to teach my visualization class.&nbsp;
      Students with Windows, Mac, and Linux are all able to do quite
      effective visualizations with it.
      <br><br>
      I attach a Paraview State file that demonstrates a resampling
      issue in ParaView.&nbsp; This may be a problem in VTK, not sure.
      <br><br>
      The problem is that when you resample a lower-resolution 3D volume
      that has gone through the "Clean to Grid" filter and then a
      Transform filter, a "Resample with Dataset" filter misses samples
      in the middle of the volume.
      <br><br>
      This resampling works fine if you use the Tetrahedralize filter
      instead of the "Clean to Grid" filter.
      <br><br>
      I encountered this while merging PET, CT, and MRI data sets to
      produce a homework exercise using ParaView for my visualization
      class.&nbsp; I can work around it using Tetrahedralize, but wanted to
      let people know that there is an issue.
      <br><br>
      In the attached file, if you right-click on the Transform filter
      and change its input to Tetrahedralize, the holes in the middle go
      away (as they should).
      <br><br>
      Thanks,
      <br>
      Russ
      <br><br><br>
      ---
      <br>
      Russell M. Taylor II, Ph.D.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      <a class="moz-txt-link-abbreviated" href="mailto:taylorr <at> cs.unc.edu">taylorr <at> cs.unc.edu</a>
      <br>
      CB #3175, Sitterson Hall&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      <a class="moz-txt-link-abbreviated" href="http://www.cs.unc.edu/~taylorr">www.cs.unc.edu/~taylorr</a>
      <br>
      University of North Carolina,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Voice: (919)
      962-1701
      <br>
      Chapel Hill, NC 27599-3175&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FAX:&nbsp;&nbsp; (919)
      962-1799

_______________________________________________
Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>

Visit other Kitware open-source projects at <a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>

Please keep messages on-topic and check the ParaView Wiki at: <a class="moz-txt-link-freetext" href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a>

Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a>

    </blockquote>
    <br><br>-- 

Felipe Bordeu Weldt
Ing&eacute;nieur de Recherche
-------------------------------------
T&eacute;l. : 33 (0)2 40 37 16 57
Fax. : 33 (0)2 40 74 74 06
<a class="moz-txt-link-abbreviated" href="mailto:Felipe.Bordeu <at> ec-nantes.fr">Felipe.Bordeu <at> ec-nantes.fr</a>
Institut GeM - UMR CNRS 6183
&Eacute;cole Centrale Nantes
1 Rue de La No&euml;, 44321 Nantes, FRANCE
-------------------------------------
  </div>
Ryosuke Matsuo | 1 Feb 2012 11:39
Picon

Interpreting the deformation field

Hi all,


I just used ITK to perform a simple registration.
Fixed image contains a white circle at the center and moving image contains an ellipse.
I registered the image using BSplinetransformation and saved the deformation field (.mhd).
I tried to visualize the deformation field using glyph in paraview and limitting the number points to 1000.
I had this result (attached, result.png). How to interprete this result? What's the color and arrows means?

Thanks in advance,
Ryo
<div>
<p>Hi all,</p>
<div><br></div>
<div>
<div>I just used ITK to perform a simple registration.</div>
<div>Fixed image contains a white circle at the center and moving image contains an ellipse.</div>
<div>I registered the image using BSplinetransformation and saved the deformation field (.mhd).</div>
</div>
<div>I tried to visualize the deformation field using glyph in paraview and limitting the number points to 1000.</div>
<div>I had this result (attached, result.png). How to interprete this result? What's the color and arrows means?</div>
<div><br></div>
<div>Thanks in advance,</div>
<div>Ryo</div>
</div>
Russell M. Taylor II | 1 Feb 2012 13:57
Picon
Favicon

Re: [EXTERNAL] Re: Bug in contour filter for version 3.12 not present in 3.10

I wonder why it makes a difference to add the elevation filter for 
you.  I don't know what that filter does.

Even when I add elevation in 3.12.0 64-bit Windows version, it only 
gives me RTdata, not Elevation, after the contour is 
applied.  Strangely, if I contour by RTData after applying Elevation 
it also gives me only RTdata and not Elevation as a choice.  Maybe it 
is just skipping one of the entries in the contour?

Thanks,
Russ

At 03:38 PM 1/31/2012, David E DeMarle wrote:
>I don't see that behavior.
>wavelet->elevation->clip->contour
>
>Regardless of which array I contour by or how many offsets I use, I
>see both Elevation and RTData in the information tab and can color by
>either one.
>
>David E DeMarle
>Kitware, Inc.
>R&D Engineer
>21 Corporate Drive
>Clifton Park, NY 12065-8662
>Phone: 518-881-4909
>
>
>
>On Tue, Jan 31, 2012 at 12:09 PM, Russell M. Taylor II
><taylorr <at> cs.unc.edu> wrote:
> > It turns out that the contour is computing scalars for all of the scalars
> > except the one that it contoured on.  If you only make one 
> contour, then you
> > might say that this is not an issue, but when you make multiple contours
> > with the same filter you may want to color them by the value used to make
> > the contour.  In version 3.10, it would also compute the scalar for the
> > value you contoured by when you clicked the button.
> >
> > So I guess the bug is that 3.12 does not pass through the scalar value for
> > the scalar you contoured by.  If it did that, then we'd not need 
> to push the
> > button.
> >
> > Thanks,
> > Russ
> >
> >
> > At 05:45 PM 1/30/2012, Moreland, Kenneth wrote:
> >>
> >> I believe this change is intentional.  When you run the clip filter, it
> >> turns the data set into an unstructured grid.  The unstructured version of
> >> contour always computes scalars, so that checkbox has no effect.  To
> >> demonstrate that the checkbox has no effect, it is now grayed out.
> >>
> >>
> >> -Ken
> >>
> >> On 1/30/12 2:17 PM, "David E DeMarle" <dave.demarle <at> kitware.com> wrote:
> >>
> >> >I see it too. I'll add it to the bug tracker.
> >> >
> >> >David E DeMarle
> >> >Kitware, Inc.
> >> >R&D Engineer
> >> >21 Corporate Drive
> >> >Clifton Park, NY 12065-8662
> >> >Phone: 518-881-4909
> >> >
> >> >
> >> >
> >> >On Fri, Jan 27, 2012 at 4:42 PM, Russell M. Taylor II
> >> ><taylorr <at> cs.unc.edu> wrote:
> >> >> Paraview 3.12 doesn't let me check the "Compute Scalars" box, it is
> >> >>grayed
> >> >> out, in some circumstances.
> >> >>
> >> >> Sources/Wavelet
> >> >> FIlters/Clip
> >> >> Filter/Contour
> >> >>
> >> >> The above sequence will give you the situation I am talking about.
> >> >>Version
> >> >> 3.10 of Paraview and earlier let you compute scalars.  If you can't,
> >> >>then
> >> >> you can't color by the scalar value (this is useful in the case of
> >> >>multiple
> >> >> contours).
> >> >>
> >> >>
> >> >> ---
> >> >> Russell M. Taylor II, Ph.D.
> >> >> taylorr <at> cs.unc.edu
> >> >> CB #3175, Sitterson Hall                        www.cs.unc.edu/~taylorr
> >> >> University of North Carolina,                     Voice: (919) 962-1701
> >> >> Chapel Hill, NC 27599-3175                        FAX:   (919) 962-1799
> >> >> _______________________________________________
> >> >> 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
> >> >_______________________________________________
> >> >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
> >> >
> >
> >
> > ---
> > Russell M. Taylor II, Ph.D.                           taylorr <at> cs.unc.edu
> > CB #3175, Sitterson Hall                        www.cs.unc.edu/~taylorr
> > University of North Carolina,                     Voice: (919) 962-1701
> > Chapel Hill, NC 27599-3175                        FAX:   (919) 962-1799

---
Russell M. Taylor II, Ph.D.                           taylorr <at> cs.unc.edu
CB #3175, Sitterson Hall                        www.cs.unc.edu/~taylorr
University of North Carolina,                     Voice: (919) 962-1701
Chapel Hill, NC 27599-3175                        FAX:   (919) 962-1799 

Abdullahi Sanusi | 1 Feb 2012 22:04
Picon

Re: ParaView Digest, Vol 94, Issue 1

Hi All,
I am new to ParaView and VTK/ITK and I want to use them for my thesis. I have compiled ParaView and VTK from source on my Windows machine successfully and currently working through the examples. Now I want to do image registration on two images and interactive select some feature points for comparison. Please, I need some advice on how to achieve these base on your experience.
I will be very thankful.
Ibrahim.

<div><p>Hi All,<br>I am new to ParaView and VTK/ITK and I want to use them for my thesis. I have compiled ParaView and VTK from source on my Windows machine successfully and currently working through the examples. Now I want to do image registration on two images and interactive select some feature points for comparison. Please, I need some advice on how to achieve these base on your experience. <br>
I will be very thankful.<br>Ibrahim.<br><br></p></div>
David Doria | 1 Feb 2012 22:11
Picon
Gravatar

Re: ParaView Digest, Vol 94, Issue 1

On Wed, Feb 1, 2012 at 4:04 PM, Abdullahi Sanusi <scontact101 <at> gmail.com> wrote:
> Hi All,
> I am new to ParaView and VTK/ITK and I want to use them for my thesis. I
> have compiled ParaView and VTK from source on my Windows machine
> successfully and currently working through the examples. Now I want to do
> image registration on two images and interactive select some feature points
> for comparison. Please, I need some advice on how to achieve these base on
> your experience.
> I will be very thankful.
> Ibrahim.

I wrote a program similar to Matlab's cpselect that allows you to
select 2D or 3D control points. Here it is:

http://www.insight-journal.org/browse/publication/836

David
David E DeMarle | 2 Feb 2012 19:44
Favicon
Gravatar

Re: Interpreting the deformation field

This is probably a question for the ITK mailing list.

On that list someone will surely be able to explain it in mathematical
terms. To me, the glyphs look like they represent the direction and
magnitude of the transfer function from the values at the pixels in
the input image to those in output image.

David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909

On Wed, Feb 1, 2012 at 5:39 AM, Ryosuke Matsuo <ryosukematsuo1 <at> gmail.com> wrote:
> Hi all,
>
> I just used ITK to perform a simple registration.
> Fixed image contains a white circle at the center and moving image contains
> an ellipse.
> I registered the image using BSplinetransformation and saved the deformation
> field (.mhd).
> I tried to visualize the deformation field using glyph in paraview and
> limitting the number points to 1000.
> I had this result (attached, result.png). How to interprete this result?
> What's the color and arrows means?
>
> Thanks in advance,
> Ryo
>
> _______________________________________________
> 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
>
Utkarsh Ayachit | 2 Feb 2012 21:31
Favicon

Re: [EXTERNAL] Re: CSV file significant digits

Alan,

This issue has been fixed in git-next. We'll have it merged into
master soon. The user is shown options to change the precision and
using scientific notation when saving data as CSV.

http://paraview.org/Bug/view.php?id=12705

Utkarsh

On Mon, Jan 23, 2012 at 4:01 PM, Utkarsh Ayachit
<utkarsh.ayachit <at> kitware.com> wrote:
> I'm pretty sure it's just as trivial to provide an option to the user :).
>
> Utkarsh
>
> On Mon, Jan 23, 2012 at 2:47 PM, Scott, W Alan <wascott <at> sandia.gov> wrote:
>> Is there any downside to hard coding it to some bigger number, such as 12
>> digits?  That should be safe and trivial, shouldn’t it?
>>
>>
>>
>> Let me know, and I will write up bug reports.
>>
>>
>>
>> Alan
>>
>>
>>
>> From: Robert Maynard [mailto:robert.maynard <at> kitware.com]
>> Sent: Monday, January 23, 2012 12:03 PM
>> To: Scott, W Alan
>> Cc: paraview <at> paraview.org
>> Subject: [EXTERNAL] Re: [Paraview] CSV file significant digits
>>
>>
>>
>> The precision is currently hard coded I would recommend submitting a bug
>> that the precision become a user controlled variable.
>>
>> On Mon, Jan 23, 2012 at 12:55 PM, Scott, W Alan <wascott <at> sandia.gov> wrote:
>>
>> I have a user that is trying to write a spreadsheet to a .csv file.
>> Although the spreadsheet displays (and can display) a large number of
>> significant digits, when this is written to a .CSV file the precision is
>> pretty poor.
>>
>>
>>
>> Is there a way to increase the precision of the data in a .CSV file?
>>
>>
>>
>> To replicate, just open wavelet, display in a spreadsheet file, change the
>> spreadsheet file to have more precision than 6 characters, and File/Export
>> this to a .csv file.  The .csv file holds only 6 characters of precision for
>> each variable.
>>
>>
>>
>> Alan
>>
>>
>>
>> --------------------------------------------------------
>>
>> W. Alan Scott
>>
>> ParaView Support Manager
>>
>>
>>
>> GAITS
>>
>> Sandia National Laboratories, MS 0822
>>
>> Org 9326 - Building 880 A1-C
>>
>> (505) 284-0932   FAX (505) 284-5619
>>
>> ---------------------------------------------------------
>>
>>
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> 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
>>
>>
>>
>>
>>
>> --
>> Robert Maynard
>>
>>
>> _______________________________________________
>> 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
>>
Scott, W Alan | 2 Feb 2012 21:33
Picon

Re: [EXTERNAL] Re: CSV file significant digits

You guys are the greatest.   Thx.

-----Original Message-----
From: Utkarsh Ayachit [mailto:utkarsh.ayachit <at> kitware.com] 
Sent: Thursday, February 02, 2012 1:31 PM
To: Scott, W Alan
Cc: Robert Maynard; paraview <at> paraview.org
Subject: Re: [Paraview] [EXTERNAL] Re: CSV file significant digits

Alan,

This issue has been fixed in git-next. We'll have it merged into master soon. The user is shown options to
change the precision and using scientific notation when saving data as CSV.

http://paraview.org/Bug/view.php?id=12705

Utkarsh

On Mon, Jan 23, 2012 at 4:01 PM, Utkarsh Ayachit <utkarsh.ayachit <at> kitware.com> wrote:
> I'm pretty sure it's just as trivial to provide an option to the user :).
>
> Utkarsh
>
> On Mon, Jan 23, 2012 at 2:47 PM, Scott, W Alan <wascott <at> sandia.gov> wrote:
>> Is there any downside to hard coding it to some bigger number, such 
>> as 12 digits?  That should be safe and trivial, shouldn't it?
>>
>>
>>
>> Let me know, and I will write up bug reports.
>>
>>
>>
>> Alan
>>
>>
>>
>> From: Robert Maynard [mailto:robert.maynard <at> kitware.com]
>> Sent: Monday, January 23, 2012 12:03 PM
>> To: Scott, W Alan
>> Cc: paraview <at> paraview.org
>> Subject: [EXTERNAL] Re: [Paraview] CSV file significant digits
>>
>>
>>
>> The precision is currently hard coded I would recommend submitting a 
>> bug that the precision become a user controlled variable.
>>
>> On Mon, Jan 23, 2012 at 12:55 PM, Scott, W Alan <wascott <at> sandia.gov> wrote:
>>
>> I have a user that is trying to write a spreadsheet to a .csv file.
>> Although the spreadsheet displays (and can display) a large number of 
>> significant digits, when this is written to a .CSV file the precision 
>> is pretty poor.
>>
>>
>>
>> Is there a way to increase the precision of the data in a .CSV file?
>>
>>
>>
>> To replicate, just open wavelet, display in a spreadsheet file, 
>> change the spreadsheet file to have more precision than 6 characters, 
>> and File/Export this to a .csv file.  The .csv file holds only 6 
>> characters of precision for each variable.
>>
>>
>>
>> Alan
>>
>>
>>
>> --------------------------------------------------------
>>
>> W. Alan Scott
>>
>> ParaView Support Manager
>>
>>
>>
>> GAITS
>>
>> Sandia National Laboratories, MS 0822
>>
>> Org 9326 - Building 880 A1-C
>>
>> (505) 284-0932   FAX (505) 284-5619
>>
>> ---------------------------------------------------------
>>
>>
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> 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
>>
>>
>>
>>
>>
>> --
>> Robert Maynard
>>
>>
>> _______________________________________________
>> 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
>>

DJ Quam | 2 Feb 2012 23:43
Picon

Problem with Slice filter via Script

Hello all,


I am writing a Python script to automatically generate a few (approximately 5-10) slices through a volume dataset (Image data--uniform grid). Each time I attempt to use my Python script to generate the slices, set the origin and normal vectors, the Qt GUI of Paraview 3.12.2 (Win32 binaries) app crashes with an exception pointing to the vtkVolumeRendering DLL (read access violation).  This problem is repeatable.

However, when I attempt to create the slices manually (with the GUI) I am able to create them without issue.  Does anyone know what might be causing this problem? Am I missing something in the script?

Here is a snippet of my code that I know to be the trouble spot ("r" as a PVDReader object already in place):
____________________________________
....
        tempSlice=Slice(r)
tempSlice.SliceType.Origin=[temp.org_x, temp.org_y, temp.org_z]
tempSlice.SliceType.Normal = [temp.norm_x, temp.norm_y, temp.norm_z]
Show(tempSlice)
        ....

Thanks,
DJ
<div>
<p>Hello all,</p>
<div><br></div>
<div>I am writing a Python script to automatically generate a few (approximately 5-10) slices through a volume dataset (Image data--uniform grid). Each time I attempt to use my Python script to generate the slices, set the origin and normal vectors, the Qt GUI of Paraview 3.12.2 (Win32 binaries) app crashes with an exception pointing to the vtkVolumeRendering DLL (read access violation). &nbsp;This problem is repeatable.</div>

<div><br></div>
<div>However, when I attempt to create the slices manually (with the GUI) I am able to create them without issue. &nbsp;Does anyone know what might be causing this problem? Am I missing something in the script?</div>

<div><br></div>
<div>Here is a snippet of my code that I know to be the trouble spot ("r" as a PVDReader object already in place):</div>
<div>____________________________________</div>
<div>
<div>
<span class="Apple-tab-span">	</span>....</div>

<div>&nbsp; &nbsp; &nbsp; &nbsp; tempSlice=Slice(r)</div>
<div><span class="Apple-tab-span">	</span></div>
<div>
<span class="Apple-tab-span">	</span>tempSlice.SliceType.Origin=[temp.org_x, temp.org_y, temp.org_z]</div>

<div>
<span class="Apple-tab-span">	</span>tempSlice.SliceType.Normal = [temp.norm_x, temp.norm_y, temp.norm_z]</div>
<div>
<span class="Apple-tab-span">	</span>Show(tempSlice)</div>

</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; ....</div>
<div><br></div>
<div>Thanks,</div>
<div>DJ</div>
</div>

Gmane