I guess that depends on how the scalar field is defined.  The append attributes 
filter combines the fields of data sets that have identical topology.  Since 
you report that fails, I assume that they have different topology.

So now I assume that the field is some volume of data in which the surface is 
embedded.  (I can't think of another situation that makes sense.)  In that 
case, try the "Resample With Dataset" filter.  Set the scalar field as "Input" 
and the surface geometry as "Source."

-Ken

From: Jan Linxweiler <[email protected]<mailto:[email protected]>>
Date: Tue, 31 Jan 2012 10:11:13 +0100
To: Kenneth Moreland <[email protected]<mailto:[email protected]>>
Cc: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: Re: [EXTERNAL] [Paraview] Contour geometry by scalar value (e.g. 
pressure)

Hi Ken,

thanks for your answer. You are right, I would like to color a geometry by a 
scalar field. The problem I have is, that I have the geometry and the scalar 
field separately (http://cl.ly/2q1o0n252V3r2I3k2y2o) and don't know how to 
combine those two. I tried to use "Append Attributes Filter" but did not 
succeed.

Any Idea is appreciated.

Thanks,

Jan

On 30.01.2012, at 23:54, Moreland, Kenneth wrote:

Do you mean color a surface by a scalar field?  (The example you give does not 
have contours as far as I can see.)  If so, simply select the field in the 
color by combo box (second toolbar, leftmost combo box).

More details are given in the ParaView tutorial 
(http://www.paraview.org/Wiki/The_ParaView_Tutorial).

-Ken

From: Jannis Linxweiler <[email protected]<mailto:[email protected]>>
Date: Mon, 30 Jan 2012 21:33:02 +0100
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: [EXTERNAL] [Paraview] Contour geometry by scalar value (e.g. pressure)

Dear users,

I'd like to map the contour of a scalar filed to a geometry, but couldn't 
figure out how to do this in paraview.

I have a structured grid of scalars and a geometry (e.g. stl) and like to 
achieve a visualization like the one shown here: 
http://cl.ly/1J2t0v3v0J3q3b0T052F

Can anyone point me to the right direction?

Thanks in advance,

Jan
_______________________________________________ Powered by 
www.kitware.com<http://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

Reply via email to