<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Georgia, sans-serif; ">
<div>Try this example out:</div>
<div><a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Filtering/AppendFilter">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Filtering/AppendFilter</a></div>
<div><br>
</div>
<div>You would read your files in with a vtkPolyDataReader, then use the vtkAppendPolyData filter to combine them - you can then write out the composite file with a vtkPolyDataWriter ...</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Matt Goh <<a href="mailto:mattgoh01@gmail.com">mattgoh01@gmail.com</a>><br>
<span style="font-weight:bold">Date: </span>Tuesday, September 23, 2014 3:00 PM<br>
<span style="font-weight:bold">To: </span>"<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>" <<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>><br>
<span style="font-weight:bold">Subject: </span>[vtkusers] combine vtk<br>
</div>
<div><br>
</div>
<div>
<div>
<div dir="ltr">
<div class="gmail_default" style="font-family:'trebuchet ms',sans-serif"><span style="color: rgb(0, 0, 0); font-size: 16px; font-family: Calibri, Arial, Helvetica, sans-serif; ">Dear all,</span>
<div style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px">
<br>
</div>
<div style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px">
I have vtk files in POLYDATA format that I wish to combine into one. Does anyone know how I can do this?</div>
</div>
<br clear="all">
<div><br>
</div>
<div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;display:inline">
​Thanks</div>
<div>
<div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;display:inline">
<br>
Matt</div>
</div>
</div>
</div>
</div>
</span>
</body>
</html>