[vtkusers] Input type validity

Marc Ferland ferlandm at sonatest.com
Fri Feb 10 16:04:36 EST 2012


Hi,

I'm currently writing a small "pipeline editor" using VTK and I wanted
to know if there is any way to test if a SetInputConnection will fail
before actually sending data throught the pipe?

I see that vtkDemandDrivenPipeline::InputTypeIsValid() implements this,
but since it is protected, I do not have access to it.

Should I just copy/paste the algorithm described in InputTypeIsValid?

Any suggestions appreciated!

Regards, 

Marc



More information about the vtkusers mailing list