Skip to content
Snippets Groups Projects
  1. Jan 08, 2020
  2. Dec 11, 2019
  3. Nov 18, 2019
  4. Nov 13, 2019
  5. Nov 12, 2019
  6. Aug 29, 2019
  7. Jul 11, 2019
    • Bill Lorensen's avatar
      BUG: Unsigned char overflow · 5c4d78c8
      Bill Lorensen authored
      When using a color scheme, the text property was set to an unsigned
      char rather than a double. This overflow was detected by the dynamic
      analysis of the VTK dashboard.
      5c4d78c8
    • Ken Martin's avatar
      try fixing wordcloud test · 9f7d2495
      Ken Martin authored
      for old gcc compilers that seem to produce different results
      such as gcc (GCC) 8.2.1 20181215
      9f7d2495
  8. Jul 10, 2019
    • Bill Lorensen's avatar
      BUG: WordCloud did not reserve string length · 29146e81
      Bill Lorensen authored
      Before transforming the skippedWord string, the string was not resized
      to the length of the skippedWord. This caused some platforms to report
      1 skipped word, while other platforms crashed. The UnitTestWordCloud
      is updated to reflect the properly calculated skipped words.
      
      Thanks to Ken for finding this bug.
      
       LocalWords:  WordCloudBug Infovis ThirdParty vtkEventData
       LocalWords:  vtkGenericOpenGLRenderWindow
      29146e81
  9. Jun 21, 2019
  10. Jun 20, 2019
  11. Jun 05, 2019
    • Cory Quammen's avatar
      ENH: Add vtkWordCloud to Infovos/Core · 76a896d8
      Cory Quammen authored and Bill Lorensen's avatar Bill Lorensen committed
      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.
      76a896d8
  12. Mar 20, 2019
  13. Jan 09, 2019
  14. Jan 08, 2019
  15. Dec 04, 2018
  16. Nov 30, 2018
  17. Oct 03, 2018
  18. Sep 19, 2018
  19. Aug 04, 2018
    • Sean McBride's avatar
      Fixed more cppcheck 1.84 warnings · c868a18d
      Sean McBride authored
      This fixed issues were:
      
      clarifyCondition,Common/Core/vtkLargeInteger.cxx:355
      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.
      c868a18d
  20. Aug 01, 2018
    • luz.paz's avatar
      Misc. typos · 0c5f8b4b
      luz.paz authored
      Found via `codespell -q 3 -I ../vtk-whitelist-words.txt --skip="./ThirdParty,./Utilities"`
      0c5f8b4b
  21. Jul 11, 2018
  22. May 18, 2018
    • Kitware Robot's avatar
      ExternalData: Convert content links from MD5 to SHA512 · d6d05b2a
      Kitware Robot authored and Brad King's avatar Brad King committed
      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
          done
      d6d05b2a
  23. Mar 20, 2018
  24. Mar 08, 2018
  25. Jan 04, 2018
  26. Dec 26, 2017
Loading