<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=ks_c_5601-1987">
<META content="MSHTML 6.00.2900.2912" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Hi,</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>I want to represent a cubic-meshed structure using
vtkUnstructuredGrid (don't ask the reason :-)</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Node information is </FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>*NODE 43567<BR>-0.003482 -0.003482 0<BR>-0.003482 0
0<BR>-0.003482 0.003482 0<BR>0 -0.003482 0<BR>0 0 0<BR>0 0.003482 0<BR>0.003482
-0.003482 0<BR>0.003482 0 0<BR>0.003482 0.003482 0<BR>0.003916 0.003916
0<BR>0.00435 0.00435 0<BR>0.004783 0.004783 0<BR>0.005217 0.005217
0<BR>.</FONT></DIV>
<DIV><FONT size=2>.</FONT></DIV>
<DIV><FONT size=2>.(omit)</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Element information is...</FONT></DIV>
<DIV><FONT size=2>*ELEMENT 36848<BR>8 1 1 4 5 2 82 85 86 83<BR>8 1 2 5 6 3 83 86
87 84<BR>8 1 4 7 8 5 85 88 89 86<BR>8 1 5 8 9 6 86 89 90 87<BR>8 1 10 11 20 19
91 92 101 100<BR>8 1 11 12 21 20 92 93 102 101<BR>8 1 12 13 22 21 93 94 103
102<BR>8 1 13 14 23 22 94 95 104 103<BR>8 1 14 15 24 23 95 96 105 104<BR>8 1 15
16 25 24 96 97 106 105<BR>8 1 16 17 26 25 97 98 107 106<BR>8 1 17 18 27 26 98 99
108 107<BR>8 1 19 20 29 28 100 101 110 109<BR>.</FONT></DIV>
<DIV><FONT size=2>.</FONT></DIV>
<DIV><FONT size=2>.(omit)</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>And the method of InsertNextCell is like
this.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2><STRONG>vtkIdType vtkUnstructuredGrid::InsertNextCell
( int type, vtkIdList * ptIds
) </STRONG> <BR> </FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>What does <STRONG>the type</STRONG> mean ??</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Some people use this method like...</FONT></DIV>
<DIV><FONT size=2>vtkUnstructuredGrid::InsertNExtCell(<STRONG>12</STRONG>,
IdList)</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Why 12 ??</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV></BODY></HTML>