[vtk-developers] [VTK 0012434]: vtkArrayCalculator fails when input is vtkGraph or its subclasses

Mantis Bug Tracker mantis at public.kitware.com
Sun Jul 31 12:37:23 EDT 2011


The following issue has been SUBMITTED. 
====================================================================== 
http://vtk.org/Bug/view.php?id=12434 
====================================================================== 
Reported By:                David Duke
Assigned To:                
====================================================================== 
Project:                    VTK
Issue ID:                   12434
Category:                   (No Category)
Reproducibility:            have not tried
Severity:                   minor
Priority:                   low
Status:                     backlog
Project:                    TBD 
Type:                       incorrect functionality 
====================================================================== 
Date Submitted:             2011-07-31 12:37 EDT
Last Modified:              2011-07-31 12:37 EDT
====================================================================== 
Summary:                    vtkArrayCalculator fails when input is vtkGraph or
its subclasses
Description: 
The interface of vtkArrayCalculator includes methods
SetAttributeModeToUse{Cell|Vertex}Data, suggesting it is intended to work with
vtkGraph and its subclasses.  However, vtkArrayCalculator is a subclass of
vtkDataSetAlgorithm, and attempting to  apply the filter to a graph leads to
pipeline errors when it cannot generate an object for the output port compatible
with the input class.

Either the interface should be adjusted to remove reference to Cell/Vertex data,
or the filter needs to be modified, perhaps moving under vtkDataObjectAlgorithm.

If needs be, I have a small python script that demonstrates the problem.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-07-31 12:37 David Duke     New Issue                                    
======================================================================




More information about the vtk-developers mailing list