Re: [Paraview] Changing default representation for vtkImageData

2009-02-06 Thread Utkarsh Ayachit
Bryn,

It's not possible to change the default representation. However, it's
possible by wiring a plugin to do the same, would that help?

Utkarsh


On Fri, Feb 6, 2009 at 5:08 AM, Bryn Lloyd bll...@vision.ee.ethz.ch wrote:
 Hi,


 Is it possible to change the default representation of a given (existing)
 data type?

 I would like to set the default representation of vtkImageData to slice.

 Thanks
 Bryn



 ___
 ParaView mailing list
 ParaView@paraview.org
 http://www.paraview.org/mailman/listinfo/paraview

___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Losing data when clip multi-block

2009-02-06 Thread Utkarsh Ayachit
Eric,

Does the loss of arrays happen even if you clip the orginal dataset by
itself (without grouping it using the group filter)?

Utkarsh

On Wed, Feb 4, 2009 at 3:53 PM, Eric E. Monson emon...@cs.duke.edu wrote:
 Hello,

 I'm creating a multi-block data set using the group filter and then clipping
 it. The results of the clip are always missing one of the scalars associated
 with the second data set that I highlighted before applying the group
 filter. This only seems to happen if one of the data sets has multiple
 scalars or vectors associated with it -- if they each only have one, nothing
 is lost in the clip. (ParaView 3.4 and CVS, OS X 10.5.6 and Windows XP
 32-bit, no MPI)

 I originally saw this with my own data, but I am able to easily replicate
 this by creating two point sources. I apply the Elevation filter to the
 first. Then, to the second I apply Brownian Vectors, plus a Calculator that
 computes the magnitude of those vectors. If I highlight Elevation and then
 Calculator, then Group and Clip, I lose the vector magnitude scalar at the
 Clip stage. If I highlight the Calculator and then the Elevation, then Group
 and Clip, I lose the elevation scalar.

 Please let me know if anyone has any ideas about where this could be coming
 from.

 Thanks a lot,
 -Eric

 --
 Eric E Monson
 Duke Visualization Technology Group


 ___
 ParaView mailing list
 ParaView@paraview.org
 http://www.paraview.org/mailman/listinfo/paraview

___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Changing default representation for vtkImageData

2009-02-06 Thread Bryn Lloyd

Hi Utkarsh

Thanks for the answer. I had a look at the wikipage (Adding a new 
Representation), but it seemed too complicated for a small issue like this.


-Bryn











Utkarsh Ayachit wrote:

Bryn,

It's not possible to change the default representation. However, it's
possible by wiring a plugin to do the same, would that help?

Utkarsh


On Fri, Feb 6, 2009 at 5:08 AM, Bryn Lloyd bll...@vision.ee.ethz.ch wrote:

Hi,


Is it possible to change the default representation of a given (existing)
data type?

I would like to set the default representation of vtkImageData to slice.

Thanks
Bryn



___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview






--
-
Bryn Lloyd
Computer Vision Laboratory
ETH Zürich, Sternwartstrasse 7
CH - 8092 Zürich, Switzerland
Tel: +41 44 63 26668
Fax: +41 44 63 21199
-
___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Changing default representation for vtkImageData

2009-02-06 Thread Utkarsh Ayachit
Oh no, don't need to add a new representation. You'll create a new
autostart plugin
(http://www.paraview.org/Wiki/Plugin_HowTo#Autostart_Plugins). In this
plugin you'll have to create a new subclass for  pqDisplayPolicy and
then set it on the application core as follows:

pqApplicationCore::instance()-setDisplayPolicy(mypolicy);

In your pqDisplayPolicy subclass you can override the behaviour for
creating representations when a new source is created.

Utkarsh



On Fri, Feb 6, 2009 at 7:52 AM, Bryn Lloyd bll...@vision.ee.ethz.ch wrote:
 Hi Utkarsh

 Thanks for the answer. I had a look at the wikipage (Adding a new
 Representation), but it seemed too complicated for a small issue like this.

 -Bryn











 Utkarsh Ayachit wrote:

 Bryn,

 It's not possible to change the default representation. However, it's
 possible by wiring a plugin to do the same, would that help?

 Utkarsh


 On Fri, Feb 6, 2009 at 5:08 AM, Bryn Lloyd bll...@vision.ee.ethz.ch
 wrote:

 Hi,


 Is it possible to change the default representation of a given (existing)
 data type?

 I would like to set the default representation of vtkImageData to slice.

 Thanks
 Bryn



 ___
 ParaView mailing list
 ParaView@paraview.org
 http://www.paraview.org/mailman/listinfo/paraview




 --
 -
 Bryn Lloyd
 Computer Vision Laboratory
 ETH Zürich, Sternwartstrasse 7
 CH - 8092 Zürich, Switzerland
 Tel: +41 44 63 26668
 Fax: +41 44 63 21199
 -

___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Losing data when clip multi-block

2009-02-06 Thread Eric E. Monson

Hey Utkarsh,

No, I've never seen the clip lose data on one dataset by itself.

The other interesting thing is that I can't always get this data loss  
to happen if the data was generated as part of a source from the  
Sources menu. It's much more likely to disappear when the data was  
generated by a filter or brought in by a reader.


For example, if you generate a Box and a Wavelet source, grouping and  
clipping them won't lose any data, but if you run Generate IDs on one  
of them, then select GenerateIds1 second before grouping, then clip,  
the Ids point data disappears...


Thanks,
-Eric


On Feb 6, 2009, at 7:37 AM, Utkarsh Ayachit wrote:


Eric,

Does the loss of arrays happen even if you clip the orginal dataset by
itself (without grouping it using the group filter)?

Utkarsh

On Wed, Feb 4, 2009 at 3:53 PM, Eric E. Monson emon...@cs.duke.edu  
wrote:

Hello,

I'm creating a multi-block data set using the group filter and then  
clipping
it. The results of the clip are always missing one of the scalars  
associated

with the second data set that I highlighted before applying the group
filter. This only seems to happen if one of the data sets has  
multiple
scalars or vectors associated with it -- if they each only have  
one, nothing
is lost in the clip. (ParaView 3.4 and CVS, OS X 10.5.6 and Windows  
XP

32-bit, no MPI)

I originally saw this with my own data, but I am able to easily  
replicate
this by creating two point sources. I apply the Elevation filter to  
the
first. Then, to the second I apply Brownian Vectors, plus a  
Calculator that
computes the magnitude of those vectors. If I highlight Elevation  
and then
Calculator, then Group and Clip, I lose the vector magnitude scalar  
at the
Clip stage. If I highlight the Calculator and then the Elevation,  
then Group

and Clip, I lose the elevation scalar.

Please let me know if anyone has any ideas about where this could  
be coming

from.

Thanks a lot,
-Eric

--
Eric E Monson
Duke Visualization Technology Group


___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview



___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Question on distributed processing and rendering using Paraview and MPI

2009-02-06 Thread Moreland, Kenneth
Chewping,

Let me start with a nomenclature normalization.  What you call master/slave 
nodes we call client/server nodes.  We make this distinction because the client 
needs to be nowhere near the server nodes (I have attached a client to a server 
running on the other side of the country).

Your question is difficult to answer succinctly because it depends on the type 
of data.  In general, load balancing does not happen through MPI but through 
file I/O.  The parallel readers in ParaView each read in a partition of data, 
and that partition is fixed to the process.  For structured types of data (data 
with a regular grid topology), this partitioning can be very even.  For 
unstructured data, the partitioning is usually limited to how the data is lain 
out in the data files, so even partitioning is not guaranteed.  There is a 
filter, D3, that will use MPI to redistribute an unstructured data set.  No 
data is passed through the client in this process.

For more information, you can consult The ParaView Guide, which has a couple of 
chapters on parallel processing and rendering: 
http://www.kitware.com/products/books.html

You may also take a look at the Supercomputing tutorial, which talks about the 
parallel visualization from a User's perspective: 
http://www.paraview.org/Wiki/SC08_ParaView_Tutorial

-Ken


On 2/5/09 9:51 PM, chew ping lcp8...@msn.com wrote:

Hi,



My name is chewping and I'm doing my master's research in the University of 
Malaya, Malaysia. I'm using ParaView and MPI to visualize a relatively large 
medical data set in a homogeneous cluster environment. It consists of one 
master node and 9 slave nodes in a Local Area Network with class C IP address. 
Most nodes are similar to each other (32 bits processor, running on Linux). I 
would like to manipulate MPI to make the performance better (faster 
distributions of data and collections of results). As I am new to MPI and 
parallel processing system, there are a few questions that I would like to ask:



1.  How MPI distribute the work load?

2.  Does the master node divide the work load evenly first, then distribute 
to each slave node?

3.  Or the master node pass the whole chunk of work load to every slave 
node, then the slave node 'take' their own piece of work to process?

4.  Can the work load being distributed according to priority (load 
balancing)? Or give a bigger portion of work load to the node with higher 
processing speed?



Can MPI do the above and how? Where can I learn more on how to use MPI to tune 
for best performance for distributed processing and rendering?



Thanks in advance for your feedback!



     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: kmo...@sandia.gov
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel

___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Losing data when clip multi-block

2009-02-06 Thread John Biddiscombe

Eric et al,

I recently had a problem where a filter opreated normally when used 
normally, but when someone put a calculator in front of it, it stopped 
working. The filter in question instantiated other filters internally.


I tracked to the problem down to this.

Calculator calls SetActiveScalars(New data)
another filter later does a PointData()-PassData(blah)
-SetActiveScalars(More New data)

And the New data from before was lost. I do not like this 
SetActiveScalars function because it replaces (not adds) whatever scalar 
was there before. I cnaged the offending filter (in this case 
vtkSurfaceVectors) on my copy to do

PointData()-PassData(blah)
PointData()-AddArray(newData);
PointData()-SetActiveScalars(newData-GetName())

or something like that (from memory).

I have no idea if this is related to your problem, but I just thought 
I'd vent my spleen and start a campaigh to remove this 
SetActiveScalars(...) call as it is just rubbish. (At least it should be 
modified internally to not remove the old active slalars if they are are 
about to be wiped)


JB



Hey Utkarsh,

No, I've never seen the clip lose data on one dataset by itself.

The other interesting thing is that I can't always get this data loss 
to happen if the data was generated as part of a source from the 
Sources menu. It's much more likely to disappear when the data was 
generated by a filter or brought in by a reader.


For example, if you generate a Box and a Wavelet source, grouping and 
clipping them won't lose any data, but if you run Generate IDs on one 
of them, then select GenerateIds1 second before grouping, then clip, 
the Ids point data disappears...


Thanks,
-Eric


On Feb 6, 2009, at 7:37 AM, Utkarsh Ayachit wrote:


Eric,

Does the loss of arrays happen even if you clip the orginal dataset by
itself (without grouping it using the group filter)?

Utkarsh

On Wed, Feb 4, 2009 at 3:53 PM, Eric E. Monson emon...@cs.duke.edu 
wrote:

Hello,

I'm creating a multi-block data set using the group filter and then 
clipping
it. The results of the clip are always missing one of the scalars 
associated

with the second data set that I highlighted before applying the group
filter. This only seems to happen if one of the data sets has multiple
scalars or vectors associated with it -- if they each only have one, 
nothing

is lost in the clip. (ParaView 3.4 and CVS, OS X 10.5.6 and Windows XP
32-bit, no MPI)

I originally saw this with my own data, but I am able to easily 
replicate

this by creating two point sources. I apply the Elevation filter to the
first. Then, to the second I apply Brownian Vectors, plus a 
Calculator that
computes the magnitude of those vectors. If I highlight Elevation 
and then
Calculator, then Group and Clip, I lose the vector magnitude scalar 
at the
Clip stage. If I highlight the Calculator and then the Elevation, 
then Group

and Clip, I lose the elevation scalar.

Please let me know if anyone has any ideas about where this could be 
coming

from.

Thanks a lot,
-Eric

--
Eric E Monson
Duke Visualization Technology Group


___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview



___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview



--
John Biddiscombe,email:biddisco @ cscs.ch
http://www.cscs.ch/
CSCS, Swiss National Supercomputing Centre  | Tel:  +41 (91) 610.82.07
Via Cantonale, 6928 Manno, Switzerland  | Fax:  +41 (91) 610.82.82


___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] xdmf polydata-points (particles)

2009-02-06 Thread Jens
Hi,

I am using xdmf-file-format for my structured grid to visualise
turbulent flows.

Now, I have a bunch of vectors not connected to that grid, but defined
somewhere between the grid-points. They are stored as float-XYZ
+xyzLength in my hdf5-file (you could think of particles with
attributes,too.)

Therefore I need to add polydata-points+attributes to my xdmf-file. Is
that possible? And if yes, how?

Greetings
Jens
___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] Creating ImageData w/Programmable Source

2009-02-06 Thread Eric E. Monson

Hello,

I'm having trouble creating vtkImageData with the Python Programmable  
Source. The PolyData Helix example works fine for me, but when I try  
to create ImageData it seems to build the data structure within Python  
(i.e. I can print the characteristics of the ImageData and it looks  
fine in the Output Messages), but no data shows in the Information tab  
or the 3d render view.


Here's the simplest case of the things I've tried (after selecting  
vtkImageData from the combo box):


pdo = self.GetImageDataOutput()
pdo.SetDimensions(10,10,10)
pdo.SetOrigin(0,0,0)
pdo.SetSpacing(1,1,1)
print pdo

I can add scalars to it, or create a new vtkImageData and then shallow  
or deep copy that over to the output, and those things look like  
they're working fine at the print statement, but they don't seem to  
help get the data to really show up in the pipeline.


I hope someone can just point out something I'm forgetting to do...
(PV 3.4  CVS, OS X 10.5.6  WinXP)

Thanks,
-Eric

--
Eric E Monson
Duke Visualization Technology Group


___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Creating ImageData w/Programmable Source

2009-02-06 Thread David E DeMarle
I've seen a bug before where the output data type is fixed at the
first apply. If you did something like this it might explain what you
are seeing:
output type = polydata
enter python code to populate the image data
apply
change output type to image data
apply

See if this fixes the problem:
save the code somewhere (like the clip board)
delete the source
set output type = image data
past in python code
apply


On Fri, Feb 6, 2009 at 11:28 AM, Eric E. Monson emon...@cs.duke.edu wrote:
 Hello,

 I'm having trouble creating vtkImageData with the Python Programmable
 Source. The PolyData Helix example works fine for me, but when I try to
 create ImageData it seems to build the data structure within Python (i.e. I
 can print the characteristics of the ImageData and it looks fine in the
 Output Messages), but no data shows in the Information tab or the 3d render
 view.

 Here's the simplest case of the things I've tried (after selecting
 vtkImageData from the combo box):

 pdo = self.GetImageDataOutput()
 pdo.SetDimensions(10,10,10)
 pdo.SetOrigin(0,0,0)
 pdo.SetSpacing(1,1,1)
 print pdo

 I can add scalars to it, or create a new vtkImageData and then shallow or
 deep copy that over to the output, and those things look like they're
 working fine at the print statement, but they don't seem to help get the
 data to really show up in the pipeline.

 I hope someone can just point out something I'm forgetting to do...
 (PV 3.4  CVS, OS X 10.5.6  WinXP)

 Thanks,
 -Eric

 --
 Eric E Monson
 Duke Visualization Technology Group


 ___
 ParaView mailing list
 ParaView@paraview.org
 http://www.paraview.org/mailman/listinfo/paraview




-- 
David E DeMarle
Kitware, Inc.
RD Engineer
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-371-3971 x109
___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] xdmf polydata-points (particles)

2009-02-06 Thread Eric E. Monson

Hey Jens,

I think it should work out fine to treat them as particles with  
attributes. Here's an example of a short time series of particles  
which each have XYZ positions, plus a scalar and a vector attribute.


-Eric

Xdmf
Domain Name=MSI
Grid Name=CellTime GridType=Collection 
CollectionType=Temporal

Grid Name=Cells GridType=Uniform
Time Value=0.00 /
Topology TopologyType=Polyvertex 
NodesPerElement=30
/Topology
Geometry GeometryType=XYZ
DataItem DataType=Float Dimensions=30 3 
Format=HDF

TestData.h5:/iter/cells/position
/DataItem
/Geometry
Attribute AttributeType=Scalar Center=Node 
Name=leuk_type
DataItem DataType=Int Dimensions=30 1 
Format=HDF

TestData.h5:/iter/cells/type
/DataItem
/Attribute
Attribute AttributeType=Vector Center=Node  
Name=leuk_polarization

DataItem DataType=Float Dimensions=30 3 
Format=HDF

TestData.h5:/iter/cells/polarization
/DataItem
/Attribute
/Grid

Grid Name=Cells GridType=Uniform
Time Value=0.05 /
Topology TopologyType=Polyvertex 
NodesPerElement=30
/Topology
Geometry GeometryType=XYZ
DataItem DataType=Float Dimensions=30 3 
Format=HDF

TestData.h5:/iter0001/cells/position
/DataItem
/Geometry
Attribute AttributeType=Scalar Center=Node 
Name=leuk_type
DataItem DataType=Int Dimensions=30 1 
Format=HDF

TestData.h5:/iter0001/cells/type
/DataItem
/Attribute
Attribute AttributeType=Vector Center=Node  
Name=leuk_polarization

DataItem DataType=Float Dimensions=30 3 
Format=HDF

TestData.h5:/iter0001/cells/polarization
/DataItem
/Attribute
/Grid

/Grid
/Domain
/Xdmf

On Feb 6, 2009, at 11:26 AM, Jens wrote:


Hi,

I am using xdmf-file-format for my structured grid to visualise
turbulent flows.

Now, I have a bunch of vectors not connected to that grid, but defined
somewhere between the grid-points. They are stored as float-XYZ
+xyzLength in my hdf5-file (you could think of particles with
attributes,too.)

Therefore I need to add polydata-points+attributes to my xdmf-file. Is
that possible? And if yes, how?

Greetings
Jens
___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] xdmf polydata-points (particles)

2009-02-06 Thread Jens
Hi Eric,

thanks for your help ... somehow I was expecting a keyword polydata
instead of polyvertex.

Greetings
Jens

Eric E. Monson schrieb:
 Hey Jens,
 
 I think it should work out fine to treat them as particles with
 attributes. Here's an example of a short time series of particles which
 each have XYZ positions, plus a scalar and a vector attribute.
 
 -Eric
 
 Xdmf
 Domain Name=MSI
 Grid Name=CellTime GridType=Collection
 CollectionType=Temporal
 
 Grid Name=Cells GridType=Uniform
 Time Value=0.00 /
 Topology TopologyType=Polyvertex NodesPerElement=30
 /Topology
 Geometry GeometryType=XYZ
 DataItem DataType=Float Dimensions=30 3
 Format=HDF
 TestData.h5:/iter/cells/position
 /DataItem
 /Geometry
 Attribute AttributeType=Scalar Center=Node
 Name=leuk_type
 DataItem DataType=Int Dimensions=30 1
 Format=HDF
 TestData.h5:/iter/cells/type
 /DataItem
 /Attribute
 Attribute AttributeType=Vector Center=Node
 Name=leuk_polarization
 DataItem DataType=Float Dimensions=30 3
 Format=HDF
 TestData.h5:/iter/cells/polarization
 /DataItem
 /Attribute
 /Grid
 
 Grid Name=Cells GridType=Uniform
 Time Value=0.05 /
 Topology TopologyType=Polyvertex NodesPerElement=30
 /Topology
 Geometry GeometryType=XYZ
 DataItem DataType=Float Dimensions=30 3
 Format=HDF
 TestData.h5:/iter0001/cells/position
 /DataItem
 /Geometry
 Attribute AttributeType=Scalar Center=Node
 Name=leuk_type
 DataItem DataType=Int Dimensions=30 1
 Format=HDF
 TestData.h5:/iter0001/cells/type
 /DataItem
 /Attribute
 Attribute AttributeType=Vector Center=Node
 Name=leuk_polarization
 DataItem DataType=Float Dimensions=30 3
 Format=HDF
 TestData.h5:/iter0001/cells/polarization
 /DataItem
 /Attribute
 /Grid
 
 /Grid
 /Domain
 /Xdmf
 
 On Feb 6, 2009, at 11:26 AM, Jens wrote:
 
 Hi,

 I am using xdmf-file-format for my structured grid to visualise
 turbulent flows.

 Now, I have a bunch of vectors not connected to that grid, but defined
 somewhere between the grid-points. They are stored as float-XYZ
 +xyzLength in my hdf5-file (you could think of particles with
 attributes,too.)

 Therefore I need to add polydata-points+attributes to my xdmf-file. Is
 that possible? And if yes, how?

 Greetings
 Jens
 ___
 ParaView mailing list
 ParaView@paraview.org
 http://www.paraview.org/mailman/listinfo/paraview
 
___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] vtk file format too strikt

2009-02-06 Thread Jens
Hi,

the following file _cannot_ be read by paraview 3.4.0:

#vtk DataFile Version 2.0
Detailed
ASCII
DATASET POLYDATA
POINTS 1 float
-0.00168334 0.0751933 -0.000422686

but with adding one space it is fine:
# vtk DataFile Version 2.0
Detailed
ASCII
DATASET POLYDATA
POINTS 1 float
-0.00168334 0.0751933 -0.000422686

I think paraview-readershould not behave that strikt.

Greetings
Jens
___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Losing data when clip multi-block

2009-02-06 Thread Scott, W Alan
Eric,
I was trying to replicate this bug, and cannot.   Please give me detailed 
instructions on how to replicate it, and I will put it in the bug tracker.  
Better yet would be you putting it in the bug tracker.

I tried:
ParaView CVS trunk from late January, XP, non client/server.
Source/Box
Source/Wavelet
(Highlight Box) Filters/ Generate Ids  
(Highlight GenerateId and Wavelet) Filters/ Group Datasets
Clip
I then see the Ids points data as follows: Ids (partial)

alan

-Original Message-
From: paraview-boun...@paraview.org [mailto:paraview-boun...@paraview.org] On 
Behalf Of Eric E. Monson
Sent: Friday, February 06, 2009 7:09 AM
To: ParaView List
Subject: Re: [Paraview] Losing data when clip multi-block

Hey Utkarsh,

No, I've never seen the clip lose data on one dataset by itself.

The other interesting thing is that I can't always get this data loss to happen 
if the data was generated as part of a source from the Sources menu. It's much 
more likely to disappear when the data was generated by a filter or brought in 
by a reader.

For example, if you generate a Box and a Wavelet source, grouping and clipping 
them won't lose any data, but if you run Generate IDs on one of them, then 
select GenerateIds1 second before grouping, then clip, the Ids point data 
disappears...

Thanks,
-Eric


On Feb 6, 2009, at 7:37 AM, Utkarsh Ayachit wrote:

 Eric,

 Does the loss of arrays happen even if you clip the orginal dataset by 
 itself (without grouping it using the group filter)?

 Utkarsh

 On Wed, Feb 4, 2009 at 3:53 PM, Eric E. Monson emon...@cs.duke.edu
 wrote:
 Hello,

 I'm creating a multi-block data set using the group filter and then 
 clipping it. The results of the clip are always missing one of the 
 scalars associated with the second data set that I highlighted before 
 applying the group filter. This only seems to happen if one of the 
 data sets has multiple scalars or vectors associated with it -- if 
 they each only have one, nothing is lost in the clip. (ParaView 3.4 
 and CVS, OS X 10.5.6 and Windows XP 32-bit, no MPI)

 I originally saw this with my own data, but I am able to easily 
 replicate this by creating two point sources. I apply the Elevation 
 filter to the first. Then, to the second I apply Brownian Vectors, 
 plus a Calculator that computes the magnitude of those vectors. If I 
 highlight Elevation and then Calculator, then Group and Clip, I lose 
 the vector magnitude scalar at the Clip stage. If I highlight the 
 Calculator and then the Elevation, then Group and Clip, I lose the 
 elevation scalar.

 Please let me know if anyone has any ideas about where this could be 
 coming from.

 Thanks a lot,
 -Eric

 --
 Eric E Monson
 Duke Visualization Technology Group


 ___
 ParaView mailing list
 ParaView@paraview.org
 http://www.paraview.org/mailman/listinfo/paraview


___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Fwd: C++ Reader execution

2009-02-06 Thread Juan Fernando Duque Lombana
Using the following code:

pqPipelineSource* myVRML;
myVRML=builder-createReader(QString(sources),
QString(vrmlreader),QStringList(temp), myServer);
myVRML-getProxy()-UpdateVTKObjects();
myVRML-setModifiedState(pqProxy::UNMODIFIED);

The Accept button acts as if it is pressed! (not green anymore :) )

In the render view, the object is not shown, BUT if i go to the object
inspector in the GUI and press in the Display tab the Visible checkbox, the
object is shown. Does anyone know how I can do that via c++ ?

On Fri, Feb 6, 2009 at 3:53 PM, Moreland, Kenneth kmo...@sandia.gov wrote:

  No (maybe someone else knows).  You may try to just replicate the method.
  The accept operation is not tied to any particular pipeline object; it
 simultaneously updates all of them.

 -Ken


 On 2/6/09 1:16 PM, Juan Fernando Duque Lombana jduqu...@eafit.edu.co
 wrote:


 Thanks for your quick answer Ken, do you know a way to get the particular
 instance of that object given a pipeline?


 On Thu, Feb 5, 2009 at 5:38 PM, Moreland, Kenneth kmo...@sandia.gov
 wrote:

 I don't know the answer to this question, but you may want to look at the
 code for the pqObjectInspectorWidget::accept() method.  This is the method
 that gets called when you hit the Apply button.

 -Ken



 On 2/5/09 2:49 PM, Juan Fernando Duque Lombana jduqu...@eafit.edu.co 
 http://jduqu...@eafit.edu.co  wrote:

 Good day,

 I'm a newbie in this big paraview world and I would like to know if there's
 a way to do the following:

 I'm trying to load a VRML 2.0 file using the following command:


 myVRML=builder-createReader(QString(sources),
 QString(vrmlreader),QStringList(temp), s);

 Where temp contains the filename and s the pqServer.
 The VRML is now shown in the pipeline browser BUT it is needed for me to
 press by hand the Accept button in the correspondant Object Inspector.

 The question is: is there any way to call that button by code? I haven't
 found a way and its killing me.

 Hope anyone can help me! It will be really appreciated,

 ... Juan Fernando Duque Lombana.



  Kenneth Moreland
 ***  Sandia National Laboratories
 ***
 *** *** ***  email: kmo...@sandia.gov http://kmo...@sandia.gov
 **  ***  **  phone: (505) 844-8919
 ***  web:   
 http://www.cs.unm.edu/~kmorelhttp://www.cs.unm.edu/%7Ekmorel
 http://www.cs.unm.edu/%7Ekmorel





  Kenneth Moreland
 ***  Sandia National Laboratories
 ***
 *** *** ***  email: kmo...@sandia.gov
 **  ***  **  phone: (505) 844-8919
 ***  web:   
 http://www.cs.unm.edu/~kmorelhttp://www.cs.unm.edu/%7Ekmorel




-- 
... Juan Fernando Duque Lombana.
___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] reading MHA files

2009-02-06 Thread Berk Geveci
Did you  hit apply on the object inspector panel?

-berk

On Fri, Feb 6, 2009 at 4:15 AM,  christina.gue...@voila.fr wrote:
 The information of my image are the following:
 Xrange: NA
 Yrange: NA
 Zrange: NA
 What can I do in this case?

 Thanks Mr. David and all Paraviewers.

 Message du 05/02/09 à 23h11
 De : David E DeMarle dave.dema...@kitware.com
 A : christina.gue...@voila.fr
 Copie à : hob...@ohiou.edu, paraview@paraview.org
 Objet : Re: [Paraview] reading MHA files


 Try clicking on the Information tab in the Object Inspector panel. If
 the data ranges are huge then there is probably an endianness
 misalingment. If they look roughly OK, then the data probably loaded
 alright and the problem becomes how do you look at what you've loaded
 properly.

 After the load, Click on the Display tab of the Object Inspector
 Panel. Try changing the Representation to Surface With Edges. You
 should see a box with lots of blue grids in it. The grids show the
 individual cell boundaries. Now an attribute to color by. The interior
 of the grids should be colored now instead of greyish white. Next
 choose a Slice Representation. You can choose the slice axis and
 offset from the Display Tab.


 On Thu, Feb 5, 2009 at 3:13 PM,  christina.gue...@voila.fr wrote:
  Hi,
  first of all, thanks for your answer.
  For my MHA file, this is exactly the procedure used to open this file:
  - open the MHA file and choose the meta file format
  - click on apply button then a white box appears
  - click on contour and apply buttons and a volume appears as shown in the 
  attached file.
 
  The volume is not clear and I don't see the image normally.
  I would like to know are there parameters for adjusting or any thing else 
  to see the volume and all slices of this volume.
 
  Note that I used default parameters and the version that I have downloaded 
  is paraview-3.4.0-win32-x86.
 
  Thanks for your time.
 
 
  Message du 05/02/09 à 19h56
  De : David E DeMarle dave.dema...@kitware.com
  A : Kevin H. Hobbs hob...@ohiou.edu
  Copie à : christina.gue...@voila.fr, paraview@paraview.org
  Objet : Re: [Paraview] reading MHA files
 
 
  If you do not see the bounding box outline, and the contour button is
  not pressable, make sure you have hit the Apply button on the
  Properties tab of the Object Inspector Panel after choosing the
  filename to open.
 
   If you do see a white box after loading the data than you have a few
   options:
  
 I believe the default ParaView shows you a button along the top of the
   screen to contour the data.
  
 It also shows a button to change the representation of the data from
   outline to volume.
 
  --
  David E DeMarle
  Kitware, Inc.
  RD Engineer
  28 Corporate Drive
  Clifton Park, NY 12065-8662
  Phone: 518-371-3971 x109
 
 
 
  
 
  Ecoutez le dernier single de U2 Get on your boots sur 
  http://musiline.voila.fr !
 



 --
 David E DeMarle
 Kitware, Inc.
 RD Engineer
 28 Corporate Drive
 Clifton Park, NY 12065-8662
 Phone: 518-371-3971 x109



 

 Ecoutez le dernier single de U2 Get on your boots sur 
 http://musiline.voila.fr !


 ___
 ParaView mailing list
 ParaView@paraview.org
 http://www.paraview.org/mailman/listinfo/paraview

___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview