<div dir="ltr">I was wondering if there was a way to instantiate a superclass that, let's say, can switch between vtkPolyDataAlgorithm and vtkImageAlgorithm.<div><br></div><div>I have a reader that (as of now) converts the data within a protobuf file to image data. </div><div><br></div><div>But currently, I have multiple protobuf files with different information. However, the file extension is still .pbuf, and it seems that the reader xml parsers the files based off this input. </div><div><br></div><div>So would it be easier to change the filename? Or is there a way to switch between the two algorithm classes?</div><div><br></div><div>Thanks for your time!</div><div><br></div><div>Kevin E. Dean</div></div>

<br>
<span><font color="#888888">This email and its contents are confidential. If you are not the 
intended recipient, please do not disclose or use the information within
 this email or its attachments. If you have received this email in 
error, please report the error to the sender by return email and 
delete this communication from your records.</font></span>