1. 05 Jun, 2019 1 commit
    • Cory Quammen's avatar
      ENH: Add vtkWordCloud to Infovos/Core · 76a896d8
      Cory Quammen authored
      vtkWordCloud is an Image Source that creates a word cloud.
      Word Clouds, AKA Tag Clouds, are a text visualization technique that displays individual works with properties that depend on the frequency of a word in a document. Numerous options are available, including the color of the words, size of the words, the orientation of the words, font files, and mask files.
      Word Clouds, AKA Tag Clouds, are a text visualization technique that displays individual works with properties that depend on the frequency of a word in a document.  vtkWordCloud varies the font size base on word frequency.
      Word Clouds are useful for quickly perceiving the most prominent terms in a document. Also, Word Clouds can identify trends and patterns that would otherwise be unclear or difficult to see in a tabular format. Frequently used keywords stand out better in a Word Cloud. Common words that might be overlooked in tabular form are highlighted in the larger text, making them pop out when displayed in a word cloud.
      There is some controversy about the usefulness of word clouds. Their best use may be for presentations. Word clouds can be used to "compare" texts from similar subjects, e.g., Presidential Inaugural Addresses, job candidate comparisons, etc.
      Several methods are available to customize the resulting visualization. The class provides defaults that provide a reasonable result.
      BackgroundColorName - The vtkNamedColors name for the backgound (MidNightBlue).
      BWMask - Mask image has a single channel(false). Mask images typically have three channels (r,g,b).
      ColorDistribution - Distribution of random colors(.6 1.0), if WordColorName is not empty.
      ColorSchemeName - Name of a color scheme from vtkColorSeries to be used to select colors for the words (), if WordColorName is empty.
      DPI -  Dots per inch(200) of the rendered text. DPI is used as a scaling mechanism for the words. As DPI increases, the word size increases. If there are too, few skipped words, increase this value, too many, decrease it.
      FontFileName - If empty, the built-in Arial font is used(). The FontFileName is the name of a file that contains a TrueType font.
      FontMultiplier - Font multiplier(6). The final font size is this value * the word frequency.
      Gap - Space gap of words (2). The gap is the number of spaces added to the beginning and end of each word.
      MaskColorName - Name of the color for the mask (black). This color is the name of the vtkNamedColors that defines the foreground of the mask. Usually black or white.
      MaskFileName - Mask file name(). If a mask file is specified, it will be used as the mask. Otherwise, a black square is used as the mask. The mask file should contain three channels of unsigned char values. If the mask file is just a single unsigned char, specify turn the boolean BWMask on.  If BWmask is on, the class will create a three channel image using vtkImageAppendComponents.
      MaxFontSize - Maximum font size(48).
      MinFontSize - Minimum font size(8).
      MinFrequency - Minimum word frequency accepted(2). Word with frequencies less than this will be ignored.
      OffsetDistribution - Range of uniform random offsets(-size[0]/100.0 -size{1]/100.0)(-20 20). These offsets are offsets from the generated path for word layout.
      OrientationDistribution - Ranges of random orientations(-20 20). If discrete orientations are not defined, these orientations will be generated.
      Orientations - Discrete orientations for displayed words. If present, this overrides OrientationDistribution.
      ReplacementPairs - Replace the first word with another second word (). The first word is also added to the StopList.
      Sizes - Size of image(640 480).
      StopWords - User provided stop words(). vtkWordCloud has built-in stop words. The user-provided stop words are added to the built-in list.
      Title - Add this word to the document's words and set a high frequency, so that is will be rendered first.
      WordColorName - Name of the color for the words(). The name is selected from vtkNamedColors. If the name is empty, the ColorDistribution will generate random colors.
  2. 20 Mar, 2019 1 commit
  3. 09 Jan, 2019 1 commit
  4. 08 Jan, 2019 5 commits
  5. 04 Dec, 2018 1 commit
  6. 30 Nov, 2018 1 commit
  7. 03 Oct, 2018 1 commit
  8. 19 Sep, 2018 1 commit
  9. 04 Aug, 2018 1 commit
    • Sean McBride's avatar
      Fixed more cppcheck 1.84 warnings · c868a18d
      Sean McBride authored
      This fixed issues were:
      identicalInnerCondition,Filters/Texture/vtkTextureMapToPlane.cxx:103,warning,Identical inner 'if' condition is always true.
      nullPointerArithmeticRedundantCheck,Rendering/GL2PSOpenGL2/vtkOpenGLGL2PSHelperImpl.cxx:173,warning,Either the condition '!data' is redundant or there is pointer arithmetic with NULL pointer.
      identicalInnerCondition,Filters/FlowPaths/vtkModifiedBSPTree.cxx:1069,warning,Identical inner 'if' condition is always true.
      identicalInnerCondition,Rendering/OpenGL2/vtkOSOpenGLRenderWindow.cxx:199,warning,Identical inner 'if' condition is always true.
      nullPointerArithmeticRedundantCheck,Infovis/BoostGraphAlgorithms/vtkBoostGraphAdapter.h:222,warning,Either the condition 'iter!=0' is redundant or there is pointer arithmetic with NULL pointer.
      The vtkTestingRenderingDriver.cmake changed cause many many warnings in files generated from it.
  10. 01 Aug, 2018 1 commit
    • luz.paz's avatar
      Misc. typos · 0c5f8b4b
      luz.paz authored
      Found via `codespell -q 3 -I ../vtk-whitelist-words.txt --skip="./ThirdParty,./Utilities"`
  11. 11 Jul, 2018 1 commit
  12. 18 May, 2018 1 commit
    • Kitware Robot's avatar
      ExternalData: Convert content links from MD5 to SHA512 · d6d05b2a
      Kitware Robot authored
      Populate a script with `map_<md5>=<sha512>` variable settings and
      then run the following to convert the content link files:
          git ls-files -- '*.md5' | while read f; do
            md5="$(cat "$f")"
            sha512="$(eval echo \${map_$md5})"
            rm "$f"
            echo $sha512 > ${f%.md5}.sha512
  13. 20 Mar, 2018 4 commits
  14. 08 Mar, 2018 2 commits
  15. 04 Jan, 2018 1 commit
  16. 26 Dec, 2017 1 commit
  17. 22 Dec, 2017 1 commit
  18. 20 Dec, 2017 1 commit
  19. 11 Dec, 2017 2 commits
  20. 08 Dec, 2017 1 commit
  21. 05 Dec, 2017 1 commit
  22. 04 Dec, 2017 1 commit
    • luzpaz's avatar
      Misc. typo fixes · e6590119
      luzpaz authored
      This commit removes double whitespace from source comments + fixes some other typos.
  23. 01 Dec, 2017 1 commit
  24. 15 Nov, 2017 1 commit
  25. 06 Nov, 2017 1 commit
  26. 04 Oct, 2017 2 commits
    • Ken Martin's avatar
      manually convert more NULL to nullptr · de3c93a3
      Ken Martin authored
      This topic catches another batch of NULL conversions that
      clang did not handle for various reasons. It also includes
      a number of changes to comments and strings where NULL was
      used. It also catches some recent code changes where NULL
      was used instead of nullptr.
    • Kitware Robot's avatar
      Replace VTK_DELETE_FUNCTION with =delete. · 1ac2c008
      Kitware Robot authored
      Now that VTK requires a C++11 compiler we can ditch using custom typedefs to
      wrap =delete;
  27. 02 Oct, 2017 2 commits
  28. 29 Sep, 2017 1 commit
    • Andrew Bauer's avatar
      Improvements for vtkNew for stl containers and comparison operations · fd04b442
      Andrew Bauer authored
      Adding in functionality to allow inserting vtkNew objects into
      stl containers of vtkSmartPointer objects as well as comparisons
      between vtkNew objects and raw pointers. Also removing Get() and
      GetPointer() calls from vtkNew objects since in most instances we
      can just pass in the vtkNew<> object instead of having to use the
      Get() or GetPointer() methods to get the raw pointer.
  29. 25 Sep, 2017 1 commit