[vtkusers] Urgent: vtkImageActor not rendering

ALEXANDER BENSCH (RIT Student) amb2189 at rit.edu
Thu Jul 31 13:36:59 EDT 2014


Don't worry, I'll CC the group here and hopefully the reply chain will get
included


On Thu, Jul 31, 2014 at 12:45 PM, David Gobbi <david.gobbi at gmail.com> wrote:

> Oops, I meant to send that to the whole list!  Oh well...
>
> On Thu, Jul 31, 2014 at 9:50 AM, ALEXANDER BENSCH (RIT Student)
> <amb2189 at rit.edu> wrote:
> > Oh, interesting. I didn't realize that, but it's really useful to know.
> > Thanks again.
> >
> >
> > On Thu, Jul 31, 2014 at 11:08 AM, David Gobbi <david.gobbi at gmail.com>
> wrote:
> >>
> >> On Thu, Jul 31, 2014 at 8:53 AM, Alex Bensch <amb2189 at rit.edu> wrote:

>> > > Did you forget imgFlip->Update()?

>> > Wow, that actually worked. I didn't need to do that in the Python
> version at
> >> > all. This whole pipeline thing throws me off so badly. Thanks a bunch!
> >>
> >> In VTK 6, if you want a real pipeline connection, you need to call
> >> SetInputConnection() instead of SetInputData().
> >>
> >> The major change with the pipeline in VTK 6 is that GetOutput()
> >> no longer gives you a pipeline connection.  You _must_ call
> >> GetOutputPort() if you want a pipeline connection.  This allows
> >> you to choose whether to use VTK in imperative mode (where
> >> you use GetOutput() but must call Update() yourself), or whether
> >> to use VTK in pipeline mode (where you use GetOutputPort() and
> >> upstream updates occur automatically).
> >>
> >>  - David
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20140731/22755d43/attachment.html>


More information about the vtkusers mailing list