[vtkusers] vtkCell Help

Bill Lorensen bill.lorensen at gmail.com
Thu Feb 1 22:28:19 EST 2018


You can also add a vtkShrinkFilter before your mapper. See for example:
https://lorensen.github.io/VTKExamples/site/Cxx/VisualizationAlgorithms/ExtractData/



On Thu, Feb 1, 2018 at 11:37 AM, Langer, Stephen A. (Fed) <
stephen.langer at nist.gov> wrote:

> 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> wrote:
>
>
>
> If I do wireframe, it only shows me the wireframe on the outside.
>
> [image: Inline image 1]
>
> If I slice it, it's hollow inside (lineview and solid):
>
> [image: 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> 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 on behalf of 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!
>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> https://vtk.org/mailman/listinfo/vtkusers
>
>


-- 
Unpaid intern in BillsParadise at noware dot com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtkusers/attachments/20180201/f276ef6d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 7876 bytes
Desc: not available
URL: <https://vtk.org/pipermail/vtkusers/attachments/20180201/f276ef6d/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 98010 bytes
Desc: not available
URL: <https://vtk.org/pipermail/vtkusers/attachments/20180201/f276ef6d/attachment-0003.png>


More information about the vtkusers mailing list