<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4611.1300" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello all,</FONT></DIV>
<DIV><FONT face=Arial size=2>I am fairly new to vtk (about a week) and am very 
impressed with what I have seen so far.</FONT></DIV>
<DIV><FONT face=Arial size=2>I am developing a visualization application to view 
Finite element meshes and results. I have</FONT></DIV>
<DIV><FONT face=Arial size=2>a&nbsp;question which I would appreciate some 
response to.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp; &nbsp;Reading through the mail archive the 
problem of 'material regions' within a finite element mesh</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp; arose. As you may or may not know, the 
stresses (and strains) obtained from a FE simulation</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp; are discontinuous across these 
boundaries. The question then is how to produce contours (and </FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp; colour maps) for these regions. Has 
anyone got any ideas for this ??</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp; &nbsp;I have created the concept</FONT><FONT 
face=Arial size=2>&nbsp; of mesh regions where&nbsp;each one&nbsp;has a 
vtkUnstructuredGrid. The field</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp; &nbsp;data for a specific region can 
then</FONT><FONT face=Arial size=2> be set for the grid of that region and I get 
the one-to-one correlation</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp; &nbsp;between the point field data 
and</FONT><FONT face=Arial size=2> the points of the grid (this is a necessity 
right ???).</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp; This will work fine (I hope), however 
and few problems will arise. If I want to display the point ids</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp; of a certain region I am unable to use 
vtkIdFilter because there is a local-&gt;global mapping of the</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp; point ids (and the cell ids). Is there 
a way around this.???&nbsp;Maybe it is possible to create the&nbsp;correct 
data</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp;set for a vtkLabeledDataMapper 
</FONT><FONT face=Arial size=2>using ids held in a vtkIdList???</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks in advance for any ideas/help.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Simon</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV></BODY></HTML>