1. 30 Mar, 2018 7 commits
  2. 29 Mar, 2018 6 commits
  3. 28 Mar, 2018 2 commits
  4. 26 Mar, 2018 3 commits
  5. 25 Mar, 2018 2 commits
    • Kenneth Moreland's avatar
      Enable using coordinates for dot/cross product filters · fa842725
      Kenneth Moreland authored
      Also better supporting policies on secondary field.
      fa842725
    • Kenneth Moreland's avatar
      Make dot/cross filter interface more consistent · 707eccd3
      Kenneth Moreland authored
      Both the dot product filter and the cross product filter require 2
      fields to be selected as their input. Previously, you used the
      superclass' SetActiveField for the primary field and
      SetSecondaryFieldName for the secondary field. This changes adds a
      SetPrimaryField method to make the selection more clear. I also changed
      SetSecondaryFieldName to SetSecondaryField that optionally takes an
      association to make it more consistent.
      707eccd3
  6. 23 Mar, 2018 3 commits
  7. 22 Mar, 2018 4 commits
    • Kenneth Moreland's avatar
      Merge topic 'field-selection-as-member' · b6b00059
      Kenneth Moreland authored and Kitware Robot's avatar Kitware Robot committed
      86f6ecbf Add some convenience methods for Filter::SetFieldsToPass
      f8237a9d
      
       Make selection of fields to pass a field member variable
      Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
      Acked-by: Utkarsh Ayachit's avatarUtkarsh Ayachit <utkarsh.ayachit@kitware.com>
      Merge-request: !1118
      b6b00059
    • Kenneth Moreland's avatar
      Add some convenience methods for Filter::SetFieldsToPass · 86f6ecbf
      Kenneth Moreland authored
      The first convenience method takes a FieldSelection and a mode. The mode
      given will override the mode in the FieldSelection. The intention is to
      make it easy to give the constructor argument for FieldSelection and the
      mode. For example, if you wanted to pass all variables _except_
      "stopfield", you could say
      
      field.SetFieldsToPass("stopfield",
                            vtkm::filter::FieldSelection::MODE_EXCLUDE);
      
      I also added a convenience method that takes the name of a field and an
      association.
      
      field.SetFieldsToPass("pointfield",
                            vtkm::cont::Field::ASSOC_POINTS);
      
      Granted, you could get the same effect by wrapping this arguments in
      initializer braces, but this is a bit more clear.
      86f6ecbf
    • Kenneth Moreland's avatar
      Make selection of fields to pass a field member variable · f8237a9d
      Kenneth Moreland authored
      Previously you passed a FieldSelection to Filter::Execute to specify
      which fields to pass from input to output. There is no real reason for
      this as other information about input and output fields are member
      variables to Filter. This moves field selection as a member variable as
      well. (This should also help confusion when updating old code to new to
      prevent users from mistaking field passing with input fields.
      
      Also added a few convenience constructors to FieldSelection so that you
      can call Field::SetFieldsToPass() with just the string of what you want
      to pass.
      f8237a9d
    • Kenneth Moreland's avatar
      Merge topic 'selecting-input-map-fields' · 7861b5a8
      Kenneth Moreland authored and Kitware Robot's avatar Kitware Robot committed
      d74b96ba Support FieldSelection initialization with vtkm::Pair initializer list
      8e312f81 Add MODE_EXCLUDE to FieldSelection
      9c51de8d Add MODE_NONE to FieldSelection
      a4aa42c0 Avoid "weird" arrays in fields
      6a6ac7cd
      
       Change filter to pass all fields by default
      Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
      Merge-request: !1116
      7861b5a8
  8. 21 Mar, 2018 6 commits
    • Kenneth Moreland's avatar
      Support FieldSelection initialization with vtkm::Pair initializer list · d74b96ba
      Kenneth Moreland authored
      It already supported initializer lists of std::pair. It seems weird we
      would not also support our own version of pair.
      d74b96ba
    • Kenneth Moreland's avatar
      Add MODE_EXCLUDE to FieldSelection · 8e312f81
      Kenneth Moreland authored
      This allows you to turn off the selection of fields rather than turn
      them on. It could be helpful, for example, if you were isosurfacing on a
      single isovalue and didn't want to pass the field you are contouring on
      (because it's all the same value).
      8e312f81
    • Kenneth Moreland's avatar
      Add MODE_NONE to FieldSelection · 9c51de8d
      Kenneth Moreland authored
      This mode forces the selection to be empty. Although there is no
      practical difference between having MODE_NONE and having MODE_SELECTED
      with nothing selected (which is the default), this is a semantically
      nicer way to say you don't want any fields.
      
      Since we have changed the default behavior of Filter::Execute to be
      MODE_ALL, this is a nice addition so that you can clearly specify you
      don't want to pass any fields by adding
      vtkm::filter::FieldSelection::MODE_NONE as the second argument. (Making
      it MODE_SELECTED is not clear that you want none.)
      9c51de8d
    • Kenneth Moreland's avatar
      Avoid "weird" arrays in fields · a4aa42c0
      Kenneth Moreland authored
      In some of the tests there was a field that was using a counting array.
      This uses an integer as the value type and has a special implicit
      storage type. Currently, this is likely to cause problems whenever it
      runs into a cast and call of a dynamic array. For now, let's avoid
      these.
      
      In the near future we should have expanded virtual method capabilities
      that will make it possible to support these atypical arrays.
      a4aa42c0
    • Kenneth Moreland's avatar
      Change filter to pass all fields by default · 6a6ac7cd
      Kenneth Moreland authored
      You can still select independent fields with a FieldSelection object if
      desired.
      6a6ac7cd
    • Kenneth Moreland's avatar
      Merge topic 'multiblock-const-correctness' · 89b46e95
      Kenneth Moreland authored and Kitware Robot's avatar Kitware Robot committed
      117ce0be
      
       Add const correctness to MultiBlock method arguments
      Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
      Merge-request: !1115
      89b46e95
  9. 20 Mar, 2018 2 commits
  10. 14 Mar, 2018 1 commit
  11. 13 Mar, 2018 3 commits
  12. 12 Mar, 2018 1 commit