[vtkusers] Twisted structure

David E DeMarle dave.demarle at kitware.com
Mon Apr 14 16:16:23 EDT 2014


I'ld investigate by inserting a writer in the pipeline before the mapper,
saving out the mesh and then opening up the file in ParaView. With
selection and the spreadsheet view you should be able to diagnose what is
going on in the twisted segments.

cheers

David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909


On Mon, Apr 14, 2014 at 3:53 PM, Doug Hoppes <dhoppes at mbfbioscience.com>wrote:

>  Hi all,
>
>
>
>                 Got a weird problem.  I have a surface where I’m seeing
> this odd twisting.  The code looks like:
>
>
>
> -------------------------------
>
> vtkSmartPointer<vtkAppendPolyData> pBranchData = GetSurfacePolyData();
>
>
>
> vtkSmartPointer<vtkPolyDataMapper> pMapper = vtkSmartPointer<
> vtkPolyDataMapper>::New();
>
> pMapper->SetInputConnection(pBranchData ->GetOutputPort());
>
> pMapper->ScalarVisibilityOff();
>
>
>
> m_pSurfaceActor = vtkSmartPointer<vtkActor>::New();
>
> m_pSurfaceActor->SetMapper(pMapper);
>
>
>
> m_pRenderer->AddViewProp(m_pSurfaceActor);
>
> -------------------------------
>
>
>
> Any idea what would cause this type of issue?
>
>
>
>
>
>
>
> *Doug*
>
> _______________________________________________
> 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
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20140414/f69d56b6/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image008.png
Type: image/png
Size: 29841 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20140414/f69d56b6/attachment-0001.png>


More information about the vtkusers mailing list