- Jul 25, 2023
-
-
Mathieu Westphal (Kitware) authored
Replace 1 cat files.out | xargs -I %s perl -i~ -0777 -pe 's/\/\*=========================================================================(.|\n)*.*Program: Visualization Toolkit\n.*Module:.*\n\n Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n All rights reserved.\n See Copyright.txt or .* for details.\n\n.*\n.*\n.*\n.*\*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-License-Identifier: BSD-3-CLAUSE/g' %s Replace 2 cat files.out | xargs -I %s perl -i~ -0777 -pe 's/\/\*=========================================================================(.|\n)*.*Program: Visualization Toolkit\n.*Module:.*\n\n Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n All rights reserved.\n See Copyright.txt or .* for details.\n\n.*\n.*\n.*\n\n.*\*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-License-Identifier: BSD-3-CLAUSE/g' %s Replace 3 cat files.out | xargs -I %s perl -i~ -0777 -pe 's/\/\*=========================================================================\n.*Program:.*Visualization Toolkit\n.*Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n.*All rights reserved.\n.*See Copyright.txt or .* for details.\n.*\n.*\n.*\n.*\*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-License-Identifier: BSD-3-CLAUSE/g' %s Replace 4 cat files.out | xargs -I %s perl -i~ -0777 -pe 's/\/\*=========================================================================\n\n.*Program:.*Visualization Toolkit\n\n.*Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n.*All rights reserved.\n.*See Copyright.txt or .* for details.\n\n.*\n.*\n.*\n\n=========================================================================\*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-License-Identifier: BSD-3-CLAUSE/g' %s Replace 5 cat files.out | xargs -I %s perl -i~ -0777 -pe 's/\/\*=========================================================================\n\n.*Program:.*Visualization Toolkit\n.*Module:.*\n\n.*Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n.*All rights reserved.\n.*See Copyright.txt or .* for details.\n\n.*\n.*\n.*\n\n=========================================================================\*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-License-Identifier: BSD-3-CLAUSE/g' %s Replace 6 cat files.out | xargs -I %s perl -i~ -0777 -pe 's/\/\*=========================================================================\n\n.*Program:.*Visualization Toolkit\n.*Module:.*\n\n.*Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n.*All rights reserved.\n.*See Copyright.txt or .* for details.\n\n.*\n.*\n.*\n\n.*=========================================================================\*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-License-Identifier: BSD-3-CLAUSE/g' %s Replace 7 cat files.out | xargs -I %s perl -i~ -0777 -pe 's/\/\*=========================================================================\n\n.*Program:.*Visualization Toolkit\n.*Module:.*\n\n.*Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n.*All rights reserved.\n\n.*See Copyright.txt or .* for details.\n\n.*\n.*\n.*\n\n=========================================================================\*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-License-Identifier: BSD-3-CLAUSE/g' %s Replace 8 cat files.out | xargs -I %s perl -i~ -0777 -pe 's/\/\*==================================================================\n\n.*Program:.*Visualization Toolkit\n.*Module:.*\n\n.*Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n.*All rights reserved.\n.*See Copyright.txt or .* for details.\n\n.*\n.*\n.*\n\n===================================================================\*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-License-Identifier: BSD-3-CLAUSE/g' %s Replace sandia 1 cat files.out | xargs -I %s perl -i~ -0777 -pe 's/\/\*=========================================================================\n\n.*Program:.*Visualization Toolkit\n.*Module:.*\n\n-------------------------------------------------------------------------\n.*Copyright 2008 Sandia Corporation.\n.*Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,\n.*the U.S. Government retains certain rights in this software.\n-------------------------------------------------------------------------\n\n.*Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n.*All rights reserved.\n.*See Copyright.txt or .* for details.\n\n.*\n.*\n.*\n\n=========================================================================\*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-FileCopyrightText: Copyright 2008 Sandia Corporation\n\/\/ SPDX-License-Identifier: LicenseRef-BSD-3-CLAUSE-Sandia-USGov/g' %s Replace 9 cat files.out | xargs -I %s perl -i~ -0777 -pe 's/\/\*=========================================================================\n\n.*Program:.*Visualization Toolkit\n.*Module:.*\n.*Language:.*\n\n.*Copyright \(c\) .* Ken Martin, Will Schroeder, Bill Lorensen\n.*All rights reserved.\n.*See Copyright.txt or .* for details.\n\n.*\n.*\n.*\n\n=========================================================================\*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-License-Identifier: BSD-3-CLAUSE/g' %s Manual 1 Replace 10 cat files.out | xargs -I %s perl -i~ -0777 -pe 's/\/\*=========================================================================\n\n.*Program:.*\n.*Module:.*\n\n.*Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n.*All rights reserved.\n.*See Copyright.txt or .* for details.\n\n.*\n.*\n.*\n\n=========================================================================\*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-License-Identifier: BSD-3-CLAUSE/g' %s Replace 11 cat files.out | xargs -I %s perl -i~ -0777 -pe 's/\/\*=========================================================================\n.*Program:.*\n.*Module:.*\n.*Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n.*All rights reserved.\n.*See Copyright.txt or .* for details.\n.*\n.*\n.*\n=========================================================================\*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-License-Identifier: BSD-3-CLAUSE/g' %s Replace Valve 1 cat files.out | xargs -I %s perl -i~ -0777 -pe 's/\/\*=========================================================================\n\n.*Program:.*\n.*Module:.*\n\n.*Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n.*All rights reserved.\n.*See Copyright.txt or .* for details.\n\n.*\n.*\n.*\n\nParts Copyright Valve Corporation from.*\nunder their BSD license found here:\n.*\n\n=========================================================================\*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-FileCopyrightText: Copyright (c) 2015, Valve Corporation\n\/\/ SPDX-License-Identifier: BSD-3-CLAUSE/g' %s Manual 2 Manual 3 manual 4 manual sandia 1 manual 5 Replace ParaView 1 cat files.out | xargs -I %s perl -i~ -0777 -pe 's/\/\*=========================================================================\n\n.*Program:.*\n.*Module:.*\n\n.*Copyright \(c\) Sandia Corporation, Kitware Inc.\n.*All rights reserved.\n.*See Copyright.txt or .* for details.\n\n.*\n.*\n.*\n\n=========================================================================\*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-FileCopyrightText: Copyright (c) Sandia Corporation, Kitware Inc\n\/\/ SPDX-License-Identifier: BSD-3-CLAUSE/g' %s Manual Sandia 2 Replace 13 cat files.out | xargs -I %s perl -i~ -0777 -pe 's/\/\*=========================================================================\n\n.*Program:.*\n\n.*Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n.*All rights reserved.\n.*See Copyright.txt or .* for details.\n\n.*\n.*\n.*\n\n.*=========================================================================\*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-License-Identifier: BSD-3-CLAUSE/g' %s Manual sandia 3 replace 14 cat files.out | xargs -I %s perl -i~ -0777 -pe 's/\/\*=========================================================================\n\n.*Program:.*\n.*Module:.*\n.*Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n.*All rights reserved.\n.*See Copyright.txt or .* for details.\n\n.*\n.*\n.*\n\n.*=========================================================================\*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-License-Identifier: BSD-3-CLAUSE/g' %s Manual sandia 4 Manual 6 manual 7 manual sandia 5 Manual Kitware SAS 1 manual 7 Manual 10 manual 11 manual 12 manual 15 Fix wrong spdx name Remove useless cmake copyright Remove useless copyrights Remove useless copyright and license statement in python files Removal glsl cat files.out | xargs -I %s perl -i~ -0777 -pe "s/.*=========================================================================\n.*\n.*Program:.*\n.*Module:.*\n.*\n.*Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n.*All rights reserved.\n.*See Copyright.txt or .*for details.\n.*\n.*\n.*\n.*\n.*\n.*=========================================================================\n//g" %s Replace sandia accel cat files.out | xargs -I %s perl -i~ -0777 -pe 's/\/\/=============================================================================\n.*\n.*Copyright \(c\) Kitware, Inc.\n.*All rights reserved.\n.*See LICENSE.txt for details.\n.*\n.*This.*\n.*the.*\n.*PURPOSE.*\n.*\n.*Copyright 2012 Sandia Corporation.\n.*Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,\n.*the U.S. Government retains certain rights in this software.\n.*\n.*=============================================================================/\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-FileCopyrightText: Copyright (c) Kitware, Inc.\n\/\/ SPDX-FileCopyrightText: Copyright 2012 Sandia Corporation.\n\/\/ SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-USGov/g' %s Manual sandia accel manual Kitware inc Manual fixups Manual 14 Replace 15 cat files.out | xargs -I %s perl -i~ -0777 -pe 's/\/\*=========================================================================\n\n.*Program:.*\n.*Module:.*\n\n.*Copyright \(c\) Kitware, Inc.\n.*All rights reserved.\n.*See LICENSE file for details.\n\n.*\n.*\n.*\n\n=========================================================================\*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-License-Identifier: BSD-3-CLAUSE/g' %s Manual 16 Removing non-standard file header cat files.out | xargs -I %s perl -i~ -0777 -pe 's/\/\/ \-\*\- c\+\+.*\n\n//g' %s Manual removal non standard header Adding custom sandia and lanl licenses Fix missing header common core Manual missing headers Add missing sandia cat files.out | xargs -I %s perl -i~ -0777 -pe 's/\A\/\/ SPDX-FileCopyrightText.*\n\/\/ SPDX-License-Identifier.*\n\n\/\*\n.*Copyright 2004 Sandia Corporation.\n.*Under.*\n.*license.*\n.*U.*\n.*or.*\n.*statement.*\n \*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-FileCopyrightText: Copyright 2004 Sandia Corporation\n\/\/ SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-USGov/g' %s Adding missing sandia licenses Adding sandia licenses Adding missing sandia licenses Replace sandia Adding sandia module changes Use new custom license system Replace sandia cat files.out | xargs -I %s perl -i~ -0777 -pe 's/\A\/\/ SPDX-FileCopyrightText.*\n\/\/ SPDX-License-Identifier.*\n\/\*-------------------------------------------------------------------------\n.*Copyright 2009 Sandia Corporation.\n.*Under the terms of Contract DE-AC04-94AL85000.*\n.*the.*\n-------------------------------------------------------------------------\*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-FileCopyrightText: Copyright 2009 Sandia Corporation\n\/\/ SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-USGov/g' %s Adding missing sandia licenses Sandia final fixup license Adding missing sandia license Fix remaining sandia license Manual LANL license Replace sandia BSD cat files.out | xargs -I %s perl -i~ -0777 -pe 's/\A\/\/ SPDX-FileCopyrightText.*\n\/\/ SPDX-License-Identifier.*\n\/\*----------------------------------------------------------------------------\n.*Copyright \(c\) Sandia Corporation\n.*See Copyright.txt.*\n.*----------------------------------------------------------------------------\*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-FileCopyrightText: Copyright \(c\) Sandia Corporation\n\/\/ SPDX-License-Identifier: BSD-3-Clause/g' %s Replace Kitware, Inc. cat files.out | xargs -I %s perl -i~ -0777 -pe 's/\A\/\*=========================================================================\n\n.*Program.*\n.*Module.*\n\n.*Copyright \(c\) Kitware, Inc.\n.*All rights reserved.\n.*See Copyright.txt.*\n\n.*This.*\n.*the.*\n.*PURPOSE.*\n\n=========================================================================\*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-FileCopyrightText: Copyright \(c\) Kitware, Inc.\n\/\/ SPDX-License-Identifier: BSD-3-Clause/g' %s Manual ParaView license Remove useless license statement in cmake files Manual licenses Replace lanl cat files.out | xargs -I %s perl -i~ -0777 -pe 's/\A\/\/ SPDX-FileCopyrightText.*\n\/\/ SPDX-License-Identifier.*\n\n\/\*.*\n.*\n.*Copyright \(c\) 2000.*2009.*Lawrence Livermore National Security, LLC\n.*Produced at the Lawrence.*\n.*LLNL-CODE-400124\n.*All rights reserved.\n.*\n.*This.*\n.*see.*\n.*file.*\n.*http.*\n.*\n.*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-FileCopyrightText: Copyright \(c\) 2000 - 2009, Lawrence Livermore National Security, LLC\n\/\/ SPDX-License-Identifier: BSD-3-Clause/g' %s Manual LANL NVIDIA license impact Manual Indiana Manual copyrights More manual licenses More manual licenses Replace Atamai cat a.out | xargs -I %s perl -i~ -0777 -pe 's/\A\/\/ SPDX-FileCopyrightText.*\n\/\/ SPDX-License-Identifier.*\n\/\*.*\n\n.*Copyright \(c\) 2006 Atamai, Inc.\n\nUse.*\nbinary.*\nconditions.*\n\n1.*\n form.*\n the.*\n license.*\n\n2.*\n notice.*\n in.*\n distribution.*\n\n3.*\n and.*\n\nTHE.*\nWITHOUT.*\nTHE.*\nPURPOSE.*\nMODIFY.*\nBE.*\n.*\nOR.*\nTHE.*\nPOSSIBILITY.*\n\n.*\*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-FileCopyrightText: Copyright \(c\) 2006 Atamai, Inc.\n\/\/ SPDX-License-Identifier: BSD-3-Clause/g' %s Manual MIT Manual licenses Xdmf2 License PLY license Manual VRML licenses replace Netcdf license Manual OpenXR license Manual Licenses Example Licenses manual Manual Copyrights and licenses Manual licensing Removing empty lines Manual licenses Manual final pass Manual Dicom Replace all cxx without copyright info find . -name "*.cxx" -exec grep -L "SPDX" {} \; | grep -v ThirdParty | grep -v Utilities > files.out cat files.out | xargs -I %s perl -i~ -0777 -pe 's/\A(.*)\n/\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-License-Identifier: BSD-3-Clause\n$1\n/g' %s Replace all header missing license find . -name "*\.h" -exec grep -L "SPDX" {} \; | grep -v ThirdParty | grep -v Utilities > files.out cat files.out | xargs -I %s perl -i~ -0777 -pe 's/\A(.*)\n/\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-License-Identifier: BSD-3-Clause\n$1\n/g' %s Manual from build Add missing license Replace copyright.txt Remove license files Manual fixes found by building Fix header testing Add license in vtkEncodeString Manual new filters Review JF
-
- Feb 07, 2022
-
-
Lucas Gandel authored
1. Fix cursor center drifting in other views when rotating, by preserving the offset between the camera focal point and the reslice cursor center. 2. Fix cursor rotating in other views when rotating. The camera view up is aligned to the reslice cursor view up, but only when the representation is modified. 3. Allow camera spinning by synchronizing the reslice cursor view up with the camera view up on each render. 4. Fix testing. The widget was not rendered because the input data was released. Force the representation to wireframe to make sure reslice axes are rendered until a proper fix is found. Add mouse interactions to make sure the still behavior is preserved is other views. The approach for 2. and 3. works as follow: - When the reslice cursor is modified, the camera view up is locked to the reslice cursor view up (2.) - At the end of BuildRepresentation, the reslice cursor view up is locked to the camera view up (3.). This will either assign the same value as in 2. if the representation was modified, or apply the modified camera view up to the representation if the rendering was triggered from other interactions than the widget, e.g. camera spinning. - To make sure the representation is not modified every frame, we must add a check when computing the vtkResliceCursorActor hole width.
-
- May 06, 2020
-
-
Sean McBride authored
Used this script then manually reverted changes to ThirdParty and the like: find . -iname "*.cxx" -exec sed -i '' s:^//-----------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} + find . -iname "*.cxx" -exec sed -i '' s:^//----------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} + find . -iname "*.cxx" -exec sed -i '' s:^//---------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} + find . -iname "*.cxx" -exec sed -i '' s:^//--------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} + find . -iname "*.cxx" -exec sed -i '' s:^//-------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} + find . -iname "*.cxx" -exec sed -i '' s:^//------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} + find . -iname "*.cxx" -exec sed -i '' s:^//-----------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} + find . -iname "*.cxx" -exec sed -i '' s:^//----------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} + find . -iname "*.cxx" -exec sed -i '' s:^//---------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} + find . -iname "*.cxx" -exec sed -i '' s:^//--------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} + find . -iname "*.cxx" -exec sed -i '' s:^//-------------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} + find . -iname "*.cxx" -exec sed -i '' s:^//--------------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} + find . -iname "*.cxx" -exec sed -i '' s:^//---------------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} + find . -iname "*.cxx" -exec sed -i '' s:^//----------------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} + find . -iname "*.cxx" -exec sed -i '' s:^//-----------------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} + find . -iname "*.cxx" -exec sed -i '' s:^//------------------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} + find . -iname "*.cxx" -exec sed -i '' s:^//-------------------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} + find . -iname "*.cxx" -exec sed -i '' s:^//--------------------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} + find . -iname "*.cxx" -exec sed -i '' s:^//---------------------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} + find . -iname "*.cxx" -exec sed -i '' s:^//\ -----------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} + find . -iname "*.cxx" -exec sed -i '' s:^//\ ----------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} + find . -iname "*.cxx" -exec sed -i '' s:^//\ ---------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} + find . -iname "*.cxx" -exec sed -i '' s:^//\ --------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} + find . -iname "*.cxx" -exec sed -i '' s:^//\ -------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} + find . -iname "*.cxx" -exec sed -i '' s:^//\ ------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} + find . -iname "*.cxx" -exec sed -i '' s:^//\ -----------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} + find . -iname "*.cxx" -exec sed -i '' s:^//\ ----------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} + find . -iname "*.cxx" -exec sed -i '' s:^//\ ---------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} + find . -iname "*.cxx" -exec sed -i '' s:^//\ --------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} + find . -iname "*.cxx" -exec sed -i '' s:^//\ -------------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} + find . -iname "*.cxx" -exec sed -i '' s:^//\ --------------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} + find . -iname "*.cxx" -exec sed -i '' s:^//\ ---------------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} + find . -iname "*.cxx" -exec sed -i '' s:^//\ ----------------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} + find . -iname "*.cxx" -exec sed -i '' s:^//\ -----------------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} + find . -iname "*.cxx" -exec sed -i '' s:^//\ ------------------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} + find . -iname "*.cxx" -exec sed -i '' s:^//\ -------------------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} + find . -iname "*.cxx" -exec sed -i '' s:^//\ --------------------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} + find . -iname "*.cxx" -exec sed -i '' s:^//\ ---------------------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
-
- Nov 18, 2019
-
-
Run the `clang-format.bash` script to update all our C and C++ code to a new style defined by `.clang-format`. Use `clang-format` version 8.0. * If you reached this commit for a line in `git blame`, re-run the blame operation starting at the parent of this commit to see older history for the content. * See the parent commit for instructions to rebase a change across this style transition commit.
-
- Nov 13, 2019
-
-
Includes a few changes related to extraneous whitespace fixes and deduplication of headers as well.
-
- Mar 20, 2018
-
-
Sean McBride authored
This required some clean up, because the automatic changes borked a couple of files, but mostly resulted in stupid whitespacing. A few find/replace fixed things up. There are now some duplicate semis because it did changes like: ~AMRIndexIterator() override{}; to ~AMRIndexIterator() override= default;; Note there was a pointless semi before, which clang-tidy didn’t expect / account for. My next commit will remove them.
-
- Oct 02, 2017
-
-
Kitware Robot authored
Now that VTK requires a C++11 compiler we can ditch using custom typedefs
-
- Jun 03, 2017
-
-
Sean McBride authored
Checked with blame that deleted code is truely dead.
-
- Mar 14, 2017
-
-
fixes some doxy typos fixes misc. comment typos
-
- Sep 23, 2016
-
-
This commit reindents the code with the following utility: Utilities/Maintenance/vtk-reindent-code.py This utility changes the positions of the braces so that they are no longer indented relative to the code block they reside in. The bash command line used was the following: for d in Charts Common Deprecated Domains Examples Filters GUISupport \ Geovis IO Imaging Infovis Interaction Parallel Rendering \ Testing Views Web Wrapping; do for e in cxx cxx.in txx txx.in hxx hxx.in h h.in c c.in; do find "${d}" -name "*.${e}" -exec \ python Utilities/Maintenance/vtk_reindent_code.py {} + done done
-
- Jul 13, 2016
-
-
Sean McBride authored
It doesn't seem to have got everything, but it's a start. Some resulting whitespace is suboptimal, but one day we can fix that with clang-format. :) Just ran this command: run-clang-tidy.py -checks=-*,modernize-use-override -fix (I actually had to build my own clang to make clang-tidy output "VTK_OVERRIDE" instead of "override".)
-
- Mar 08, 2016
-
-
Code extracted from: https://gitlab.kitware.com/third-party/proj.git at commit 41bdf05361007f8c5186f3df9944d86bb273ed13 (for/vtk).
-
- Jul 01, 2015
-
-
Dan Lipsa authored
This test used the default view up and then did a vtkRenderer::ResetCamera which resulted in warning Warning: In /home/danlipsa/src/VTK/Rendering/Core/vtkRenderer.cxx, line 1043 vtkOpenGLRenderer (0x1b45060): Resetting view-up since view plane normal is parallel
-
- Apr 09, 2012
-
-
Move source files from their former monolithic VTK location to their new location in modular VTK without modification. This preserves enough information for "git blame -M" and "git log --follow" to connect modularized VTK files to their original location and history. Co-Author: Marcus D. Hanwell <marcus.hanwell@kitware.com> Co-Author: Chris Harris <chris.harris@kitware.com> Co-Author: Brad King <brad.king@kitware.com> Co-Author: Nikhil Shetty <nikhil.shetty@kitware.com>
-
- Feb 29, 2012
-
-
Berk Geveci authored
SetInputConnection sets up a pipeline connection (and allows the widget to update its input filter) whereas SetInputData does not. Change-Id: I064ee82152c00fc641da776558be917ffaeca6ef
-
- Jun 19, 2011
-
-
Karthik Krishnan authored
The reslice cursor represents a cross hair cursor that can be interactively translated, rotated to perform a reslice through the data. The lines may have thickness, in which case a thick reslice is done. Thick reslice imaging classes have also been checked in. This invokved a refactoring of the vtkImageReslice classes to move common functionality into a base class and a detail class. A reslice cursor widget interactively manipulates the reslice cursor class to perform thin/thick reformats through the data. The viewer integrates these together along with the resliced display. The QT example demonstrates how 3 reslice cursor widgets may be synced together along with a 3D ImagePlaneWidget.
-