[vtk-developers] Get Input-Connection as vtkAlgorithmOutput in ProcessRequest

Ronald Römer rroemer at googlemail.com
Thu Jan 6 11:11:59 EST 2011


I figured out what I want trying to get. I want to get the Producer of an
vtkInformation-Object as vtkAlgorithmOutput to connect it to a filter in the
constructor of my own filter. PrintKeys of my vtkInformation-Object prints
out this:

UPDATE_PIECE_NUMBER: 0
UPDATE_NUMBER_OF_PIECES: 1
UPDATE_NUMBER_OF_GHOST_LEVELS: 0
MAXIMUM_NUMBER_OF_PIECES: -1
DATA_OBJECT: vtkPolyData(0x626f30)
WHOLE_BOUNDING_BOX: -0.525 0.475 -0.5 0.5 -0.5 0.5
CONSUMERS: vtkStreamingDemandDrivenPipeline(0x625a90) port 0
PRODUCER: vtkStreamingDemandDrivenPipeline(0x6243d0) port 0
UPDATE_EXTENT_INITIALIZED: 0

How can I get the producer efficiently as vtkAlgorithmOutput?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20110106/61490661/attachment.html>


More information about the vtk-developers mailing list