[vtkusers] vtkObjImporter and vtkPolyDataNormals

Bill Lorensen bill.lorensen at gmail.com
Thu Apr 5 10:04:43 EDT 2018


The mapper is obtained from the actors created by the importer. You
can build a pipeline and connect the last element of the pipeline to
the mappers.

Bill

On Thu, Apr 5, 2018 at 5:50 AM, Sgouros, Thomas
<thomas_sgouros at brown.edu> wrote:
> Hello all:
>
> I'm looking at the example for the vtkObjImporter class found here:
>
>   https://lorensen.github.io/VTKExamples/site/Cxx/IO/OBJImporter/
>
> There is a mapper created there whose inputs are set to the outputs of a
> vtkPolyDataNormals object (just a few lines back from the end). But its
> output is never set to anybody's input. Why is that?
>
> Asking because I need to insert a vtkTransformFilter into the mix, and I
> don't really see where it should go in order to transform the position of
> the imported object.
>
> Thank you,
>
>  -Tom
>
> _______________________________________________
> 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


More information about the vtkusers mailing list