1. 29 May, 2016 4 commits
    • Kenneth Moreland's avatar
      Change Field and related methods to use Range and Bounds · b5415169
      Kenneth Moreland authored
      First, be more explicit when we mean a range of values in a field or a
      spacial bounds. Use the Range and Bounds structs in Field and
      CoordinateSystem to make all of this more clear (and reduce a bit of
      code as well).
      b5415169
    • Kenneth Moreland's avatar
      Add Bounds struct · d75857d0
      Kenneth Moreland authored
      This is a simple struct that defines min and max values over X, Y, and Z
      to define an axis-aligned bounding box.
      d75857d0
    • Kenneth Moreland's avatar
      Add Range struct · b358fcb1
      Kenneth Moreland authored
      This is a simple struct that has a min and max scalar value to represent
      a range of scalar values. It also comes with several helper methods.
      b358fcb1
    • Kenneth Moreland's avatar
      Add missing export macro to VecTraits. · bcc59878
      Kenneth Moreland authored
      The VTKM_EXEC_CONT_EXPORT macro was missing from the
      GetNumberOfComponents method in the VecTraits class for base C types.
      bcc59878
  2. 26 May, 2016 3 commits
    • Robert Maynard's avatar
      Simplify the bounds computation code to reduce library size. · 06a06b52
      Robert Maynard authored
      The previous version of the bounds code required once less pass across
      the data, but significantly increase the size of the resulting library:
      
      Data for VTK-VTK-m interop:
        - 7k more symbol table entries
        - 1.5MB larger library
      
      Because of the significant savings we need to use a less efficient
      implementation that minimized the code size.
      06a06b52
    • Robert Maynard's avatar
      Allow filters to have finer control on what cell sets they support · 5e200528
      Robert Maynard authored
      Certain algorithms like VertexClustering only work on certain cellset types.
      It is pointless to generate the code paths for structured data cell sets,
      when the algorithm can't operate on those dataset types.
      5e200528
    • Robert Maynard's avatar
      ArrayPortalFromIterators now can be explicitly instantiated. · 6da2dc0c
      Robert Maynard authored
      Template instantiation is useful because when you are creating object files, as
      uninstantiated template definitions are not are not added. Fully supporting
      explicit instantiation like ITK does will require more code changes, but
      this is a very minor step towards that goal.
      6da2dc0c
  3. 25 May, 2016 1 commit
    • Kenneth Moreland's avatar
      Modify build to handle non-X-based OpenGL · db6d61ca
      Kenneth Moreland authored
      Specifically, I am trying to compile the code on OSX. OSX uses OpenGL
      libraries in a different directory than most other installs (including
      X11) and does not generally support GLX. These changes remove the files
      that support GLX in systems that do not support it.
      
      I also added several header files to the CMake lists that were not there
      but should have been.
      db6d61ca
  4. 24 May, 2016 3 commits
    • Kenneth Moreland's avatar
      Better conform Plot.h to VTK-m style · fcbfacb4
      Kenneth Moreland authored
      Principally, the indentation style was changed to 2 spaces and the
      member variables of classes were changed to start with a capitol.
      fcbfacb4
    • Kenneth Moreland's avatar
      Better conform Scene.h to VTK-m style · 3456fc14
      Kenneth Moreland authored
      Principally, the indentation style was changed to 2 spaces and the
      member variables of classes were changed to start with a capitol.
      3456fc14
    • Kenneth Moreland's avatar
      Fix warning about member init order and conform to style in Window.h · 73a617db
      Kenneth Moreland authored
      Made several changes to Window.h that fix the following:
      
      * Fix warning about the member functions being initialized out of order
      * Conform indentation to be 2 spaces
      * Conform member functions to be capitolized
      * Conform the use of "this->" when referencing class members
      * Conform using full namespace when using classes
      * Be more descriptive in some variable names
      * Alphabetize includes
      73a617db
  5. 19 May, 2016 13 commits
  6. 18 May, 2016 8 commits
  7. 17 May, 2016 2 commits
  8. 13 May, 2016 2 commits
  9. 12 May, 2016 1 commit
  10. 09 May, 2016 1 commit
  11. 05 May, 2016 2 commits
    • Kenneth Moreland's avatar
      Make sure all field filters specify a default name for their fields · eecbb30d
      Kenneth Moreland authored
      If the user does not specify a name for the output field in a filter, that
      filter should provide some default name. Having blank names for fields is
      not a great idea. (In fact, an earlier commit added an assert to make
      sure that a ResultField is given a non-empty name.)
      
      This covers issue #61.
      eecbb30d
    • Kenneth Moreland's avatar
      Give result classes their own header file. · f4362a49
      Kenneth Moreland authored
      VTK-m style guidelines dictate that all classes part of the API should
      be in their own header file. Thus, we have moved the result classes out
      of the filter header files and into their own headers.
      
      We have also renamed these clases to ResultField and ResultDataSet to
      better match the class naming conventions of VTK-m.
      
      Since we are moving around these result classes, we have also revamped
      their structure. They are now in a hierarchy with a common ResultBase
      class. Additionally, all result classes have a reference to a complete
      DataSet that can be considered the output of the filter. This will make
      it easier for users to consistently deal with filter results.
      
      These changes cover issues #60 and #62.
      f4362a49