1. 07 Jul, 2016 2 commits
    • Sean McBride's avatar
      Applied VTK_DELETE_FUNCTION to many constructors · 1853e030
      Sean McBride authored
      vtk(.*)\(const vtk\1&\);\s*//\s*Not implemented[\.]*
      to
      vtk\1(const vtk\1\&) VTK_DELETE_FUNCTION;
      
      vtk(.*)\(const vtk\1 &\);\s*//\s*Not implemented[\.]*
      to
      vtk\1(const vtk\1 \&) VTK_DELETE_FUNCTION;
      
      vtk(.*)\( const vtk\1 & \);\s*//\s*Not implemented[\.]*
      to
      vtk\1( const vtk\1 \& ) VTK_DELETE_FUNCTION;
      
      vtk(.*)\( const vtk\1& \);\s*//\s*Not implemented[\.]*
      to
      vtk\1( const vtk\1\& ) VTK_DELETE_FUNCTION;
      
      vtk(.*) \(const vtk\1&\);\s*//\s*Not implemented[\.]*
      to
      vtk\1 (const vtk\1\&) VTK_DELETE_FUNCTION;
      1853e030
    • Sean McBride's avatar
      Applied VTK_DELETE_FUNCTION for operator= · 2d0e11ef
      Sean McBride authored
      (operator\s*=.*);\s*//\s*Not\s*implemented[\.]*
      to
      \1 VTK_DELETE_FUNCTION;
      
      After that, this finds basically nothing:
      
      operator.*implemented
      
      then manually reverted changed files in VPIC and KWSys folders.
      2d0e11ef
  2. 08 Mar, 2016 1 commit
  3. 18 Dec, 2014 1 commit
  4. 09 Jul, 2014 1 commit
    • Marco Cecchetti's avatar
      I added a RGBAToHTMLColor and made some minor changes. · 1f2cdbfc
      Marco Cecchetti authored
      Added a vtkStdString RGBAToHTMLColor(const vtkColor4ub & rgba)
      method  which given a vtkColor4ub instance as input color returns
      a valid HTML color string in the `rgba(r, g, b, a)` format.
      
      Change-Id: I490d173c2fc2d66869cda4d0db7ae6f632607818
      1f2cdbfc
  5. 08 Jul, 2014 1 commit
    • Marco Cecchetti's avatar
      Merged vtkColorString into vtkNamedColors. · 04c2b8ce
      Marco Cecchetti authored
      Removed support for #RRGGBBAA format since is not a valid HTML
      color string format. See CSS3 color reference documentation.
      
      Added support for the #RGB short format.
      Added support for percentage values in rgb and rgba functional
      formats.
      
      vtkTestClorString.cxx source code has been merged into
      vtkTestNamedColors.cxx.
      
      Added a new method for get an HTML color string in hexadecimal
      format from an instance of vtkColor3ub.
      
      Added a new method for setting a color by name:
      void SetColor(const vtkStdString & name,
                           const vtkStdString & htmlString);
      
      No color is set if the name is empty or if `htmlString` is not a valid
      HTML color string.
      
      Change-Id: Ib9b9d2fa96a4dd5ac476b7bed2349cf4462ea9a9
      04c2b8ce
  6. 20 May, 2013 1 commit
    • Andrew Maclean's avatar
      Make some color methods consistent. · 293e5386
      Andrew Maclean authored
      In order to use functions like SetTableValue(2, "Blue") in a lookup table
        or other SetColors in derived classes in the same manner,
        these methods should be virtual.
      This commit just makes the relevant Set methods virtual.
      In the case of vtkProperty, the definition of SetColor(double a[3]) has
        been moved into vtkProperty.cxx, the rationale is that, in VTK classes,
        definitions occur in the implementation file not the header file.
      
      Change-Id: I89fee8eb4902e0847114b068374c3bff0bf10b9d
      293e5386
  7. 16 May, 2013 1 commit
    • Andrew Maclean's avatar
      Make some color methods consistent. · 55475274
      Andrew Maclean authored
      
      
      In order to use functions like SetTableValue(2, "Blue") in a lookup table
        or other SetColors in derived classes in the same manner,
        these methods should be virtual.
      This commit just makes the relevant Set methods virtual.
      In the case of vtkProperty, the definition of SetColor(double a[3]) has
        been moved into vtkProperty.cxx, the rationale is that, in VTK classes,
        definitions occur in the implementation file not the header file.
      
      Change-Id: I6ad8d0019785faed1f7cb157192fdcc2f2d70c34
      Signed-off-by: Andrew Maclean's avatarAndrew Maclean <andrew.amaclean@gmail.com>
      55475274
  8. 15 Nov, 2012 1 commit
  9. 14 Nov, 2012 1 commit
  10. 19 Sep, 2012 1 commit
    • Andrew Maclean's avatar
      Refactored vtkNamedColors · c2a58c30
      Andrew Maclean authored
      Updated as per Marcus's comments. I have also added in the vtkColor3/4
      API, removed methods returning double * and unsigned char *.
      vtkNamedColorsDataStore mow uses std::map<vtkStdString, vtkColor4ub>
      
      Change-Id: Ie44f876afcf68e9fda48cd67b7feb857d369fa52
      c2a58c30
  11. 12 Sep, 2012 2 commits
  12. 09 Sep, 2012 1 commit