View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014441VTK(No Category)public2013-12-04 11:502014-10-01 19:57
ReporterCory Quammen 
Assigned ToBerk Geveci 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionwon't fix 
PlatformOSOS Version
Product Version6.0.0 
Target VersionFixed in Version 
Summary0014441: Make it easier to mark certain data types as unsupported filters for inputs
DescriptionIn an algorithm's FillInputPortInformation(), the valid types of input data are specified with statements such as

info->Append(vtkAlgorithm::INPUT_REQUIRED_DATA_TYPE(), "vtkDataSet");
info->Append(vtkAlgorithm::INPUT_REQUIRED_DATA_TYPE(), "vtkGenericDataSet");
info->Append(vtkAlgorithm::INPUT_REQUIRED_DATA_TYPE(), "vtkGraph");

This requires an affirmative statement for each supported data object type. If a new data object type is later added to VTK, one may have to go back and explicitly add the new type to potentially many filters.

It would be nice to be able to exclude certain data object types, perhaps with a new key, like this:

info->Append(vtkAlgorithm::INPUT_REQUIRED_DATA_TYPE(), "vtkDataObject");
info->Append(vtkAlgorithm::INPUT_EXCLUDED_DATA_TYPE(), "vtkCompositeDataSet");

That way, filters could by default work on all data object types, and if it is found that they don't work on certain data object types, those data object types can be excluded easily.
TagsNo tags attached.
ProjectTBD
Typeincorrect functionality
Attached Files

 Relationships

  Notes
There are no notes attached to this issue.

 Issue History
Date Modified Username Field Change
2013-12-04 11:50 Cory Quammen New Issue
2014-10-01 19:57 Berk Geveci Status backlog => closed
2014-10-01 19:57 Berk Geveci Assigned To => Berk Geveci
2014-10-01 19:57 Berk Geveci Resolution open => won't fix


Copyright © 2000 - 2018 MantisBT Team