<div dir="ltr"><div><div>Hi,<br><br></div>I have a volume rendering pipeline set up. In response to user interactions, I can manipulate certain aspects of the pipeline and re-render. I can even set the filename of the reader that I use as a source, to completely change out the volume being rendered.<br><br></div><div>But what if I want to completely disable the pipeline, in effect unsetting the filename of the reader.<br><br></div><div>My pipeline is basically just HDF5Reader -> vtkGPUVolumeRayCastMapper, where HDF5Reader is a custom reader I wrote to read volumes from a HDF5 file.<br><br></div><div>The problem is I can't just setFileName(None) on my reader, because my custom reader has a<br><br>        if self._fileName is None:<br>            return 0<br><br></div><div>in its RequestData and RequestInformation, and I will thus get errors from VTK saying the pipeline failed if I do this.<br><br></div><div>So my question is: What is the proper way of "unhooking" (or "disabling" if you will) a pipeline? I want the render window to simply show empty space when in this state, but still have the entire pipeline intact and ready for when I next want to set the filename of the reader to a valid volume.<br><br></div><div>Thanks in advance,<br></div><div>Elvis<br></div></div>