[vtkusers] vtkCell Help

Langer, Stephen A. (Fed) stephen.langer at nist.gov
Thu Feb 1 14:37:48 EST 2018


I think you need to use vtkExtractEdges on the grid.

-- Steve

On 2/1/18, 2:26 PM, "Robby Aungst" <robert.aungst at gmail.com<mailto:robert.aungst at gmail.com>> wrote:

If I do wireframe, it only shows me the wireframe on the outside.

[Inline image 1]
If I slice it, it's hollow inside (lineview and solid):

[Inline image 3]


This is a cube that's meshed with VTK_TETRA type vtkCells.


On Thu, Feb 1, 2018 at 12:28 PM, Langer, Stephen A. (Fed) <stephen.langer at nist.gov<mailto:stephen.langer at nist.gov>> wrote:
Have you tried actor->GetProperty()->SetRepresentationToWireframe() ?

-- Steve

On 2/1/18, 11:12 AM, "vtkusers on behalf of Robby Aungst" <vtkusers-bounces at vtk.org<mailto:vtkusers-bounces at vtk.org> on behalf of robert.aungst at gmail.com<mailto:robert.aungst at gmail.com>> wrote:

I have a question as it relates to the 3D types of vtkCell such as the VTK_TETRA. I'm modeling a finite element mesh with these cells, and I've found that if I have a number of these 3D cells rendered next to each other, none of the interior edges get rendered. In fact, if I use clipping planes, the interior of my mesh is hollow. Is there any way to get around this?
Thanks!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtkusers/attachments/20180201/bcb029fe/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 98010 bytes
Desc: image001.png
URL: <https://vtk.org/pipermail/vtkusers/attachments/20180201/bcb029fe/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 7876 bytes
Desc: image002.png
URL: <https://vtk.org/pipermail/vtkusers/attachments/20180201/bcb029fe/attachment-0003.png>


More information about the vtkusers mailing list