<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</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: Calibri, sans-serif; ">
<div>
<div>
<div>I responded to Alan directly, but I'll repeat the response for the list as well.</div>
</div>
</div>
<div><br>
</div>
<div>The reason why you see white lines is that the alpha parameter causes the Delaunay 3D filter to create lines (or triangles) if they fit within the circumsphere smaller than alpha and the tetrahedron does not. These lines are rendered without shading,
so they show up as stark white streaks in the rendering.</div>
<div><br>
</div>
<div>The most straightforward solution to get what you want is to filter out any cells that are not tetrahedra. I don't know of a filter designed for that, but you can do it with a Programmable Filter with the following script. (Watch out for any newlines
that an email program might insert.)</div>
<div><br>
</div>
<blockquote style="margin:0 0 0 40px; border:none; padding:0px;">
<div>
<div>from paraview.vtk import vtkFiltersCore</div>
<div><br>
</div>
<div>input = self.GetUnstructuredGridInput()</div>
<div>output = self.GetUnstructuredGridOutput()</div>
<div><br>
</div>
<div>typesArray = input.GetCellTypesArray()</div>
<div>typesArray.SetName('__types__')</div>
<div><br>
</div>
<div>inputWithTypes = vtk.vtkUnstructuredGrid()</div>
<div>inputWithTypes.ShallowCopy(input)</div>
<div>inputWithTypes.GetCellData().AddArray(typesArray)</div>
<div><br>
</div>
<div>threshold = vtk.vtkFiltersCore.vtkThreshold()</div>
<div>threshold.SetInputData(inputWithTypes)</div>
<div>threshold.SetInputArrayToProcess(0,0,0,'vtkDataObject::FIELD_ASSOCIATION_CELLS','__types__')</div>
<div>threshold.ThresholdBetween(9.5, 10.5)</div>
<div>threshold.Update()</div>
<div>thresholdOutput = threshold.GetOutput()</div>
<div><br>
</div>
<div>output.ShallowCopy(thresholdOutput)</div>
<div>output.GetCellData().RemoveArray('__types__')</div>
</div>
</blockquote>
<div><br>
</div>
<div>-Ken</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><Scott>, Walter Scott <<a href="mailto:wascott@sandia.gov">wascott@sandia.gov</a>><br>
<span style="font-weight:bold">Date: </span>Thursday, April 25, 2013 2:00 PM<br>
<span style="font-weight:bold">To: </span>"<a href="mailto:paraview@paraview.org">paraview@paraview.org</a>" <<a href="mailto:paraview@paraview.org">paraview@paraview.org</a>><br>
<span style="font-weight:bold">Subject: </span>[EXTERNAL] [Paraview] Delauney 3d<br>
</div>
<div><br>
</div>
<blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;">
<div>
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">
<div>I have a csv file of points. After running it through the table to point filter, I am running the delauney 3d filter on it. The dataset looks like a watermelon rind. Unfortunately, the red part of the watermelon is solid. Fortunately, changing the
alpha variable fixes this – deleting the red “meat” part of the watermelon. </div>
<div> </div>
<div>My issue is that we are ending up with lots of white lines all over the outside of the solid object. Think of my water melon rind as the outside green layer with the white rind, covered with white spider webs.</div>
<div> </div>
<div>Has anyone seen this, and is there a fix or workaround?</div>
<div> </div>
<div>Thanks,</div>
<div> </div>
<div>Alan</div>
<div> </div>
<div> </div>
<div> </div>
</span></font></div>
</div>
</blockquote>
</span>
</body>
</html>