I have a Paraview programmable filter written in python, that I am running
on a table of points to assign RGB colors as UnsignedCharArray. I'm just
stuck in one part of the code to get the value of R, G, B fields in the
range. Here is the table example:
[image: Inline image 1]
ids = self.GetInput
Try:
inRArray = ids.GetPointData().GetArray("R")
inGArray = ids.GetPointData().GetArray("G")
inBArray = ids.GetPointData().GetArray("B") for x in range(0,
ids.GetNumberOfPoints()):
rF = inRArray.GetValue(x)
gF = inGArray.GetValue(x)
bF = inBArray.GetValue(x)
David E DeMarle
Kitware, Inc.
Hi David,
Thanks for the reply, it works now, but I can't see the original RGB colors
in renderview. In color map editor, I changed the settings to RGB but still
the color scale is scaled based on color pallet. Is there any other
settings that I missed?
Thanks.
On Tue, Aug 8, 2017 at 1:46 PM, Da
>
> Would there be anyway to automatically group together all the sources
> without looping?
>
This should work:
* GroupDatasets(Input=GetSources().values())*
Utkarsh
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://
Hi Lionel,
This is a bug [1] that will be fixed in ParaView 5.4.1, coming out in
the next week or so. In fact, it is fixed in the latest 5.4.1 release
candidate, which you can get from www.paraview.org/download.
HTH,
Cory
[1] https://gitlab.kitware.com/paraview/paraview/issues/17603
On Tue, Aug
Hi
I'm facing a problem in Fedora 26, it seems like my Paraview GUI (5.4)
is very very slow, compared with previous versions. I usually do the
installation from the Fedora repositories. Now I'm trying to built from
source to see if I can fix this problem.
However, after the first try it didn
Hello all,
Thank you, Cory and Ken, for your answers. The trick with the Calculator
and WarpByVector filters was what I was originally looking for as a
quick solution, but when I tried some examples with the Programmable
filter, I found it a very useful way to implement filters for relatively
Hi everyone,
I'm trying to hide all pipeline objects on my view. My paraview.simple does
not have a "HideAll" so I'm not sure how to do this. The following methods
have not worked for me:
def HideAll(view=None):
"""Hide all pipeline sources in the given view.
If view is not specified, active vi
Hello,
To make a long story short, this solution you used below, does not work well
for the weather forecasting group here on my campus that I am working with. Is
there any possibility of obtaining the source code of the Paraview netCDF
reader? If I could edit that source code to accept the n
What version of ParaView are you using? `simple.HideAll` has been
supported since 5.2.
On Tue, Aug 8, 2017 at 12:39 PM, Amelia Launspach
wrote:
> Hi everyone,
>
> I'm trying to hide all pipeline objects on my view. My paraview.simple
> does not have a "HideAll" so I'm not sure how to do this. T
Using paraview 5.1.2, thats a bummer
On Tue, Aug 8, 2017 at 12:03 PM, Utkarsh Ayachit <
utkarsh.ayac...@kitware.com> wrote:
> What version of ParaView are you using? `simple.HideAll` has been
> supported since 5.2.
>
> On Tue, Aug 8, 2017 at 12:39 PM, Amelia Launspach
> wrote:
>
>> Hi everyone,
With 5.1.2, try this:
>>> view = GetActiveView()
>>> sources = GetSources().values()
>>> for aSource in sources:
... Hide(aSource, view)
Utkarsh
On Tue, Aug 8, 2017 at 1:05 PM, Amelia Launspach
wrote:
> Using paraview 5.1.2, thats a bummer
>
> On Tue, Aug 8, 2017 at 12:03 PM, Utk
Yoshimi's fix has been merged into VTK and will be in ParaView 5.5 due
out in November.
https://gitlab.kitware.com/vtk/vtk/merge_requests/3090/diffs
Thank you for the report, Eric, and for the fix, Yoshimi.
Cory
On Wed, Aug 2, 2017 at 12:28 AM, kenichiro yoshimi
wrote:
> Hello Eric,
>
> If the
Hi Cory,
Thanks a lot for your fast response. I will give a try with the new release by
tomorrow.
Regarding the pvbatch issue, do you have any hint?
Kindly,
Lionel
De : Cory Quammen [cory.quam...@kitware.com]
Envoyé : mardi 8 août 2017 16:44
À : Wil
> Regarding the pvbatch issue, do you have any hint?
That is odd. I'm not sure what is going on exactly. Have you tried
running your script with pvpython?
Thanks,
Cory
> Kindly,
>
> Lionel
>
> De : Cory Quammen [cory.quam...@kitware.com]
> Envoyé : mardi
Hi Paraviewers,
I have a simple question regarding the screenshot saving feature within
Paraview.
I wrote a python script that I run with pvbatch which basically :
1) Load a polydata
2) Create a render view
3) Set up the camera (position, focal point, view angle)
4) Take a screenshot with
Is there anywhere that highlights what version of qt should be used for
building from source? Current version of qt being 5.9 from its website. Is
paraview on this version yet or an older version.
___
Powered by www.kitware.com
Visit other Kitware open-s
Andrew,
The officially supported version of Qt is 5.9, but you could use down
to Qt 5.6 if you wanted.
Best,
Cory
On Tue, Aug 8, 2017 at 4:25 PM, Andrew Nicholson
wrote:
> Is there anywhere that highlights what version of qt should be used for
> building from source? Current version of qt being
Hi Cynthia,
It is possible to change the reader. You'll need to compile ParaView from
source. The class you need to change is vtkNetCDFCFReader.
Probably you'll need an extra parameter to the reader that would be the
time unit. The time unit read from the file should overides this parameter.
You c
Hi Cynthia,
If you could modify the vtkNetCDFCFReader (
https://github.com/Kitware/VTK/blob/master/IO/NetCDF/vtkNetCDFCFReader.cxx) to
work with WRF formats, that would be an awesome addition. I know few folks
that can use this work. Unfortunately we do not have any direct funding to
accomplish th
Dan,
This is a known issue [1] with the Projected Tetrahedra volume
rendering algorithm on Mac.
Cory
[1] https://gitlab.kitware.com/paraview/paraview/issues/17303
On Tue, Aug 8, 2017 at 5:09 PM, Dan Lipsa wrote:
> Hi all,
> Volume rendering seems to be broken on my laptop.
> The first version
I see. Thanks Cory.
Dan
On Tue, Aug 8, 2017 at 5:17 PM, Cory Quammen
wrote:
> Dan,
>
> This is a known issue [1] with the Projected Tetrahedra volume
> rendering algorithm on Mac.
>
> Cory
>
> [1] https://gitlab.kitware.com/paraview/paraview/issues/17303
>
> On Tue, Aug 8, 2017 at 5:09 PM, Dan
22 matches
Mail list logo