<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word"><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content=Word.Document name=ProgId>
<META content="MSHTML 5.00.3103.1000" name=GENERATOR>
<META content="Microsoft Word 10" name=Originator><LINK
href="cid:filelist.xml@01C264B0.7FD6CB00" rel=File-List><!--[if gte mso 9]><xml>
<o:OfficeDocumentSettings>
<o:DoNotRelyOnCSS/>
</o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:SpellingState>Clean</w:SpellingState>
<w:GrammarState>Clean</w:GrammarState>
<w:DocumentKind>DocumentEmail</w:DocumentKind>
<w:HyphenationZone>14</w:HyphenationZone>
<w:EnvelopeVis/>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]-->
<STYLE>P.MsoNormal {
        FONT-FAMILY: "Times New Roman"; FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; mso-style-parent: ""; mso-pagination: widow-orphan; mso-fareast-font-family: "Times New Roman"
}
LI.MsoNormal {
        FONT-FAMILY: "Times New Roman"; FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; mso-style-parent: ""; mso-pagination: widow-orphan; mso-fareast-font-family: "Times New Roman"
}
DIV.MsoNormal {
        FONT-FAMILY: "Times New Roman"; FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; mso-style-parent: ""; mso-pagination: widow-orphan; mso-fareast-font-family: "Times New Roman"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline; text-underline: single
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline; text-underline: single
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline; text-underline: single
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline; text-underline: single
}
SPAN.StileMessaggioDiPostaElettronica17 {
        COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: personal-compose; mso-style-noshow: yes; mso-ansi-font-size: 10.0pt; mso-bidi-font-size: 10.0pt; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial; mso-bidi-font-family: Arial
}
SPAN.SpellE {
        mso-style-name: ""; mso-spl-e: yes
}
SPAN.GramE {
        mso-style-name: ""; mso-gram-e: yes
}
DIV.Section1 {
        page: Section1
}
</STYLE>
<!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
        {mso-style-name:"Tabella normale";
        mso-tstyle-rowband-size:0;
        mso-tstyle-colband-size:0;
        mso-style-noshow:yes;
        mso-style-parent:"";
        mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
        mso-para-margin:0cm;
        mso-para-margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:10.0pt;
        font-family:"Times New Roman";}
</style>
<![endif]--></HEAD>
<BODY bgColor=#ffffff lang=IT link=blue style="tab-interval: 35.4pt"
vLink=purple>
<DIV><FONT face=Arial size=2>Hi Vincenzo</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>I guess you're not building links. Heres a Tcl
script that does similar to your requirements (works with vtk32) -
it should be easy to change from wedges to voxels or
hexahedra.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Malcolm</FONT></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A href="mailto:viciomor@tin.it" title=viciomor@tin.it>Vincenzo Mormino</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
href="mailto:vtkusers@public.kitware.com"
title=vtkusers@public.kitware.com>vtkusers@public.kitware.com</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, September 25, 2002 4:27
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [vtkusers] How To:</DIV>
<DIV><BR></DIV>
<DIV class=Section1>
<P class=MsoNormal><SPAN class=SpellE><FONT face=Arial size=2><SPAN
style="FONT-FAMILY: Arial; FONT-SIZE: 10pt">Hello</SPAN></FONT></SPAN><FONT
face=Arial size=2><SPAN style="FONT-FAMILY: Arial; FONT-SIZE: 10pt"> <SPAN
class=SpellE>for</SPAN> all.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><SPAN class=GramE><FONT face=Arial size=2><SPAN
style="FONT-FAMILY: Arial; FONT-SIZE: 10pt">I</SPAN></FONT></SPAN><FONT
face=Arial size=2><SPAN style="FONT-FAMILY: Arial; FONT-SIZE: 10pt"> <SPAN
class=SpellE>am</SPAN> Vincenzo Mormino and i <SPAN class=SpellE>have</SPAN> a
<SPAN class=SpellE>problem</SPAN>:<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><SPAN class=GramE><FONT face=Arial size=2><SPAN
style="FONT-FAMILY: Arial; FONT-SIZE: 10pt">i</SPAN></FONT></SPAN><FONT
face=Arial size=2><SPAN style="FONT-FAMILY: Arial; FONT-SIZE: 10pt"> <SPAN
class=SpellE>must</SPAN> <SPAN class=SpellE>insert</SPAN> a x <SPAN
class=SpellE>number</SPAN> of <SPAN class=SpellE>cell</SPAN> of <SPAN
class=SpellE>type</SPAN> <SPAN class=SpellE>Voxel</SPAN> in a <SPAN
class=SpellE>UnstructuredGrid</SPAN>, <SPAN class=SpellE>but</SPAN> i <SPAN
class=SpellE>be</SPAN> <SPAN class=SpellE>succefssfull</SPAN> <SPAN
class=SpellE>insert</SPAN> <SPAN class=SpellE>only</SPAN> one <SPAN
class=SpellE>cell</SPAN> of <SPAN class=SpellE>type</SPAN> <SPAN
class=SpellE>voxel</SPAN>.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><SPAN class=GramE><FONT face=Arial size=2><SPAN
style="FONT-FAMILY: Arial; FONT-SIZE: 10pt">I</SPAN></FONT></SPAN><FONT
face=Arial size=2><SPAN style="FONT-FAMILY: Arial; FONT-SIZE: 10pt"> <SPAN
class=SpellE>use</SPAN> <SPAN class=SpellE>th</SPAN> <SPAN
class=SpellE>metod</SPAN> <SPAN class=SpellE>insertnextcell</SPAN> of <SPAN
class=SpellE>UnstructuredGrid</SPAN> class <SPAN class=SpellE>but</SPAN> i
<SPAN class=SpellE>don’</SPAN>t <SPAN class=SpellE>see</SPAN> <SPAN
class=SpellE>anything</SPAN> <SPAN class=SpellE>when</SPAN> i <SPAN
class=SpellE>visualize</SPAN> the <SPAN
class=SpellE>result</SPAN>.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><SPAN class=SpellE><FONT face=Arial size=2><SPAN
style="FONT-FAMILY: Arial; FONT-SIZE: 10pt">If</SPAN></FONT></SPAN><FONT
face=Arial size=2><SPAN style="FONT-FAMILY: Arial; FONT-SIZE: 10pt"> <SPAN
class=SpellE>someone</SPAN> can help me i <SPAN class=SpellE>thankyou</SPAN>
<SPAN class=SpellE>him</SPAN>.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><SPAN class=SpellE><FONT face=Arial size=2><SPAN
style="FONT-FAMILY: Arial; FONT-SIZE: 10pt">By</SPAN></FONT></SPAN><FONT
face=Arial size=2><SPAN
style="FONT-FAMILY: Arial; FONT-SIZE: 10pt">.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-FAMILY: Arial; FONT-SIZE: 10pt"><o:p> </o:p></SPAN></FONT></P></DIV></BLOCKQUOTE></BODY></HTML>