<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Hi Bill,<div><br></div><div>Thanks for the reply. I made the change as you suggested. It does something now. The resulting scene has 10-20 polygonal structures that seem to be randomly located. They definitely don't represent the data. If I replace the thresholding and geometryfilter construction with a contourfilter, everything works fine; I get a surface reconstruction of the underlying cell population generated by marching cubes. What I need now is a visualization of the actual voxels that are ON, and to convert that to a polydata. Is vtkGeometryFilter the right class for that?</div><div><br></div><div>Any ideas?</div><div><br></div><div>Thanks,</div><div>Thommen<br><br><hr id="stopSpelling">Date: Tue, 10 May 2011 19:49:13 -0400<br>Subject: Re: [vtkusers] Visualizing populated voxels<br>From: bill.lorensen@gmail.com<br>To: thkorah@hotmail.com<br>CC: vtkusers@vtk.org<br><br>Try,<br><pre style="text-indent:0px">vtkDataObject<span style="color:rgb(0, 0, 0)">::</span>FIELD_ASSOCIATION_POINTS<span style="color:rgb(0, 0, 0)"><br>instead of<br></span>vtkDataObject<span style="color:rgb(0, 0, 0)">::</span>FIELD_ASSOCIATION_CELLS<br>
<pre style="text-indent:0px"><span style="color:rgb(0, 0, 0)"><br></span></pre><br></pre><br><br><div class="ecxgmail_quote">On Tue, May 10, 2011 at 5:26 PM, Thommen Korah <span dir="ltr"><<a href="mailto:thkorah@hotmail.com">thkorah@hotmail.com</a>></span> wrote:<br>
<blockquote class="ecxgmail_quote" style="padding-left:1ex">
<div>
Hi,<div><br></div><div>I have a voxel grid (stored as vtkImageData). I would like to visualize the cells that are populated (greater than a particular threshold). I then want to convert the resulting surface into a polydata and write it as a PLY file. My code below that uses vtkThreshold followed by GeometryFilter doesn't work for some reason. Could anyone suggest a possible fix?</div>
<div><br></div><div>Thanks.</div><div>Thommen</div><div><br></div><div>
<pre style="text-indent:0px"><span style="color:rgb(128, 128, 0)">int</span><span style="color:rgb(192, 192, 192)"> </span>VtkScene<span style="color:rgb(0, 0, 0)">::</span>addVoxelSurface<span style="color:rgb(0, 0, 0)">(</span><span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(128, 128, 0)">short</span><span style="color:rgb(0, 0, 0)">*</span><span style="color:rgb(192, 192, 192)"> </span>sampleGrid<span style="color:rgb(0, 0, 0)">,</span><span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(128, 128, 0)">double</span><span style="color:rgb(192, 192, 192)"> </span>isoValue<span style="color:rgb(0, 0, 0)">,</span></pre>
<pre style="text-indent:0px"><span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(128, 128, 0)">int</span><span style="color:rgb(192, 192, 192)"> </span>dimX<span style="color:rgb(0, 0, 0)">,</span><span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(128, 128, 0)">int</span><span style="color:rgb(192, 192, 192)"> </span>dimY<span style="color:rgb(0, 0, 0)">,</span><span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(128, 128, 0)">int</span><span style="color:rgb(192, 192, 192)"> </span>dimZ<span style="color:rgb(0, 0, 0)">,</span></pre>
<pre style="text-indent:0px"><span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(128, 128, 0)">double</span><span style="color:rgb(192, 192, 192)"> </span>voxX<span style="color:rgb(0, 0, 0)">,</span><span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(128, 128, 0)">double</span><span style="color:rgb(192, 192, 192)"> </span>voxY<span style="color:rgb(0, 0, 0)">,</span><span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(128, 128, 0)">double</span><span style="color:rgb(192, 192, 192)"> </span>voxZ<span style="color:rgb(0, 0, 0)">,</span></pre>
<pre style="text-indent:0px"><span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(128, 128, 0)">int</span><span style="color:rgb(192, 192, 192)"> </span>minX<span style="color:rgb(0, 0, 0)">,</span><span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(128, 128, 0)">int</span><span style="color:rgb(192, 192, 192)"> </span>minY<span style="color:rgb(0, 0, 0)">,</span><span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(128, 128, 0)">int</span><span style="color:rgb(192, 192, 192)"> </span>minZ<span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 0, 0)">)</span></pre>
<pre style="text-indent:0px"><span style="color:rgb(0, 0, 0)">{</span></pre>
<pre style="text-indent:0px"><span style="color:rgb(192, 192, 192)"> </span></pre>
<pre style="text-indent:0px"><span style="color:rgb(192, 192, 192)"> </span>vtkShortArray<span style="color:rgb(0, 0, 0)">*</span><span style="color:rgb(192, 192, 192)"> </span>sampleData<span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 0, 0)">=</span><span style="color:rgb(192, 192, 192)"> </span>vtkShortArray<span style="color:rgb(0, 0, 0)">::</span>New<span style="color:rgb(0, 0, 0)">();</span></pre>
<pre style="text-indent:0px"><span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(128, 128, 0)">int</span><span style="color:rgb(192, 192, 192)"> </span>numSamples<span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 0, 0)">=</span><span style="color:rgb(192, 192, 192)"> </span>dimX<span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 0, 0)">*</span><span style="color:rgb(192, 192, 192)"> </span>dimY<span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 0, 0)">*</span><span style="color:rgb(192, 192, 192)"> </span>dimZ<span style="color:rgb(0, 0, 0)">;</span></pre>
<pre style="text-indent:0px"><span style="color:rgb(192, 192, 192)"> </span>sampleData<span style="color:rgb(0, 0, 0)">-></span>SetArray<span style="color:rgb(0, 0, 0)">(</span><span style="color:rgb(192, 192, 192)"> </span>sampleGrid<span style="color:rgb(0, 0, 0)">,</span><span style="color:rgb(192, 192, 192)"> </span>numSamples<span style="color:rgb(0, 0, 0)">,</span><span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 0, 128)">1</span><span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 0, 0)">);</span></pre>
<pre style="text-indent:0px"><span style="color:rgb(192, 192, 192)"> </span>sampleData<span style="color:rgb(0, 0, 0)">-></span>SetNumberOfComponents<span style="color:rgb(0, 0, 0)">(</span><span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 0, 128)">1</span><span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 0, 0)">);</span></pre>
<pre style="text-indent:0px"><span style="color:rgb(192, 192, 192)"> </span>sampleData<span style="color:rgb(0, 0, 0)">-></span>SetNumberOfTuples<span style="color:rgb(0, 0, 0)">(</span><span style="color:rgb(192, 192, 192)"> </span>numSamples<span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 0, 0)">);</span></pre>
<pre style="text-indent:0px"><span style="color:rgb(192, 192, 192)"> </span>sampleData<span style="color:rgb(0, 0, 0)">-></span>SetName<span style="color:rgb(0, 0, 0)">(</span><span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 128, 0)">"values"</span><span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 0, 0)">);</span></pre>
<pre style="text-indent:0px"><span style="color:rgb(0, 0, 0)"><br></span></pre>
<pre style="text-indent:0px"></pre>
<pre style="text-indent:0px"><span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 128, 0)">//</span><span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 128, 0)">Set</span><span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 128, 0)">up</span><span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 128, 0)">sampled</span><span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 128, 0)">data</span><span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 128, 0)">space</span></pre>
<pre style="text-indent:0px"><span style="color:rgb(192, 192, 192)"> </span>vtkImageData<span style="color:rgb(0, 0, 0)">*</span><span style="color:rgb(192, 192, 192)"> </span>sampledSpace<span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 0, 0)">=</span><span style="color:rgb(192, 192, 192)"> </span>vtkImageData<span style="color:rgb(0, 0, 0)">::</span>New<span style="color:rgb(0, 0, 0)">();</span></pre>
<pre style="text-indent:0px"><span style="color:rgb(192, 192, 192)"> </span>sampledSpace<span style="color:rgb(0, 0, 0)">-></span>SetDimensions<span style="color:rgb(0, 0, 0)">(</span><span style="color:rgb(192, 192, 192)"> </span>dimX<span style="color:rgb(0, 0, 0)">,</span><span style="color:rgb(192, 192, 192)"> </span>dimY<span style="color:rgb(0, 0, 0)">,</span><span style="color:rgb(192, 192, 192)"> </span>dimZ<span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 0, 0)">);</span></pre>
<pre style="text-indent:0px"><span style="color:rgb(192, 192, 192)"> </span>sampledSpace<span style="color:rgb(0, 0, 0)">-></span>SetScalarTypeToShort<span style="color:rgb(0, 0, 0)">();</span></pre>
<pre style="text-indent:0px"><span style="color:rgb(192, 192, 192)"> </span>sampledSpace<span style="color:rgb(0, 0, 0)">-></span>GetPointData<span style="color:rgb(0, 0, 0)">()-></span>SetScalars<span style="color:rgb(0, 0, 0)">(</span><span style="color:rgb(192, 192, 192)"> </span>sampleData<span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 0, 0)">);</span></pre>
<pre style="text-indent:0px"><span style="color:rgb(192, 192, 192)"> </span>sampledSpace<span style="color:rgb(0, 0, 0)">-></span>SetSpacing<span style="color:rgb(0, 0, 0)">(</span><span style="color:rgb(192, 192, 192)"> </span>voxX<span style="color:rgb(0, 0, 0)">,</span><span style="color:rgb(192, 192, 192)"> </span>voxY<span style="color:rgb(0, 0, 0)">,</span><span style="color:rgb(192, 192, 192)"> </span>voxZ<span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 0, 0)">);</span><span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 128, 0)">//</span><span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 128, 0)">set</span><span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 128, 0)">dimensions</span><span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 128, 0)">of</span><span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 128, 0)">a</span><span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 128, 0)">voxel</span></pre>
<pre style="text-indent:0px"><span style="color:rgb(192, 192, 192)"> </span>sampledSpace<span style="color:rgb(0, 0, 0)">-></span>SetOrigin<span style="color:rgb(0, 0, 0)">(</span><span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 0, 0)">(</span><span style="color:rgb(128, 128, 0)">double</span><span style="color:rgb(0, 0, 0)">)</span>minX<span style="color:rgb(0, 0, 0)">,</span></pre>
<pre style="text-indent:0px"><span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 0, 0)">(</span><span style="color:rgb(128, 128, 0)">double</span><span style="color:rgb(0, 0, 0)">)</span>minY<span style="color:rgb(0, 0, 0)">,</span></pre>
<pre style="text-indent:0px"><span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 0, 0)">(</span><span style="color:rgb(128, 128, 0)">double</span><span style="color:rgb(0, 0, 0)">)</span>minZ<span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 0, 0)">);</span><span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 128, 0)">//</span><span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 128, 0)">set</span><span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 128, 0)">lower</span><span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 128, 0)">left</span><span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 128, 0)">corner</span><span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 128, 0)">location</span></pre>
<pre style="text-indent:0px"></pre>
<pre style="text-indent:0px"><span style="color:rgb(192, 192, 192)"> </span>vtkThreshold<span style="color:rgb(0, 0, 0)">*</span><span style="color:rgb(192, 192, 192)"> </span>threshold<span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 0, 0)">=</span><span style="color:rgb(192, 192, 192)"> </span>vtkThreshold<span style="color:rgb(0, 0, 0)">::</span>New<span style="color:rgb(0, 0, 0)">();</span></pre>
<pre style="text-indent:0px"><span style="color:rgb(192, 192, 192)"> </span>threshold<span style="color:rgb(0, 0, 0)">-></span>SetInput<span style="color:rgb(0, 0, 0)">(</span>sampledSpace<span style="color:rgb(0, 0, 0)">);</span></pre>
<pre style="text-indent:0px"><span style="color:rgb(192, 192, 192)"> </span>threshold<span style="color:rgb(0, 0, 0)">-></span>SetInputArrayToProcess<span style="color:rgb(0, 0, 0)">(</span><span style="color:rgb(0, 0, 128)">0</span><span style="color:rgb(0, 0, 0)">,</span><span style="color:rgb(0, 0, 128)">0</span><span style="color:rgb(0, 0, 0)">,</span><span style="color:rgb(0, 0, 128)">0</span><span style="color:rgb(0, 0, 0)">,</span>vtkDataObject<span style="color:rgb(0, 0, 0)">::</span>FIELD_ASSOCIATION_CELLS<span style="color:rgb(0, 0, 0)">,</span>vtkDataSetAttributes<span style="color:rgb(0, 0, 0)">::</span>SCALARS<span style="color:rgb(0, 0, 0)">);</span></pre>
<pre style="text-indent:0px"><span style="color:rgb(192, 192, 192)"> </span>threshold<span style="color:rgb(0, 0, 0)">-></span>ThresholdBetween<span style="color:rgb(0, 0, 0)">(</span><span style="color:rgb(0, 0, 128)">5</span><span style="color:rgb(0, 0, 0)">,</span><span style="color:rgb(0, 0, 128)">100</span><span style="color:rgb(0, 0, 0)">);</span></pre>
<pre style="text-indent:0px"><span style="color:rgb(192, 192, 192)"> </span>threshold<span style="color:rgb(0, 0, 0)">-></span>Update<span style="color:rgb(0, 0, 0)">();</span></pre>
<pre style="text-indent:0px"></pre>
<pre style="text-indent:0px"><span style="color:rgb(192, 192, 192)"><br></span></pre><pre style="text-indent:0px"><span style="color:rgb(192, 192, 192)"> </span>vtkGeometryFilter<span style="color:rgb(0, 0, 0)">*</span><span style="color:rgb(192, 192, 192)"> </span>geomFilter<span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 0, 0)">=</span><span style="color:rgb(192, 192, 192)"> </span>vtkGeometryFilter<span style="color:rgb(0, 0, 0)">::</span>New<span style="color:rgb(0, 0, 0)">();</span></pre>
<pre style="text-indent:0px"><span style="color:rgb(192, 192, 192)"> </span>geomFilter<span style="color:rgb(0, 0, 0)">-></span>SetInput<span style="color:rgb(0, 0, 0)">(</span>threshold<span style="color:rgb(0, 0, 0)">-></span>GetOutput<span style="color:rgb(0, 0, 0)">());</span></pre>
<pre style="text-indent:0px"><span style="color:rgb(192, 192, 192)"> </span>geomFilter<span style="color:rgb(0, 0, 0)">-></span>Update<span style="color:rgb(0, 0, 0)">();</span></pre>
<pre style="text-indent:0px"></pre>
<pre style="text-indent:0px"><span style="color:rgb(192, 192, 192)"><br></span></pre><pre style="text-indent:0px"><span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 128, 0)">//</span><span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 128, 0)">Create</span><span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 128, 0)">mapper</span><span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 128, 0)">and</span><span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 128, 0)">actor,</span><span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 128, 0)">and</span><span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 128, 0)">add</span><span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 128, 0)">to</span><span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 128, 0)">renderer</span></pre>
<pre style="text-indent:0px"><span style="color:rgb(192, 192, 192)"> </span>vtkPolyDataMapper<span style="color:rgb(0, 0, 0)">*</span><span style="color:rgb(192, 192, 192)"> </span>voxelMapper<span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 0, 0)">=</span><span style="color:rgb(192, 192, 192)"> </span>vtkPolyDataMapper<span style="color:rgb(0, 0, 0)">::</span>New<span style="color:rgb(0, 0, 0)">();</span></pre>
<pre style="text-indent:0px"><span style="color:rgb(192, 192, 192)"> </span>voxelMapper<span style="color:rgb(0, 0, 0)">-></span>SetInput<span style="color:rgb(0, 0, 0)">(</span><span style="color:rgb(192, 192, 192)"> </span>geomFilter<span style="color:rgb(0, 0, 0)">-></span>GetOutput<span style="color:rgb(0, 0, 0)">()</span><span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 0, 0)">);</span></pre>
<pre style="text-indent:0px"><span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 128, 0)">//voxelMapper->SetScalarRange(5,100);</span></pre>
<pre style="text-indent:0px"><span style="color:rgb(192, 192, 192)"> </span>voxelMapper<span style="color:rgb(0, 0, 0)">-></span>SetScalarModeToUseCellData<span style="color:rgb(0, 0, 0)">();</span></pre>
<pre style="text-indent:0px"><span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 128, 0)">//voxelMapper->SetColorModeToMapScalars();</span></pre>
<pre style="text-indent:0px"></pre>
<pre style="text-indent:0px"><span style="color:rgb(192, 192, 192)"> </span>vtkActor<span style="color:rgb(0, 0, 0)">*</span><span style="color:rgb(192, 192, 192)"> </span>impGeoActor<span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 0, 0)">=</span><span style="color:rgb(192, 192, 192)"> </span>vtkActor<span style="color:rgb(0, 0, 0)">::</span>New<span style="color:rgb(0, 0, 0)">();</span></pre>
<pre style="text-indent:0px"><span style="color:rgb(192, 192, 192)"> </span>impGeoActor<span style="color:rgb(0, 0, 0)">-></span>SetMapper<span style="color:rgb(0, 0, 0)">(</span><span style="color:rgb(192, 192, 192)"> </span>voxelMapper<span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 0, 0)">);</span></pre>
<pre style="text-indent:0px"><span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 128, 0)">//impGeoActor->GetProperty()->SetColor(</span><span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 128, 0)">1.0,</span><span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 128, 0)">0,</span><span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 128, 0)">0</span><span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 128, 0)">);</span></pre>
<pre style="text-indent:0px"><span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 128, 0)">//impGeoActor->GetProperty()->SetOpacity(</span><span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 128, 0)">alpha</span><span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 128, 0)">);</span></pre>
<pre style="text-indent:0px"></pre>
<pre style="text-indent:0px"><span style="color:rgb(192, 192, 192)"><br></span></pre><pre style="text-indent:0px"><span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(128, 128, 0)">int</span><span style="color:rgb(192, 192, 192)"> </span>actorId<span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 0, 0)">=</span><span style="color:rgb(192, 192, 192)"> </span>addActor<span style="color:rgb(0, 0, 0)">(</span><span style="color:rgb(192, 192, 192)"> </span>impGeoActor<span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(0, 0, 0)">);</span></pre>
<pre style="text-indent:0px"></pre>
<pre style="text-indent:0px"><span style="color:rgb(192, 192, 192)"><br></span></pre><pre style="text-indent:0px"><span style="color:rgb(192, 192, 192)"> </span>voxelMapper<span style="color:rgb(0, 0, 0)">-></span>Delete<span style="color:rgb(0, 0, 0)">();</span></pre>
<pre style="text-indent:0px"><span style="color:rgb(192, 192, 192)"> </span>geomFilter<span style="color:rgb(0, 0, 0)">-></span>Delete<span style="color:rgb(0, 0, 0)">();</span></pre>
<pre style="text-indent:0px"><span style="color:rgb(192, 192, 192)"> </span>threshold<span style="color:rgb(0, 0, 0)">-></span>Delete<span style="color:rgb(0, 0, 0)">();</span></pre>
<pre style="text-indent:0px"><span style="color:rgb(192, 192, 192)"> </span>sampledSpace<span style="color:rgb(0, 0, 0)">-></span>Delete<span style="color:rgb(0, 0, 0)">();</span></pre>
<pre style="text-indent:0px"><span style="color:rgb(192, 192, 192)"> </span>sampleData<span style="color:rgb(0, 0, 0)">-></span>Delete<span style="color:rgb(0, 0, 0)">();</span></pre>
<pre style="text-indent:0px"></pre>
<pre style="text-indent:0px"><span style="color:rgb(192, 192, 192)"> </span><span style="color:rgb(128, 128, 0)">return</span><span style="color:rgb(192, 192, 192)"> </span>actorId<span style="color:rgb(0, 0, 0)">;</span></pre>
<pre style="text-indent:0px"><span style="color:rgb(0, 0, 0)">}</span></pre>
<pre style="text-indent:0px"></pre></div>                                            </div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div>                                            </body>
</html>