Commit Graph

4 Commits

Author SHA1 Message Date
Robert Maynard
d7b2ff04c9 Provide a simpler way to restrict value types for filters 2019-08-06 17:04:07 -04:00
nadavi
fbcea82e78 conslidate the license statement 2019-04-17 10:57:13 -06:00
Kenneth Moreland
d25db19c87 Fix inconsistencies in connected components filters
The connected components filters had some simple issues that were
inconsistent with the operation of other filters.

  * Set the output to the OutputFieldName defined in the filter rather
    than hardcoding it to "component". The default value is still
    "component", but now you can change it.
  * Make sure the output field association is correct. The field
    association for CellSetConnectivity is always cell and the field
    association for ImageConnectivity is always point.
  * Check that the field association for the input field of
    ImageConnectivity is point. The filter will fail if it is not.
  * Make both filters inherit from FilterCell instead of FilterField.
    The superclasses are similar but the latter allows the user to set the
    active cell set correctly.
  * Properly get the cell set specified by GetActiveCellSetIndex.
    Previously it was set to the active coordinates, which is wrong.
2019-03-28 18:35:46 -06:00
Li-Ta Lo
d185ca7ed7 add CellSetConnectivity filter 2019-02-28 09:11:08 -07:00