From 697c924e5bf6494cf73d2ffb989a139947087887 Mon Sep 17 00:00:00 2001 From: Ben Boeckel <ben.boeckel@kitware.com> Date: Sat, 16 Oct 2021 17:34:42 -0400 Subject: [PATCH] clang-tidy: fix `readability-redundant-access-specifiers` lints --- Accelerators/Vtkm/Core/vtkmDataArray.h | 1 - Common/Core/vtkBitArray.h | 1 - Common/Core/vtkDataArray.h | 1 - Common/Core/vtkDataArrayCollection.h | 1 - Common/Core/vtkGarbageCollector.h | 1 - Common/Core/vtkIdListCollection.h | 1 - Common/Core/vtkInformation.h | 1 - Common/Core/vtkObjectFactory.h | 1 - Common/Core/vtkObjectFactoryCollection.h | 1 - Common/Core/vtkOutputWindow.h | 1 - Common/Core/vtkOverrideInformation.h | 1 - Common/Core/vtkOverrideInformationCollection.h | 1 - Common/DataModel/vtkAMRBox.h | 1 - Common/DataModel/vtkDataObject.h | 1 - Common/DataModel/vtkDataObjectCollection.h | 1 - Common/DataModel/vtkDataSet.h | 1 - Common/DataModel/vtkDataSetAttributes.h | 1 - Common/DataModel/vtkDataSetCollection.h | 1 - Common/DataModel/vtkImageData.h | 1 - Common/DataModel/vtkImplicitFunctionCollection.h | 1 - Common/DataModel/vtkImplicitSelectionLoop.h | 1 - Common/DataModel/vtkKdTree.h | 1 - Common/DataModel/vtkOrderedTriangulator.h | 1 - Common/DataModel/vtkPlaneCollection.h | 1 - Common/DataModel/vtkPlanes.h | 1 - Common/DataModel/vtkPolyData.h | 1 - Common/DataModel/vtkPolyDataCollection.h | 1 - Common/DataModel/vtkRectilinearGrid.h | 1 - Common/DataModel/vtkStructuredGrid.h | 1 - Common/DataModel/vtkStructuredPointsCollection.h | 1 - Common/ExecutionModel/vtkAlgorithm.h | 1 - Common/ExecutionModel/vtkExecutive.h | 1 - Common/ExecutionModel/vtkSimpleScalarTree.h | 1 - Common/ExecutionModel/vtkSpanSpace.h | 1 - Common/System/vtkDirectory.h | 1 - Common/System/vtkSocketCollection.h | 1 - Common/Transforms/vtkAbstractTransform.h | 1 - Common/Transforms/vtkTransformCollection.h | 1 - Domains/Chemistry/vtkBlueObeliskData.h | 1 - Filters/Core/vtkAppendPolyData.h | 1 - Filters/Core/vtkAppendSelection.h | 1 - Filters/Core/vtkConnectivityFilter.h | 1 - Filters/Core/vtkDecimatePro.h | 1 - Filters/Core/vtkDelaunay2D.h | 1 - Filters/Core/vtkDelaunay3D.h | 1 - Filters/Core/vtkPolyDataNormals.h | 1 - Filters/FlowPaths/vtkTemporalInterpolatedVelocityField.h | 1 - Filters/General/vtkClipVolume.h | 1 - Filters/General/vtkEqualizerFilter.h | 1 - Filters/General/vtkRemovePolyData.h | 1 - Filters/Hybrid/vtkImageToPolyDataFilter.h | 1 - Filters/Modeling/vtkButterflySubdivisionFilter.h | 1 - Filters/Modeling/vtkRuledSurfaceFilter.h | 1 - Filters/Modeling/vtkSelectPolyData.h | 1 - Filters/ParallelGeometry/vtkPDistributedDataFilter.h | 1 - Filters/Points/vtkConnectedPointsFilter.h | 1 - Filters/Programmable/vtkProgrammableAttributeDataFilter.h | 1 - Filters/Sources/vtkHyperTreeGridSource.h | 1 - Filters/Statistics/vtkHighestDensityRegionsStatistics.h | 1 - GUISupport/Qt/QVTKInteractorInternal.h | 4 ++-- GUISupport/Qt/QVTKOpenGLNativeWidget.h | 3 +-- GUISupport/Qt/QVTKOpenGLWindow.h | 3 +-- GUISupport/Qt/QVTKRenderWindowAdapter.h | 2 +- GUISupport/Qt/QVTKTableModelAdapter.h | 2 +- GUISupport/Qt/Testing/Cxx/QVTKTableModelAdapterTestClass.h | 2 +- GUISupport/Qt/vtkQtConnection.h | 2 +- GUISupport/Qt/vtkQtDebugLeaksView.h | 2 +- GUISupport/QtQuick/QQuickVTKInteractiveWidget.h | 2 +- GUISupport/QtQuick/QQuickVTKItem.h | 4 +--- GUISupport/QtQuick/QQuickVTKRenderItem.h | 4 ++-- GUISupport/QtQuick/QQuickVTKRenderWindow.h | 4 ++-- IO/Core/vtkGlobFileNames.h | 1 - IO/Exodus/vtkModelMetadata.h | 1 - IO/GDAL/vtkGDALRasterReader.h | 1 - IO/HDF/vtkHDFReaderImplementation.h | 1 - IO/Image/vtkImageReader2Collection.h | 1 - IO/Image/vtkJPEGWriter.h | 1 - IO/Import/vtkVRMLImporter.h | 1 - IO/SegY/vtkSegYBinaryHeaderBytesPositions.h | 1 - IO/SegY/vtkSegYReader.h | 1 - IO/SegY/vtkSegYReaderInternal.h | 1 - IO/SegY/vtkSegYTraceHeaderBytesPositions.h | 1 - IO/XML/vtkXMLReader.h | 1 - IO/Xdmf2/vtkXdmfHeavyData.h | 1 - IO/Xdmf2/vtkXdmfReader.h | 1 - IO/Xdmf2/vtkXdmfReaderInternal.h | 1 - Imaging/Hybrid/vtkGaussianSplatter.h | 1 - Rendering/Annotation/vtkArcPlotter.h | 1 - Rendering/Annotation/vtkBarChartActor.h | 1 - Rendering/Annotation/vtkCaptionActor2D.h | 1 - Rendering/Annotation/vtkCubeAxesActor2D.h | 1 - Rendering/Annotation/vtkParallelCoordinatesActor.h | 1 - Rendering/Annotation/vtkPieChartActor.h | 1 - Rendering/Annotation/vtkSpiderPlotActor.h | 1 - Rendering/Context2D/vtkContextMouseEvent.h | 1 - Rendering/Core/vtkActor2DCollection.h | 1 - Rendering/Core/vtkActorCollection.h | 1 - Rendering/Core/vtkAssemblyNode.h | 1 - Rendering/Core/vtkAssemblyPath.h | 1 - Rendering/Core/vtkAssemblyPaths.h | 1 - Rendering/Core/vtkBackgroundColorMonitor.h | 1 - Rendering/Core/vtkCellPicker.h | 1 - Rendering/Core/vtkCullerCollection.h | 1 - Rendering/Core/vtkHardwareSelector.h | 1 - Rendering/Core/vtkLightCollection.h | 1 - Rendering/Core/vtkMapperCollection.h | 1 - Rendering/Core/vtkProp3DCollection.h | 1 - Rendering/Core/vtkPropCollection.h | 1 - Rendering/Core/vtkRenderWindowCollection.h | 1 - Rendering/Core/vtkTextPropertyCollection.h | 1 - Rendering/Core/vtkVolumeCollection.h | 1 - Rendering/Image/vtkImageSliceCollection.h | 1 - Rendering/LICOpenGL2/vtkLICNoiseHelper.h | 2 -- Rendering/LICOpenGL2/vtkLineIntegralConvolution2D.h | 1 - Rendering/LICOpenGL2/vtkSurfaceLICComposite.h | 1 - Rendering/LICOpenGL2/vtkSurfaceLICMapper.h | 1 - Rendering/OpenGL2/vtkRenderPassCollection.h | 1 - Rendering/OpenGL2/vtkRenderbuffer.h | 1 - Rendering/ParallelLIC/vtkPLineIntegralConvolution2D.h | 1 - Rendering/ParallelLIC/vtkPPixelTransfer.h | 1 - Rendering/ParallelLIC/vtkPSurfaceLICComposite.h | 1 - Rendering/ParallelLIC/vtkPSurfaceLICInterface.h | 1 - Rendering/ParallelLIC/vtkParallelTimer.h | 1 - Views/Qt/vtkQtAnnotationView.h | 2 +- Views/Qt/vtkQtListView.h | 2 +- Views/Qt/vtkQtTableView.h | 2 +- Views/Qt/vtkQtTreeView.h | 2 +- 127 files changed, 19 insertions(+), 135 deletions(-) diff --git a/Accelerators/Vtkm/Core/vtkmDataArray.h b/Accelerators/Vtkm/Core/vtkmDataArray.h index 4fa9caf4fb4..3310763688a 100644 --- a/Accelerators/Vtkm/Core/vtkmDataArray.h +++ b/Accelerators/Vtkm/Core/vtkmDataArray.h @@ -121,7 +121,6 @@ private: std::unique_ptr<internal::ArrayHandleHelperInterface<T>> Helper; -private: vtkmDataArray(const vtkmDataArray&) = delete; void operator=(const vtkmDataArray&) = delete; }; diff --git a/Common/Core/vtkBitArray.h b/Common/Core/vtkBitArray.h index bbcc455035d..4d57eeb3883 100644 --- a/Common/Core/vtkBitArray.h +++ b/Common/Core/vtkBitArray.h @@ -371,7 +371,6 @@ private: // hide superclass' DeepCopy() from the user and the compiler void DeepCopy(vtkDataArray& da) { this->vtkDataArray::DeepCopy(&da); } -private: vtkBitArray(const vtkBitArray&) = delete; void operator=(const vtkBitArray&) = delete; diff --git a/Common/Core/vtkDataArray.h b/Common/Core/vtkDataArray.h index 3ee3c2a4081..2f2f36f89c1 100644 --- a/Common/Core/vtkDataArray.h +++ b/Common/Core/vtkDataArray.h @@ -683,7 +683,6 @@ protected: private: double* GetTupleN(vtkIdType i, int n); -private: vtkDataArray(const vtkDataArray&) = delete; void operator=(const vtkDataArray&) = delete; }; diff --git a/Common/Core/vtkDataArrayCollection.h b/Common/Core/vtkDataArrayCollection.h index 69da96d73ba..9336ba1b9f9 100644 --- a/Common/Core/vtkDataArrayCollection.h +++ b/Common/Core/vtkDataArrayCollection.h @@ -68,7 +68,6 @@ private: // hide the standard AddItem from the user and the compiler. void AddItem(vtkObject* o) { this->vtkCollection::AddItem(o); } -private: vtkDataArrayCollection(const vtkDataArrayCollection&) = delete; void operator=(const vtkDataArrayCollection&) = delete; }; diff --git a/Common/Core/vtkGarbageCollector.h b/Common/Core/vtkGarbageCollector.h index 48dfedf9561..bf3152fb012 100644 --- a/Common/Core/vtkGarbageCollector.h +++ b/Common/Core/vtkGarbageCollector.h @@ -178,7 +178,6 @@ private: friend void VTKCOMMONCORE_EXPORT vtkGarbageCollectorReportInternal( vtkGarbageCollector*, vtkObjectBase*, void*, const char*); -private: vtkGarbageCollector(const vtkGarbageCollector&) = delete; void operator=(const vtkGarbageCollector&) = delete; }; diff --git a/Common/Core/vtkIdListCollection.h b/Common/Core/vtkIdListCollection.h index f02b4260a2e..ba0b086ff81 100644 --- a/Common/Core/vtkIdListCollection.h +++ b/Common/Core/vtkIdListCollection.h @@ -68,7 +68,6 @@ private: // hide the standard AddItem from the user and the compiler. void AddItem(vtkObject* o) { this->vtkCollection::AddItem(o); } -private: vtkIdListCollection(const vtkIdListCollection&) = delete; void operator=(const vtkIdListCollection&) = delete; }; diff --git a/Common/Core/vtkInformation.h b/Common/Core/vtkInformation.h index e429caa0d33..c5785f66e00 100644 --- a/Common/Core/vtkInformation.h +++ b/Common/Core/vtkInformation.h @@ -458,7 +458,6 @@ private: friend class vtkInformationKeyToInformationFriendship; friend class vtkInformationIterator; -private: vtkInformation(const vtkInformation&) = delete; void operator=(const vtkInformation&) = delete; vtkInformationRequestKey* Request; diff --git a/Common/Core/vtkObjectFactory.h b/Common/Core/vtkObjectFactory.h index 16a01acbb86..a8ecfd650d6 100644 --- a/Common/Core/vtkObjectFactory.h +++ b/Common/Core/vtkObjectFactory.h @@ -265,7 +265,6 @@ private: char* LibraryVTKVersion; char* LibraryPath; -private: vtkObjectFactory(const vtkObjectFactory&) = delete; void operator=(const vtkObjectFactory&) = delete; }; diff --git a/Common/Core/vtkObjectFactoryCollection.h b/Common/Core/vtkObjectFactoryCollection.h index bb8d2f3b911..ed13435d95a 100644 --- a/Common/Core/vtkObjectFactoryCollection.h +++ b/Common/Core/vtkObjectFactoryCollection.h @@ -70,7 +70,6 @@ private: // hide the standard AddItem from the user and the compiler. void AddItem(vtkObject* o) { this->vtkCollection::AddItem(o); } -private: vtkObjectFactoryCollection(const vtkObjectFactoryCollection&) = delete; void operator=(const vtkObjectFactoryCollection&) = delete; }; diff --git a/Common/Core/vtkOutputWindow.h b/Common/Core/vtkOutputWindow.h index fb80340c867..43d312e4728 100644 --- a/Common/Core/vtkOutputWindow.h +++ b/Common/Core/vtkOutputWindow.h @@ -182,7 +182,6 @@ private: friend class vtkOutputWindowPrivateAccessor; -private: vtkOutputWindow(const vtkOutputWindow&) = delete; void operator=(const vtkOutputWindow&) = delete; }; diff --git a/Common/Core/vtkOverrideInformation.h b/Common/Core/vtkOverrideInformation.h index 89e11f70c4f..7a76d982ae6 100644 --- a/Common/Core/vtkOverrideInformation.h +++ b/Common/Core/vtkOverrideInformation.h @@ -98,7 +98,6 @@ private: char* Description; vtkObjectFactory* ObjectFactory; -private: vtkOverrideInformation(const vtkOverrideInformation&) = delete; void operator=(const vtkOverrideInformation&) = delete; }; diff --git a/Common/Core/vtkOverrideInformationCollection.h b/Common/Core/vtkOverrideInformationCollection.h index 5a7867f31f0..fdd6aed6eee 100644 --- a/Common/Core/vtkOverrideInformationCollection.h +++ b/Common/Core/vtkOverrideInformationCollection.h @@ -65,7 +65,6 @@ private: // hide the standard AddItem from the user and the compiler. void AddItem(vtkObject* o) { this->vtkCollection::AddItem(o); } -private: vtkOverrideInformationCollection(const vtkOverrideInformationCollection&) = delete; void operator=(const vtkOverrideInformationCollection&) = delete; }; diff --git a/Common/DataModel/vtkAMRBox.h b/Common/DataModel/vtkAMRBox.h index 4d04c5db2b3..a2e79db47fc 100644 --- a/Common/DataModel/vtkAMRBox.h +++ b/Common/DataModel/vtkAMRBox.h @@ -271,7 +271,6 @@ public: */ void RemoveGhosts(int r); -public: /** * Returns the number of bytes allocated by this instance. In addition, * this number of bytes corresponds to the buffer size required to serialize diff --git a/Common/DataModel/vtkDataObject.h b/Common/DataModel/vtkDataObject.h index 78ca28ee7fd..4439b7516c4 100644 --- a/Common/DataModel/vtkDataObject.h +++ b/Common/DataModel/vtkDataObject.h @@ -446,7 +446,6 @@ private: // Helper method for the ShallowCopy and DeepCopy methods. void InternalDataObjectCopy(vtkDataObject* src); -private: vtkDataObject(const vtkDataObject&) = delete; void operator=(const vtkDataObject&) = delete; }; diff --git a/Common/DataModel/vtkDataObjectCollection.h b/Common/DataModel/vtkDataObjectCollection.h index 901d8fbd8b3..166d6fd6de8 100644 --- a/Common/DataModel/vtkDataObjectCollection.h +++ b/Common/DataModel/vtkDataObjectCollection.h @@ -68,7 +68,6 @@ private: // hide the standard AddItem from the user and the compiler. void AddItem(vtkObject* o) { this->vtkCollection::AddItem(o); } -private: vtkDataObjectCollection(const vtkDataObjectCollection&) = delete; void operator=(const vtkDataObjectCollection&) = delete; }; diff --git a/Common/DataModel/vtkDataSet.h b/Common/DataModel/vtkDataSet.h index e3ea7dc38f8..59ed9616f04 100644 --- a/Common/DataModel/vtkDataSet.h +++ b/Common/DataModel/vtkDataSet.h @@ -572,7 +572,6 @@ private: static void OnDataModified( vtkObject* source, unsigned long eid, void* clientdata, void* calldata); -private: vtkDataSet(const vtkDataSet&) = delete; void operator=(const vtkDataSet&) = delete; }; diff --git a/Common/DataModel/vtkDataSetAttributes.h b/Common/DataModel/vtkDataSetAttributes.h index 432c5fcb8d9..53fec9fa49e 100644 --- a/Common/DataModel/vtkDataSetAttributes.h +++ b/Common/DataModel/vtkDataSetAttributes.h @@ -673,7 +673,6 @@ private: vtkFieldData::BasicIterator ComputeRequiredArrays(vtkDataSetAttributes* pd, int ctype); -private: vtkDataSetAttributes(const vtkDataSetAttributes&) = delete; void operator=(const vtkDataSetAttributes&) = delete; diff --git a/Common/DataModel/vtkDataSetCollection.h b/Common/DataModel/vtkDataSetCollection.h index 0792a2bb84b..d5a1e227b00 100644 --- a/Common/DataModel/vtkDataSetCollection.h +++ b/Common/DataModel/vtkDataSetCollection.h @@ -74,7 +74,6 @@ private: // hide the standard AddItem from the user and the compiler. void AddItem(vtkObject* o) { this->vtkCollection::AddItem(o); } -private: vtkDataSetCollection(const vtkDataSetCollection&) = delete; void operator=(const vtkDataSetCollection&) = delete; }; diff --git a/Common/DataModel/vtkImageData.h b/Common/DataModel/vtkImageData.h index bcc9415959a..0b3e8543417 100644 --- a/Common/DataModel/vtkImageData.h +++ b/Common/DataModel/vtkImageData.h @@ -641,7 +641,6 @@ protected: private: void InternalImageDataCopy(vtkImageData* src); -private: friend class vtkUniformGrid; // for the GetCell method diff --git a/Common/DataModel/vtkImplicitFunctionCollection.h b/Common/DataModel/vtkImplicitFunctionCollection.h index 91cf495b4f7..5f379fe1d00 100644 --- a/Common/DataModel/vtkImplicitFunctionCollection.h +++ b/Common/DataModel/vtkImplicitFunctionCollection.h @@ -67,7 +67,6 @@ private: // hide the standard AddItem from the user and the compiler. void AddItem(vtkObject* o) { this->vtkCollection::AddItem(o); } -private: vtkImplicitFunctionCollection(const vtkImplicitFunctionCollection&) = delete; void operator=(const vtkImplicitFunctionCollection&) = delete; }; diff --git a/Common/DataModel/vtkImplicitSelectionLoop.h b/Common/DataModel/vtkImplicitSelectionLoop.h index 1fa2322dd2f..d3650ffb5be 100644 --- a/Common/DataModel/vtkImplicitSelectionLoop.h +++ b/Common/DataModel/vtkImplicitSelectionLoop.h @@ -138,7 +138,6 @@ private: vtkTimeStamp InitializationTime; -private: vtkImplicitSelectionLoop(const vtkImplicitSelectionLoop&) = delete; void operator=(const vtkImplicitSelectionLoop&) = delete; }; diff --git a/Common/DataModel/vtkKdTree.h b/Common/DataModel/vtkKdTree.h index 61801548567..5ca2a221f56 100644 --- a/Common/DataModel/vtkKdTree.h +++ b/Common/DataModel/vtkKdTree.h @@ -751,7 +751,6 @@ protected: vtkGetMacro(Progress, double); ///@} -protected: // So that each suboperation can report progress // in [0,1], yet we will be able to report a global // progress. Sub-operations must use UpdateSubOperationProgress() diff --git a/Common/DataModel/vtkOrderedTriangulator.h b/Common/DataModel/vtkOrderedTriangulator.h index 3cc840ff1d8..14e20e5f64f 100644 --- a/Common/DataModel/vtkOrderedTriangulator.h +++ b/Common/DataModel/vtkOrderedTriangulator.h @@ -359,7 +359,6 @@ private: void AddTemplate(); TemplateIDType ComputeTemplateIndex(); -private: vtkOrderedTriangulator(const vtkOrderedTriangulator&) = delete; void operator=(const vtkOrderedTriangulator&) = delete; }; diff --git a/Common/DataModel/vtkPlaneCollection.h b/Common/DataModel/vtkPlaneCollection.h index ca8f23043e0..0f359916f99 100644 --- a/Common/DataModel/vtkPlaneCollection.h +++ b/Common/DataModel/vtkPlaneCollection.h @@ -67,7 +67,6 @@ private: // hide the standard AddItem from the user and the compiler. void AddItem(vtkObject* o) { this->vtkCollection::AddItem(o); } -private: vtkPlaneCollection(const vtkPlaneCollection&) = delete; void operator=(const vtkPlaneCollection&) = delete; }; diff --git a/Common/DataModel/vtkPlanes.h b/Common/DataModel/vtkPlanes.h index 974057dc16f..4c427506261 100644 --- a/Common/DataModel/vtkPlanes.h +++ b/Common/DataModel/vtkPlanes.h @@ -138,7 +138,6 @@ private: double Planes[24]; double Bounds[6]; -private: vtkPlanes(const vtkPlanes&) = delete; void operator=(const vtkPlanes&) = delete; }; diff --git a/Common/DataModel/vtkPolyData.h b/Common/DataModel/vtkPolyData.h index 46b6eb0b921..70ef0b8ec93 100644 --- a/Common/DataModel/vtkPolyData.h +++ b/Common/DataModel/vtkPolyData.h @@ -754,7 +754,6 @@ protected: private: void Cleanup(); -private: vtkPolyData(const vtkPolyData&) = delete; void operator=(const vtkPolyData&) = delete; }; diff --git a/Common/DataModel/vtkPolyDataCollection.h b/Common/DataModel/vtkPolyDataCollection.h index 5068be9fa46..2b0083f27ae 100644 --- a/Common/DataModel/vtkPolyDataCollection.h +++ b/Common/DataModel/vtkPolyDataCollection.h @@ -66,7 +66,6 @@ private: // hide the standard AddItem from the user and the compiler. void AddItem(vtkObject* o) { this->vtkCollection::AddItem(o); } -private: vtkPolyDataCollection(const vtkPolyDataCollection&) = delete; void operator=(const vtkPolyDataCollection&) = delete; }; diff --git a/Common/DataModel/vtkRectilinearGrid.h b/Common/DataModel/vtkRectilinearGrid.h index 9bcee5008c0..d78cd3e002e 100644 --- a/Common/DataModel/vtkRectilinearGrid.h +++ b/Common/DataModel/vtkRectilinearGrid.h @@ -316,7 +316,6 @@ protected: private: void Cleanup(); -private: vtkRectilinearGrid(const vtkRectilinearGrid&) = delete; void operator=(const vtkRectilinearGrid&) = delete; }; diff --git a/Common/DataModel/vtkStructuredGrid.h b/Common/DataModel/vtkStructuredGrid.h index 5d9c447d3e9..482cfa7f4ca 100644 --- a/Common/DataModel/vtkStructuredGrid.h +++ b/Common/DataModel/vtkStructuredGrid.h @@ -279,7 +279,6 @@ private: // Internal method used by DeepCopy and ShallowCopy. void InternalStructuredGridCopy(vtkStructuredGrid* src); -private: vtkStructuredGrid(const vtkStructuredGrid&) = delete; void operator=(const vtkStructuredGrid&) = delete; }; diff --git a/Common/DataModel/vtkStructuredPointsCollection.h b/Common/DataModel/vtkStructuredPointsCollection.h index ad8e65e4a3f..02855a59119 100644 --- a/Common/DataModel/vtkStructuredPointsCollection.h +++ b/Common/DataModel/vtkStructuredPointsCollection.h @@ -67,7 +67,6 @@ private: // hide the standard AddItem from the user and the compiler. void AddItem(vtkObject* o) { this->vtkCollection::AddItem(o); } -private: vtkStructuredPointsCollection(const vtkStructuredPointsCollection&) = delete; void operator=(const vtkStructuredPointsCollection&) = delete; }; diff --git a/Common/ExecutionModel/vtkAlgorithm.h b/Common/ExecutionModel/vtkAlgorithm.h index bd88b761709..7a5b4e95c35 100644 --- a/Common/ExecutionModel/vtkAlgorithm.h +++ b/Common/ExecutionModel/vtkAlgorithm.h @@ -944,7 +944,6 @@ private: static void ConnectionRemoveAllInput(vtkAlgorithm* consumer, int port); static void ConnectionRemoveAllOutput(vtkAlgorithm* producer, int port); -private: vtkAlgorithm(const vtkAlgorithm&) = delete; void operator=(const vtkAlgorithm&) = delete; diff --git a/Common/ExecutionModel/vtkExecutive.h b/Common/ExecutionModel/vtkExecutive.h index 2626639144e..7de76d6e7a6 100644 --- a/Common/ExecutionModel/vtkExecutive.h +++ b/Common/ExecutionModel/vtkExecutive.h @@ -289,7 +289,6 @@ private: friend class vtkAlgorithmToExecutiveFriendship; -private: vtkExecutive(const vtkExecutive&) = delete; void operator=(const vtkExecutive&) = delete; }; diff --git a/Common/ExecutionModel/vtkSimpleScalarTree.h b/Common/ExecutionModel/vtkSimpleScalarTree.h index 5c4ebf6ac1d..77f748c5c36 100644 --- a/Common/ExecutionModel/vtkSimpleScalarTree.h +++ b/Common/ExecutionModel/vtkSimpleScalarTree.h @@ -169,7 +169,6 @@ private: vtkIdType* CandidateCells; // to support parallel computing vtkIdType NumCandidates; -private: vtkSimpleScalarTree(const vtkSimpleScalarTree&) = delete; void operator=(const vtkSimpleScalarTree&) = delete; }; diff --git a/Common/ExecutionModel/vtkSpanSpace.h b/Common/ExecutionModel/vtkSpanSpace.h index 2afa27d4dba..01bc33b2bda 100644 --- a/Common/ExecutionModel/vtkSpanSpace.h +++ b/Common/ExecutionModel/vtkSpanSpace.h @@ -210,7 +210,6 @@ private: vtkIdType CurrentIdx; // position into the current span row vtkIdType CurrentNumCells; // number of cells on the current span row -private: vtkSpanSpace(const vtkSpanSpace&) = delete; void operator=(const vtkSpanSpace&) = delete; }; diff --git a/Common/System/vtkDirectory.h b/Common/System/vtkDirectory.h index d17fd5ff136..59fa0055d47 100644 --- a/Common/System/vtkDirectory.h +++ b/Common/System/vtkDirectory.h @@ -117,7 +117,6 @@ private: static int CreateDirectoryInternal(const char* dir); -private: vtkDirectory(const vtkDirectory&) = delete; void operator=(const vtkDirectory&) = delete; }; diff --git a/Common/System/vtkSocketCollection.h b/Common/System/vtkSocketCollection.h index eba4503dd56..7e2bbc9f26e 100644 --- a/Common/System/vtkSocketCollection.h +++ b/Common/System/vtkSocketCollection.h @@ -73,7 +73,6 @@ private: // Hide the standard AddItem. void AddItem(vtkObject* o) { this->Superclass::AddItem(o); } -private: vtkSocketCollection(const vtkSocketCollection&) = delete; void operator=(const vtkSocketCollection&) = delete; }; diff --git a/Common/Transforms/vtkAbstractTransform.h b/Common/Transforms/vtkAbstractTransform.h index e9c9c2e63aa..d8c8a539ad6 100644 --- a/Common/Transforms/vtkAbstractTransform.h +++ b/Common/Transforms/vtkAbstractTransform.h @@ -345,7 +345,6 @@ private: int InUnRegister; -private: vtkAbstractTransform(const vtkAbstractTransform&) = delete; void operator=(const vtkAbstractTransform&) = delete; }; diff --git a/Common/Transforms/vtkTransformCollection.h b/Common/Transforms/vtkTransformCollection.h index e14fb570609..2a29e1dfd76 100644 --- a/Common/Transforms/vtkTransformCollection.h +++ b/Common/Transforms/vtkTransformCollection.h @@ -68,7 +68,6 @@ private: // hide the standard AddItem from the user and the compiler. void AddItem(vtkObject* o) { this->vtkCollection::AddItem(o); } -private: vtkTransformCollection(const vtkTransformCollection&) = delete; void operator=(const vtkTransformCollection&) = delete; }; diff --git a/Domains/Chemistry/vtkBlueObeliskData.h b/Domains/Chemistry/vtkBlueObeliskData.h index e4df335d8ea..e9ed6faa7a5 100644 --- a/Domains/Chemistry/vtkBlueObeliskData.h +++ b/Domains/Chemistry/vtkBlueObeliskData.h @@ -133,7 +133,6 @@ protected: vtkBlueObeliskData(); ~vtkBlueObeliskData() override; -protected: bool Initialized; /** diff --git a/Filters/Core/vtkAppendPolyData.h b/Filters/Core/vtkAppendPolyData.h index 06816ef0ce5..dec722bba8b 100644 --- a/Filters/Core/vtkAppendPolyData.h +++ b/Filters/Core/vtkAppendPolyData.h @@ -152,7 +152,6 @@ private: vtkTypeBool UserManagedInputs; -private: vtkAppendPolyData(const vtkAppendPolyData&) = delete; void operator=(const vtkAppendPolyData&) = delete; }; diff --git a/Filters/Core/vtkAppendSelection.h b/Filters/Core/vtkAppendSelection.h index 0729bbe2e9e..d325eb47651 100644 --- a/Filters/Core/vtkAppendSelection.h +++ b/Filters/Core/vtkAppendSelection.h @@ -213,7 +213,6 @@ private: class vtkInternals; std::unique_ptr<vtkInternals> Internals; -private: vtkAppendSelection(const vtkAppendSelection&) = delete; void operator=(const vtkAppendSelection&) = delete; }; diff --git a/Filters/Core/vtkConnectivityFilter.h b/Filters/Core/vtkConnectivityFilter.h index 4469a964cf6..be0ed294d48 100644 --- a/Filters/Core/vtkConnectivityFilter.h +++ b/Filters/Core/vtkConnectivityFilter.h @@ -265,7 +265,6 @@ private: vtkIdList* PointIds; vtkIdList* CellIds; -private: vtkConnectivityFilter(const vtkConnectivityFilter&) = delete; void operator=(const vtkConnectivityFilter&) = delete; }; diff --git a/Filters/Core/vtkDecimatePro.h b/Filters/Core/vtkDecimatePro.h index 5224b99ad5c..1b5de0bf9cf 100644 --- a/Filters/Core/vtkDecimatePro.h +++ b/Filters/Core/vtkDecimatePro.h @@ -425,7 +425,6 @@ private: int SplitState; // State of the splitting process double Error; // Maximum allowable surface error -private: vtkDecimatePro(const vtkDecimatePro&) = delete; void operator=(const vtkDecimatePro&) = delete; }; diff --git a/Filters/Core/vtkDelaunay2D.h b/Filters/Core/vtkDelaunay2D.h index b223bdfb784..11083164b30 100644 --- a/Filters/Core/vtkDelaunay2D.h +++ b/Filters/Core/vtkDelaunay2D.h @@ -328,7 +328,6 @@ private: int FillInputPortInformation(int, vtkInformation*) override; -private: vtkDelaunay2D(const vtkDelaunay2D&) = delete; void operator=(const vtkDelaunay2D&) = delete; }; diff --git a/Filters/Core/vtkDelaunay3D.h b/Filters/Core/vtkDelaunay3D.h index 758a2a7ff37..ed75e3038a4 100644 --- a/Filters/Core/vtkDelaunay3D.h +++ b/Filters/Core/vtkDelaunay3D.h @@ -303,7 +303,6 @@ private: // members added for performance vtkIdList* Faces; // used in InsertPoint vtkIdList* CheckedTetras; // used by InsertPoint -private: vtkDelaunay3D(const vtkDelaunay3D&) = delete; void operator=(const vtkDelaunay3D&) = delete; }; diff --git a/Filters/Core/vtkPolyDataNormals.h b/Filters/Core/vtkPolyDataNormals.h index b6c42cf4b58..ad088928617 100644 --- a/Filters/Core/vtkPolyDataNormals.h +++ b/Filters/Core/vtkPolyDataNormals.h @@ -214,7 +214,6 @@ private: void ExecuteMarkAndSplit(vtkPolyData* oldMesh, vtkPolyData* newMesh, vtkFloatArray* cellNormals, vtkIdList* map, vtkIdType numPoints, vtkIdType numPolys, double cosAngle); -private: vtkPolyDataNormals(const vtkPolyDataNormals&) = delete; void operator=(const vtkPolyDataNormals&) = delete; }; diff --git a/Filters/FlowPaths/vtkTemporalInterpolatedVelocityField.h b/Filters/FlowPaths/vtkTemporalInterpolatedVelocityField.h index 063e5001a9a..f2e45f11570 100644 --- a/Filters/FlowPaths/vtkTemporalInterpolatedVelocityField.h +++ b/Filters/FlowPaths/vtkTemporalInterpolatedVelocityField.h @@ -274,7 +274,6 @@ private: // function prototype virtual void AddDataSet(vtkDataSet*) {} -private: vtkTemporalInterpolatedVelocityField(const vtkTemporalInterpolatedVelocityField&) = delete; void operator=(const vtkTemporalInterpolatedVelocityField&) = delete; }; diff --git a/Filters/General/vtkClipVolume.h b/Filters/General/vtkClipVolume.h index 1e856776672..4ffaca8bab7 100644 --- a/Filters/General/vtkClipVolume.h +++ b/Filters/General/vtkClipVolume.h @@ -234,7 +234,6 @@ private: vtkCellArray* ClippedConnectivity; vtkUnsignedCharArray* ClippedTypes; -private: vtkClipVolume(const vtkClipVolume&) = delete; void operator=(const vtkClipVolume&) = delete; }; diff --git a/Filters/General/vtkEqualizerFilter.h b/Filters/General/vtkEqualizerFilter.h index 0c77da5308e..ff320543361 100644 --- a/Filters/General/vtkEqualizerFilter.h +++ b/Filters/General/vtkEqualizerFilter.h @@ -91,7 +91,6 @@ private: void ProcessColumn( vtkDataArray* array, vtkTable* spectrumTable, vtkTable* resultTable, vtkTable* normalizedTable); -private: vtkEqualizerFilter(const vtkEqualizerFilter&) = delete; void operator=(const vtkEqualizerFilter&) = delete; diff --git a/Filters/General/vtkRemovePolyData.h b/Filters/General/vtkRemovePolyData.h index 164549d5e2b..019686cba2c 100644 --- a/Filters/General/vtkRemovePolyData.h +++ b/Filters/General/vtkRemovePolyData.h @@ -129,7 +129,6 @@ private: vtkIdTypeArray* PointIds; bool ExactMatch; -private: vtkRemovePolyData(const vtkRemovePolyData&) = delete; void operator=(const vtkRemovePolyData&) = delete; }; diff --git a/Filters/Hybrid/vtkImageToPolyDataFilter.h b/Filters/Hybrid/vtkImageToPolyDataFilter.h index 4e95664a867..0a9a7fc4f5d 100644 --- a/Filters/Hybrid/vtkImageToPolyDataFilter.h +++ b/Filters/Hybrid/vtkImageToPolyDataFilter.h @@ -246,7 +246,6 @@ private: unsigned char* GetColor(unsigned char* rgb); int IsSameColor(unsigned char* p1, unsigned char* p2); -private: vtkImageToPolyDataFilter(const vtkImageToPolyDataFilter&) = delete; void operator=(const vtkImageToPolyDataFilter&) = delete; }; diff --git a/Filters/Modeling/vtkButterflySubdivisionFilter.h b/Filters/Modeling/vtkButterflySubdivisionFilter.h index 939cea72300..eb99854baa2 100644 --- a/Filters/Modeling/vtkButterflySubdivisionFilter.h +++ b/Filters/Modeling/vtkButterflySubdivisionFilter.h @@ -80,7 +80,6 @@ private: void GenerateBoundaryStencil( vtkIdType p1, vtkIdType p2, vtkPolyData* polys, vtkIdList* stencilIds, double* weights); -private: vtkButterflySubdivisionFilter(const vtkButterflySubdivisionFilter&) = delete; void operator=(const vtkButterflySubdivisionFilter&) = delete; }; diff --git a/Filters/Modeling/vtkRuledSurfaceFilter.h b/Filters/Modeling/vtkRuledSurfaceFilter.h index c2c93758893..219274e8c0b 100644 --- a/Filters/Modeling/vtkRuledSurfaceFilter.h +++ b/Filters/Modeling/vtkRuledSurfaceFilter.h @@ -192,7 +192,6 @@ private: void PointWalk(vtkPolyData* output, vtkPoints* inPts, int npts, const vtkIdType* pts, int npts2, const vtkIdType* pts2); -private: vtkRuledSurfaceFilter(const vtkRuledSurfaceFilter&) = delete; void operator=(const vtkRuledSurfaceFilter&) = delete; }; diff --git a/Filters/Modeling/vtkSelectPolyData.h b/Filters/Modeling/vtkSelectPolyData.h index b92c1263752..27705d00df5 100644 --- a/Filters/Modeling/vtkSelectPolyData.h +++ b/Filters/Modeling/vtkSelectPolyData.h @@ -269,7 +269,6 @@ private: // edgePointIds (as direct neighbors). static bool IsBoundaryEdge(vtkIdType pointId1, vtkIdType pointId2, vtkIdList* edgePointIds); -private: vtkSelectPolyData(const vtkSelectPolyData&) = delete; void operator=(const vtkSelectPolyData&) = delete; }; diff --git a/Filters/ParallelGeometry/vtkPDistributedDataFilter.h b/Filters/ParallelGeometry/vtkPDistributedDataFilter.h index 42413cd90d4..28eac1b9c99 100644 --- a/Filters/ParallelGeometry/vtkPDistributedDataFilter.h +++ b/Filters/ParallelGeometry/vtkPDistributedDataFilter.h @@ -385,7 +385,6 @@ private: static vtkUnstructuredGrid* MergeGrids(vtkDataSet** sets, int nsets, int deleteDataSets, int useGlobalNodeIds, float pointMergeTolerance, int useGlobalCellIds); -private: vtkPDistributedDataFilter(const vtkPDistributedDataFilter&) = delete; void operator=(const vtkPDistributedDataFilter&) = delete; }; diff --git a/Filters/Points/vtkConnectedPointsFilter.h b/Filters/Points/vtkConnectedPointsFilter.h index 2d659060c4a..b703bb3f963 100644 --- a/Filters/Points/vtkConnectedPointsFilter.h +++ b/Filters/Points/vtkConnectedPointsFilter.h @@ -258,7 +258,6 @@ private: vtkIdList* Wave; vtkIdList* Wave2; -private: vtkConnectedPointsFilter(const vtkConnectedPointsFilter&) = delete; void operator=(const vtkConnectedPointsFilter&) = delete; }; diff --git a/Filters/Programmable/vtkProgrammableAttributeDataFilter.h b/Filters/Programmable/vtkProgrammableAttributeDataFilter.h index c13e4add078..bed3082a6e4 100644 --- a/Filters/Programmable/vtkProgrammableAttributeDataFilter.h +++ b/Filters/Programmable/vtkProgrammableAttributeDataFilter.h @@ -146,7 +146,6 @@ private: vtkErrorMacro(<< "AddInput() must be called with a vtkDataSet not a vtkDataObject."); } -private: vtkProgrammableAttributeDataFilter(const vtkProgrammableAttributeDataFilter&) = delete; void operator=(const vtkProgrammableAttributeDataFilter&) = delete; }; diff --git a/Filters/Sources/vtkHyperTreeGridSource.h b/Filters/Sources/vtkHyperTreeGridSource.h index f5ad111ef1f..613b36a5b45 100644 --- a/Filters/Sources/vtkHyperTreeGridSource.h +++ b/Filters/Sources/vtkHyperTreeGridSource.h @@ -295,7 +295,6 @@ protected: double GridScale[3]; unsigned int Dimension; -protected: unsigned int Dimensions[3]; bool TransposedRootIndexing; unsigned int MaxDepth; diff --git a/Filters/Statistics/vtkHighestDensityRegionsStatistics.h b/Filters/Statistics/vtkHighestDensityRegionsStatistics.h index 4ea134624e5..c8488f30075 100644 --- a/Filters/Statistics/vtkHighestDensityRegionsStatistics.h +++ b/Filters/Statistics/vtkHighestDensityRegionsStatistics.h @@ -144,7 +144,6 @@ private: */ double ComputeSmoothGaussianKernel(int dimension, double khx, double khy); -private: vtkHighestDensityRegionsStatistics(const vtkHighestDensityRegionsStatistics&) = delete; void operator=(const vtkHighestDensityRegionsStatistics&) = delete; }; diff --git a/GUISupport/Qt/QVTKInteractorInternal.h b/GUISupport/Qt/QVTKInteractorInternal.h index 03aac88a1d7..0e4c5082169 100644 --- a/GUISupport/Qt/QVTKInteractorInternal.h +++ b/GUISupport/Qt/QVTKInteractorInternal.h @@ -49,10 +49,10 @@ class QVTKInteractorInternal : public QObject public: QVTKInteractorInternal(QVTKInteractor* p); ~QVTKInteractorInternal() override; -public Q_SLOTS: +public Q_SLOTS: // NOLINT(readability-redundant-access-specifiers) void TimerEvent(int id); -public: +public: // NOLINT(readability-redundant-access-specifiers) QSignalMapper* SignalMapper; typedef std::map<int, QTimer*> TimerMap; TimerMap Timers; diff --git a/GUISupport/Qt/QVTKOpenGLNativeWidget.h b/GUISupport/Qt/QVTKOpenGLNativeWidget.h index 54761c8b373..97cdf284894 100644 --- a/GUISupport/Qt/QVTKOpenGLNativeWidget.h +++ b/GUISupport/Qt/QVTKOpenGLNativeWidget.h @@ -220,12 +220,11 @@ protected Q_SLOTS: void updateSize(); -protected: +protected: // NOLINT(readability-redundant-access-specifiers) bool event(QEvent* evt) override; void initializeGL() override; void paintGL() override; -protected: vtkSmartPointer<vtkGenericOpenGLRenderWindow> RenderWindow; QScopedPointer<QVTKRenderWindowAdapter> RenderWindowAdapter; diff --git a/GUISupport/Qt/QVTKOpenGLWindow.h b/GUISupport/Qt/QVTKOpenGLWindow.h index 8211ba92a21..d89dd8785b9 100644 --- a/GUISupport/Qt/QVTKOpenGLWindow.h +++ b/GUISupport/Qt/QVTKOpenGLWindow.h @@ -176,13 +176,12 @@ protected Q_SLOTS: */ friend class QVTKOpenGLStereoWidget; -protected: +protected: // NOLINT(readability-redundant-access-specifiers) bool event(QEvent* evt) override; void initializeGL() override; void paintGL() override; void resizeGL(int w, int h) override; -protected: vtkSmartPointer<vtkGenericOpenGLRenderWindow> RenderWindow; QScopedPointer<QVTKRenderWindowAdapter> RenderWindowAdapter; diff --git a/GUISupport/Qt/QVTKRenderWindowAdapter.h b/GUISupport/Qt/QVTKRenderWindowAdapter.h index 6793dd22462..3d79731423b 100644 --- a/GUISupport/Qt/QVTKRenderWindowAdapter.h +++ b/GUISupport/Qt/QVTKRenderWindowAdapter.h @@ -184,7 +184,7 @@ public: private Q_SLOTS: void contextAboutToBeDestroyed(); -private: +private: // NOLINT(readability-redundant-access-specifiers) QVTKRenderWindowAdapter( QOpenGLContext* cntxt, vtkGenericOpenGLRenderWindow* window, QObject* widgetOrWindow); Q_DISABLE_COPY(QVTKRenderWindowAdapter); diff --git a/GUISupport/Qt/QVTKTableModelAdapter.h b/GUISupport/Qt/QVTKTableModelAdapter.h index 621136f86d4..bbcbde5c07c 100644 --- a/GUISupport/Qt/QVTKTableModelAdapter.h +++ b/GUISupport/Qt/QVTKTableModelAdapter.h @@ -104,7 +104,7 @@ protected: QPointer<QAbstractItemModel> ItemModel; vtkNew<vtkTable> Table; -protected Q_SLOTS: +protected Q_SLOTS: // NOLINT(readability-redundant-access-specifiers) virtual void onModified(); virtual void onModelReset(); virtual void onDataChanged( diff --git a/GUISupport/Qt/Testing/Cxx/QVTKTableModelAdapterTestClass.h b/GUISupport/Qt/Testing/Cxx/QVTKTableModelAdapterTestClass.h index 58475982bc8..d40c195297d 100644 --- a/GUISupport/Qt/Testing/Cxx/QVTKTableModelAdapterTestClass.h +++ b/GUISupport/Qt/Testing/Cxx/QVTKTableModelAdapterTestClass.h @@ -48,7 +48,7 @@ public: bool setData(const QModelIndex& index, const QVariant& value, int role) override; QVariant headerData(int section, Qt::Orientation orientation, int role) const override; -public Q_SLOTS: +public Q_SLOTS: // NOLINT(readability-redundant-access-specifiers) void runTests(); protected: diff --git a/GUISupport/Qt/vtkQtConnection.h b/GUISupport/Qt/vtkQtConnection.h index 50b40d1a9e6..2dc29bb8d4c 100644 --- a/GUISupport/Qt/vtkQtConnection.h +++ b/GUISupport/Qt/vtkQtConnection.h @@ -77,7 +77,7 @@ Q_SIGNALS: protected Q_SLOTS: void deleteConnection(); -protected: +protected: // NOLINT(readability-redundant-access-specifiers) // the connection information vtkObject* VTKObject; vtkCallbackCommand* Callback; diff --git a/GUISupport/Qt/vtkQtDebugLeaksView.h b/GUISupport/Qt/vtkQtDebugLeaksView.h index 71b7b110a16..0776156e22d 100644 --- a/GUISupport/Qt/vtkQtDebugLeaksView.h +++ b/GUISupport/Qt/vtkQtDebugLeaksView.h @@ -69,7 +69,7 @@ protected: virtual void onObjectDoubleClicked(vtkObjectBase* object); virtual void onClassNameDoubleClicked(const QString& className); -protected Q_SLOTS: +protected Q_SLOTS: // NOLINT(readability-redundant-access-specifiers) void onCurrentRowChanged(const QModelIndex& current); void onRowDoubleClicked(const QModelIndex&); diff --git a/GUISupport/QtQuick/QQuickVTKInteractiveWidget.h b/GUISupport/QtQuick/QQuickVTKInteractiveWidget.h index aace0be340a..2612eb1465e 100644 --- a/GUISupport/QtQuick/QQuickVTKInteractiveWidget.h +++ b/GUISupport/QtQuick/QQuickVTKInteractiveWidget.h @@ -65,7 +65,7 @@ public: bool enabled() const; ///@} -public Q_SLOTS: +public Q_SLOTS: // NOLINT(readability-redundant-access-specifiers) virtual void sync(vtkRenderer* ren); Q_SIGNALS: diff --git a/GUISupport/QtQuick/QQuickVTKItem.h b/GUISupport/QtQuick/QQuickVTKItem.h index ee88ddcaca5..2779fc4aae8 100644 --- a/GUISupport/QtQuick/QQuickVTKItem.h +++ b/GUISupport/QtQuick/QQuickVTKItem.h @@ -136,10 +136,8 @@ public: protected: void scheduleRender(); -protected: bool event(QEvent*) override; -protected: QSGNode* updatePaintNode(QSGNode*, UpdatePaintNodeData*) override; bool isTextureProvider() const override; QSGTextureProvider* textureProvider() const override; @@ -148,7 +146,7 @@ protected: private Q_SLOTS: void invalidateSceneGraph(); -private: +private: // NOLINT(readability-redundant-access-specifiers) Q_DISABLE_COPY(QQuickVTKItem) Q_DECLARE_PRIVATE_D(_d_ptr, QQuickVTKItem) QScopedPointer<QQuickVTKItemPrivate> _d_ptr; diff --git a/GUISupport/QtQuick/QQuickVTKRenderItem.h b/GUISupport/QtQuick/QQuickVTKRenderItem.h index ebbb3a097ce..bed92d1ad29 100644 --- a/GUISupport/QtQuick/QQuickVTKRenderItem.h +++ b/GUISupport/QtQuick/QQuickVTKRenderItem.h @@ -202,7 +202,7 @@ public: virtual void removeWidgetByName(QString name); ///@} -public Q_SLOTS: +public Q_SLOTS: // NOLINT(readability-redundant-access-specifiers) /** * This is the function called on the QtQuick render thread before the scenegraph state * is synchronized. This is where most of the pipeline updates, camera manipulations, etc. and @@ -240,7 +240,7 @@ public Q_SLOTS: protected Q_SLOTS: virtual void handleWindowChanged(QQuickWindow* w); -protected: +protected: // NOLINT(readability-redundant-access-specifiers) // Helper members QQuickVTKRenderWindow* m_renderWindow = nullptr; vtkNew<vtkRenderer> m_renderer; diff --git a/GUISupport/QtQuick/QQuickVTKRenderWindow.h b/GUISupport/QtQuick/QQuickVTKRenderWindow.h index d4f027ef2ae..a2abdd7e9be 100644 --- a/GUISupport/QtQuick/QQuickVTKRenderWindow.h +++ b/GUISupport/QtQuick/QQuickVTKRenderWindow.h @@ -218,7 +218,7 @@ public: */ virtual bool isInitialized() const; -public Q_SLOTS: +public Q_SLOTS: // NOLINT(readability-redundant-access-specifiers) /** * This is the function called on the QtQuick render thread before the scenegraph state * is synchronized. This is where most of the pipeline updates, camera manipulations, etc. and @@ -271,7 +271,7 @@ public Q_SLOTS: protected Q_SLOTS: virtual void handleWindowChanged(QQuickWindow* w); -protected: +protected: // NOLINT(readability-redundant-access-specifiers) QPointer<QQuickVTKInteractorAdapter> m_interactorAdapter; vtkSmartPointer<vtkGenericOpenGLRenderWindow> m_renderWindow; bool m_initialized = false; diff --git a/IO/Core/vtkGlobFileNames.h b/IO/Core/vtkGlobFileNames.h index 7f08f792cc4..f57e0a6fe40 100644 --- a/IO/Core/vtkGlobFileNames.h +++ b/IO/Core/vtkGlobFileNames.h @@ -131,7 +131,6 @@ private: vtkTypeBool Recurse; // Recurse into subdirectories vtkStringArray* FileNames; // VTK array of files -private: vtkGlobFileNames(const vtkGlobFileNames&) = delete; void operator=(const vtkGlobFileNames&) = delete; }; diff --git a/IO/Exodus/vtkModelMetadata.h b/IO/Exodus/vtkModelMetadata.h index af6d17a83b4..42d9f3a45e2 100644 --- a/IO/Exodus/vtkModelMetadata.h +++ b/IO/Exodus/vtkModelMetadata.h @@ -824,7 +824,6 @@ private: int* ElementVariableTruthTable; // (G) NumBlocks*OrigNumberOfElementVariables vtkTypeBool AllVariablesDefinedInAllBlocks; -private: vtkModelMetadata(const vtkModelMetadata&) = delete; void operator=(const vtkModelMetadata&) = delete; }; diff --git a/IO/GDAL/vtkGDALRasterReader.h b/IO/GDAL/vtkGDALRasterReader.h index 8ede270608e..96f1efb6db3 100644 --- a/IO/GDAL/vtkGDALRasterReader.h +++ b/IO/GDAL/vtkGDALRasterReader.h @@ -150,7 +150,6 @@ protected: int FillOutputPortInformation(int port, vtkInformation* info) override; -protected: int TargetDimensions[2]; std::string Projection; std::string ProjectionWKT; diff --git a/IO/HDF/vtkHDFReaderImplementation.h b/IO/HDF/vtkHDFReaderImplementation.h index 22d14b5b678..996a08385d2 100644 --- a/IO/HDF/vtkHDFReaderImplementation.h +++ b/IO/HDF/vtkHDFReaderImplementation.h @@ -139,7 +139,6 @@ protected: } }; -protected: /** * Opens the hdf5 dataset given the 'group' * and 'name'. diff --git a/IO/Image/vtkImageReader2Collection.h b/IO/Image/vtkImageReader2Collection.h index 583e956d21d..14881150124 100644 --- a/IO/Image/vtkImageReader2Collection.h +++ b/IO/Image/vtkImageReader2Collection.h @@ -62,7 +62,6 @@ private: // hide the standard AddItem from the user and the compiler. void AddItem(vtkObject* o) { this->vtkCollection::AddItem(o); } -private: vtkImageReader2Collection(const vtkImageReader2Collection&) = delete; void operator=(const vtkImageReader2Collection&) = delete; }; diff --git a/IO/Image/vtkJPEGWriter.h b/IO/Image/vtkJPEGWriter.h index 118ad3e59d8..4b5d3d8d689 100644 --- a/IO/Image/vtkJPEGWriter.h +++ b/IO/Image/vtkJPEGWriter.h @@ -93,7 +93,6 @@ private: vtkUnsignedCharArray* Result; FILE* TempFP; -private: vtkJPEGWriter(const vtkJPEGWriter&) = delete; void operator=(const vtkJPEGWriter&) = delete; }; diff --git a/IO/Import/vtkVRMLImporter.h b/IO/Import/vtkVRMLImporter.h index 742a334cce9..26b408ab4fc 100644 --- a/IO/Import/vtkVRMLImporter.h +++ b/IO/Import/vtkVRMLImporter.h @@ -169,7 +169,6 @@ private: vtkFloatArray* CurrentScalars; vtkPolyDataMapper* CurrentMapper; -private: vtkVRMLImporter(const vtkVRMLImporter&) = delete; void operator=(const vtkVRMLImporter&) = delete; }; diff --git a/IO/SegY/vtkSegYBinaryHeaderBytesPositions.h b/IO/SegY/vtkSegYBinaryHeaderBytesPositions.h index f45a25617ed..211235e062c 100644 --- a/IO/SegY/vtkSegYBinaryHeaderBytesPositions.h +++ b/IO/SegY/vtkSegYBinaryHeaderBytesPositions.h @@ -37,7 +37,6 @@ public: int MinorVersion; int FixedLengthFlag; -public: vtkSegYBinaryHeaderBytesPositions() { initDefaultValues(); } private: diff --git a/IO/SegY/vtkSegYReader.h b/IO/SegY/vtkSegYReader.h index de89b06c4c4..0957ea6d342 100644 --- a/IO/SegY/vtkSegYReader.h +++ b/IO/SegY/vtkSegYReader.h @@ -142,7 +142,6 @@ protected: int RequestDataObject(vtkInformation* request, vtkInformationVector** inputVector, vtkInformationVector* outputVector) override; -protected: vtkSegYReaderInternal* Reader; char* FileName; bool Is3D; diff --git a/IO/SegY/vtkSegYReaderInternal.h b/IO/SegY/vtkSegYReaderInternal.h index 4aed68aad64..34090e7ce9f 100644 --- a/IO/SegY/vtkSegYReaderInternal.h +++ b/IO/SegY/vtkSegYReaderInternal.h @@ -39,7 +39,6 @@ public: vtkSegYReaderInternal& operator=(const vtkSegYReaderInternal& other) = delete; ~vtkSegYReaderInternal(); -public: bool Is3DComputeParameters( int* extent, double origin[3], double spacing[3][3], int* spacingSign, bool force2D); void LoadTraces(int* extent); diff --git a/IO/SegY/vtkSegYTraceHeaderBytesPositions.h b/IO/SegY/vtkSegYTraceHeaderBytesPositions.h index d8c77b2b6de..1ed722402cd 100644 --- a/IO/SegY/vtkSegYTraceHeaderBytesPositions.h +++ b/IO/SegY/vtkSegYTraceHeaderBytesPositions.h @@ -29,7 +29,6 @@ public: int NumberSamples; int SampleInterval; -public: vtkSegYTraceHeaderBytesPositions() { initDefaultValues(); } private: diff --git a/IO/XML/vtkXMLReader.h b/IO/XML/vtkXMLReader.h index f9a838c781d..670159402f0 100644 --- a/IO/XML/vtkXMLReader.h +++ b/IO/XML/vtkXMLReader.h @@ -504,7 +504,6 @@ private: vtkDataObject* CurrentOutput; vtkInformation* CurrentOutputInformation; -private: vtkXMLReader(const vtkXMLReader&) = delete; void operator=(const vtkXMLReader&) = delete; diff --git a/IO/Xdmf2/vtkXdmfHeavyData.h b/IO/Xdmf2/vtkXdmfHeavyData.h index 5a5fa6cc496..8133577a515 100644 --- a/IO/Xdmf2/vtkXdmfHeavyData.h +++ b/IO/Xdmf2/vtkXdmfHeavyData.h @@ -51,7 +51,6 @@ public: int Stride[3]; XdmfFloat64 Time; -public: vtkXdmfHeavyData(vtkXdmfDomain* domain, vtkAlgorithm* reader); ~vtkXdmfHeavyData(); diff --git a/IO/Xdmf2/vtkXdmfReader.h b/IO/Xdmf2/vtkXdmfReader.h index f1d69258407..b47c3814c33 100644 --- a/IO/Xdmf2/vtkXdmfReader.h +++ b/IO/Xdmf2/vtkXdmfReader.h @@ -308,7 +308,6 @@ private: */ int ChooseTimeStep(vtkInformation* outInfo); -private: vtkXdmfReader(const vtkXdmfReader&) = delete; void operator=(const vtkXdmfReader&) = delete; }; diff --git a/IO/Xdmf2/vtkXdmfReaderInternal.h b/IO/Xdmf2/vtkXdmfReaderInternal.h index dbda104ce79..9587371b171 100644 --- a/IO/Xdmf2/vtkXdmfReaderInternal.h +++ b/IO/Xdmf2/vtkXdmfReaderInternal.h @@ -111,7 +111,6 @@ private: // Populates the list of domains. void UpdateDomains(); -private: int ActiveDomainIndex; xdmf2::XdmfDOM XMLDOM; vtkXdmfDomain* ActiveDomain; diff --git a/Imaging/Hybrid/vtkGaussianSplatter.h b/Imaging/Hybrid/vtkGaussianSplatter.h index ef593308faf..3d0730647cc 100644 --- a/Imaging/Hybrid/vtkGaussianSplatter.h +++ b/Imaging/Hybrid/vtkGaussianSplatter.h @@ -322,7 +322,6 @@ private: double SplatDistance[3]; double NullValue; -private: vtkGaussianSplatter(const vtkGaussianSplatter&) = delete; void operator=(const vtkGaussianSplatter&) = delete; }; diff --git a/Rendering/Annotation/vtkArcPlotter.h b/Rendering/Annotation/vtkArcPlotter.h index 3bc81fe7d34..2ada5dcbead 100644 --- a/Rendering/Annotation/vtkArcPlotter.h +++ b/Rendering/Annotation/vtkArcPlotter.h @@ -192,7 +192,6 @@ private: int StartComp; int EndComp; -private: vtkArcPlotter(const vtkArcPlotter&) = delete; void operator=(const vtkArcPlotter&) = delete; }; diff --git a/Rendering/Annotation/vtkBarChartActor.h b/Rendering/Annotation/vtkBarChartActor.h index 7bbccff22a5..fab5ba006db 100644 --- a/Rendering/Annotation/vtkBarChartActor.h +++ b/Rendering/Annotation/vtkBarChartActor.h @@ -240,7 +240,6 @@ private: int PlaceAxes(vtkViewport* viewport, const int* size); int BuildPlot(vtkViewport*); -private: vtkBarChartActor(const vtkBarChartActor&) = delete; void operator=(const vtkBarChartActor&) = delete; }; diff --git a/Rendering/Annotation/vtkCaptionActor2D.h b/Rendering/Annotation/vtkCaptionActor2D.h index 0e29d619209..5b15692726f 100644 --- a/Rendering/Annotation/vtkCaptionActor2D.h +++ b/Rendering/Annotation/vtkCaptionActor2D.h @@ -267,7 +267,6 @@ private: vtkCaptionActor2DConnection* LeaderGlyphConnectionHolder; -private: vtkCaptionActor2D(const vtkCaptionActor2D&) = delete; void operator=(const vtkCaptionActor2D&) = delete; }; diff --git a/Rendering/Annotation/vtkCubeAxesActor2D.h b/Rendering/Annotation/vtkCubeAxesActor2D.h index 874e993caa4..b88110b9d8d 100644 --- a/Rendering/Annotation/vtkCubeAxesActor2D.h +++ b/Rendering/Annotation/vtkCubeAxesActor2D.h @@ -385,7 +385,6 @@ private: // hide the superclass' ShallowCopy() from the user and the compiler. void ShallowCopy(vtkProp* prop) override { this->vtkProp::ShallowCopy(prop); } -private: vtkCubeAxesActor2D(const vtkCubeAxesActor2D&) = delete; void operator=(const vtkCubeAxesActor2D&) = delete; }; diff --git a/Rendering/Annotation/vtkParallelCoordinatesActor.h b/Rendering/Annotation/vtkParallelCoordinatesActor.h index 0a5c1b640b1..9edeee540bc 100644 --- a/Rendering/Annotation/vtkParallelCoordinatesActor.h +++ b/Rendering/Annotation/vtkParallelCoordinatesActor.h @@ -219,7 +219,6 @@ private: void Initialize(); int PlaceAxes(vtkViewport* viewport, const int* size); -private: vtkParallelCoordinatesActor(const vtkParallelCoordinatesActor&) = delete; void operator=(const vtkParallelCoordinatesActor&) = delete; }; diff --git a/Rendering/Annotation/vtkPieChartActor.h b/Rendering/Annotation/vtkPieChartActor.h index dd895adccab..5754cb754fb 100644 --- a/Rendering/Annotation/vtkPieChartActor.h +++ b/Rendering/Annotation/vtkPieChartActor.h @@ -239,7 +239,6 @@ private: int PlaceAxes(vtkViewport* viewport, const int* size); int BuildPlot(vtkViewport*); -private: vtkPieChartActor(const vtkPieChartActor&) = delete; void operator=(const vtkPieChartActor&) = delete; }; diff --git a/Rendering/Annotation/vtkSpiderPlotActor.h b/Rendering/Annotation/vtkSpiderPlotActor.h index ef27025f817..7fb3f83d9b3 100644 --- a/Rendering/Annotation/vtkSpiderPlotActor.h +++ b/Rendering/Annotation/vtkSpiderPlotActor.h @@ -289,7 +289,6 @@ private: int PlaceAxes(vtkViewport* viewport, const int* size); int BuildPlot(vtkViewport*); -private: vtkSpiderPlotActor(const vtkSpiderPlotActor&) = delete; void operator=(const vtkSpiderPlotActor&) = delete; }; diff --git a/Rendering/Context2D/vtkContextMouseEvent.h b/Rendering/Context2D/vtkContextMouseEvent.h index f0f08a5025e..e1b886a208a 100644 --- a/Rendering/Context2D/vtkContextMouseEvent.h +++ b/Rendering/Context2D/vtkContextMouseEvent.h @@ -155,7 +155,6 @@ protected: */ int Button; -protected: vtkRenderWindowInteractor* Interactor; }; diff --git a/Rendering/Core/vtkActor2DCollection.h b/Rendering/Core/vtkActor2DCollection.h index 6a2c6d117ea..ee5e75261cf 100644 --- a/Rendering/Core/vtkActor2DCollection.h +++ b/Rendering/Core/vtkActor2DCollection.h @@ -105,7 +105,6 @@ private: void AddItem(vtkProp* o) { this->vtkPropCollection::AddItem(o); } int IsItemPresent(vtkObject* o) { return this->vtkCollection::IsItemPresent(o); } -private: vtkActor2DCollection(const vtkActor2DCollection&) = delete; void operator=(const vtkActor2DCollection&) = delete; }; diff --git a/Rendering/Core/vtkActorCollection.h b/Rendering/Core/vtkActorCollection.h index de8ef3b49fe..b1a07b4dfc1 100644 --- a/Rendering/Core/vtkActorCollection.h +++ b/Rendering/Core/vtkActorCollection.h @@ -89,7 +89,6 @@ private: void AddItem(vtkObject* o) { this->vtkCollection::AddItem(o); } void AddItem(vtkProp* o) { this->vtkPropCollection::AddItem(o); } -private: vtkActorCollection(const vtkActorCollection&) = delete; void operator=(const vtkActorCollection&) = delete; }; diff --git a/Rendering/Core/vtkAssemblyNode.h b/Rendering/Core/vtkAssemblyNode.h index d17e59884a9..080a59c89f5 100644 --- a/Rendering/Core/vtkAssemblyNode.h +++ b/Rendering/Core/vtkAssemblyNode.h @@ -98,7 +98,6 @@ private: vtkProp* ViewProp; // reference to vtkProp vtkMatrix4x4* Matrix; // associated matrix -private: void operator=(const vtkAssemblyNode&) = delete; vtkAssemblyNode(const vtkAssemblyNode&) = delete; }; diff --git a/Rendering/Core/vtkAssemblyPath.h b/Rendering/Core/vtkAssemblyPath.h index f3108621ea5..b12b4b990a4 100644 --- a/Rendering/Core/vtkAssemblyPath.h +++ b/Rendering/Core/vtkAssemblyPath.h @@ -120,7 +120,6 @@ private: // hide the standard AddItem from the user and the compiler. void AddItem(vtkObject* o) { this->vtkCollection::AddItem(o); } -private: vtkAssemblyPath(const vtkAssemblyPath&) = delete; void operator=(const vtkAssemblyPath&) = delete; }; diff --git a/Rendering/Core/vtkAssemblyPaths.h b/Rendering/Core/vtkAssemblyPaths.h index 7cbf935eaf6..aa95f172624 100644 --- a/Rendering/Core/vtkAssemblyPaths.h +++ b/Rendering/Core/vtkAssemblyPaths.h @@ -89,7 +89,6 @@ private: void RemoveItem(int i) { this->vtkCollection::RemoveItem(i); } int IsItemPresent(vtkObject* o) { return this->vtkCollection::IsItemPresent(o); } -private: vtkAssemblyPaths(const vtkAssemblyPaths&) = delete; void operator=(const vtkAssemblyPaths&) = delete; }; diff --git a/Rendering/Core/vtkBackgroundColorMonitor.h b/Rendering/Core/vtkBackgroundColorMonitor.h index 8b37d17cc2e..ea763579b18 100644 --- a/Rendering/Core/vtkBackgroundColorMonitor.h +++ b/Rendering/Core/vtkBackgroundColorMonitor.h @@ -70,7 +70,6 @@ private: double Color1[3]; double Color2[3]; -private: vtkBackgroundColorMonitor(const vtkBackgroundColorMonitor&) = delete; void operator=(const vtkBackgroundColorMonitor&) = delete; }; diff --git a/Rendering/Core/vtkCellPicker.h b/Rendering/Core/vtkCellPicker.h index 388b05d100b..c6a57d1bf55 100644 --- a/Rendering/Core/vtkCellPicker.h +++ b/Rendering/Core/vtkCellPicker.h @@ -344,7 +344,6 @@ private: vtkIdList* PointIds; // used to accelerate picking vtkDoubleArray* Gradients; // used in volume picking -private: vtkCellPicker(const vtkCellPicker&) = delete; void operator=(const vtkCellPicker&) = delete; }; diff --git a/Rendering/Core/vtkCullerCollection.h b/Rendering/Core/vtkCullerCollection.h index 6c3f7fb410c..8157529414d 100644 --- a/Rendering/Core/vtkCullerCollection.h +++ b/Rendering/Core/vtkCullerCollection.h @@ -71,7 +71,6 @@ private: // hide the standard AddItem from the user and the compiler. void AddItem(vtkObject* o) { this->vtkCollection::AddItem(o); } -private: vtkCullerCollection(const vtkCullerCollection&) = delete; void operator=(const vtkCullerCollection&) = delete; }; diff --git a/Rendering/Core/vtkHardwareSelector.h b/Rendering/Core/vtkHardwareSelector.h index 45164ddc55f..88cd8cf765e 100644 --- a/Rendering/Core/vtkHardwareSelector.h +++ b/Rendering/Core/vtkHardwareSelector.h @@ -148,7 +148,6 @@ public: }; ///@} -public: static vtkHardwareSelector* New(); vtkTypeMacro(vtkHardwareSelector, vtkObject); void PrintSelf(ostream& os, vtkIndent indent) override; diff --git a/Rendering/Core/vtkLightCollection.h b/Rendering/Core/vtkLightCollection.h index 13f2e033595..2f70ee73522 100644 --- a/Rendering/Core/vtkLightCollection.h +++ b/Rendering/Core/vtkLightCollection.h @@ -65,7 +65,6 @@ private: // hide the standard AddItem from the user and the compiler. void AddItem(vtkObject* o) { this->vtkCollection::AddItem(o); } -private: vtkLightCollection(const vtkLightCollection&) = delete; void operator=(const vtkLightCollection&) = delete; }; diff --git a/Rendering/Core/vtkMapperCollection.h b/Rendering/Core/vtkMapperCollection.h index 8bcfe39939d..21a332d52f5 100644 --- a/Rendering/Core/vtkMapperCollection.h +++ b/Rendering/Core/vtkMapperCollection.h @@ -75,7 +75,6 @@ private: // hide the standard AddItem from the user and the compiler. void AddItem(vtkObject* o) { this->vtkCollection::AddItem(o); } -private: vtkMapperCollection(const vtkMapperCollection&) = delete; void operator=(const vtkMapperCollection&) = delete; }; diff --git a/Rendering/Core/vtkProp3DCollection.h b/Rendering/Core/vtkProp3DCollection.h index 60485e5df66..dacff8bdb9b 100644 --- a/Rendering/Core/vtkProp3DCollection.h +++ b/Rendering/Core/vtkProp3DCollection.h @@ -72,7 +72,6 @@ private: void AddItem(vtkObject* o) { this->vtkCollection::AddItem(o); } void AddItem(vtkProp* o) { this->vtkPropCollection::AddItem(o); } -private: vtkProp3DCollection(const vtkProp3DCollection&) = delete; void operator=(const vtkProp3DCollection&) = delete; }; diff --git a/Rendering/Core/vtkPropCollection.h b/Rendering/Core/vtkPropCollection.h index a94ecebc601..d35359ccbe9 100644 --- a/Rendering/Core/vtkPropCollection.h +++ b/Rendering/Core/vtkPropCollection.h @@ -80,7 +80,6 @@ private: // hide the standard AddItem from the user and the compiler. void AddItem(vtkObject* o) { this->vtkCollection::AddItem(o); } -private: vtkPropCollection(const vtkPropCollection&) = delete; void operator=(const vtkPropCollection&) = delete; }; diff --git a/Rendering/Core/vtkRenderWindowCollection.h b/Rendering/Core/vtkRenderWindowCollection.h index 28ae1d5825b..7753dd1bc76 100644 --- a/Rendering/Core/vtkRenderWindowCollection.h +++ b/Rendering/Core/vtkRenderWindowCollection.h @@ -70,7 +70,6 @@ private: // hide the standard AddItem from the user and the compiler. void AddItem(vtkObject* o) { this->vtkCollection::AddItem(o); } -private: vtkRenderWindowCollection(const vtkRenderWindowCollection&) = delete; void operator=(const vtkRenderWindowCollection&) = delete; }; diff --git a/Rendering/Core/vtkTextPropertyCollection.h b/Rendering/Core/vtkTextPropertyCollection.h index 426774fa252..934eddc2ef5 100644 --- a/Rendering/Core/vtkTextPropertyCollection.h +++ b/Rendering/Core/vtkTextPropertyCollection.h @@ -72,7 +72,6 @@ private: // hide the standard AddItem from the user and the compiler. void AddItem(vtkObject* o); -private: vtkTextPropertyCollection(const vtkTextPropertyCollection&) = delete; void operator=(const vtkTextPropertyCollection&) = delete; }; diff --git a/Rendering/Core/vtkVolumeCollection.h b/Rendering/Core/vtkVolumeCollection.h index 4aac2397b4e..fffe62ca4ab 100644 --- a/Rendering/Core/vtkVolumeCollection.h +++ b/Rendering/Core/vtkVolumeCollection.h @@ -76,7 +76,6 @@ private: void AddItem(vtkObject* o) { this->vtkCollection::AddItem(o); } void AddItem(vtkProp* o) { this->vtkPropCollection::AddItem(o); } -private: vtkVolumeCollection(const vtkVolumeCollection&) = delete; void operator=(const vtkVolumeCollection&) = delete; }; diff --git a/Rendering/Image/vtkImageSliceCollection.h b/Rendering/Image/vtkImageSliceCollection.h index b7faf55e6b5..1dba762639f 100644 --- a/Rendering/Image/vtkImageSliceCollection.h +++ b/Rendering/Image/vtkImageSliceCollection.h @@ -82,7 +82,6 @@ private: void AddItem(vtkObject* o) { this->vtkCollection::AddItem(o); } void AddItem(vtkProp* o) { this->vtkPropCollection::AddItem(o); } -private: vtkImageSliceCollection(const vtkImageSliceCollection&) = delete; void operator=(const vtkImageSliceCollection&) = delete; }; diff --git a/Rendering/LICOpenGL2/vtkLICNoiseHelper.h b/Rendering/LICOpenGL2/vtkLICNoiseHelper.h index ffe396145db..1c3579a5bc1 100644 --- a/Rendering/LICOpenGL2/vtkLICNoiseHelper.h +++ b/Rendering/LICOpenGL2/vtkLICNoiseHelper.h @@ -58,7 +58,6 @@ private: void operator=(const vtkLICRandomNumberGeneratorInterface&) = delete; vtkLICRandomNumberGeneratorInterface(const vtkLICRandomNumberGeneratorInterface&) = delete; -private: vtkMinimalStandardRandomSequence* RNG; }; @@ -142,7 +141,6 @@ private: */ void GetValidDimensionAndGrainSize(int type, int& dim, int& grainSize); -private: vtkLICRandomNumberGeneratorInterface ValueGen; vtkLICRandomNumberGeneratorInterface ProbGen; }; diff --git a/Rendering/LICOpenGL2/vtkLineIntegralConvolution2D.h b/Rendering/LICOpenGL2/vtkLineIntegralConvolution2D.h index ec10acd55be..a4db1759c69 100644 --- a/Rendering/LICOpenGL2/vtkLineIntegralConvolution2D.h +++ b/Rendering/LICOpenGL2/vtkLineIntegralConvolution2D.h @@ -394,7 +394,6 @@ protected: virtual void StartTimerEvent(const char*) {} virtual void EndTimerEvent(const char*) {} -protected: vtkWeakPointer<vtkOpenGLRenderWindow> Context; vtkOpenGLFramebufferObject* FBO; diff --git a/Rendering/LICOpenGL2/vtkSurfaceLICComposite.h b/Rendering/LICOpenGL2/vtkSurfaceLICComposite.h index 491d0652a33..6c7b1acc6f7 100644 --- a/Rendering/LICOpenGL2/vtkSurfaceLICComposite.h +++ b/Rendering/LICOpenGL2/vtkSurfaceLICComposite.h @@ -233,7 +233,6 @@ protected: */ float GetFudgeFactor(int nx[2]); -protected: int Pass; // id for mpi tagging vtkPixelExtent WindowExt; // screen extent (screen size) diff --git a/Rendering/LICOpenGL2/vtkSurfaceLICMapper.h b/Rendering/LICOpenGL2/vtkSurfaceLICMapper.h index c81b4baaaeb..7861f6eed2a 100644 --- a/Rendering/LICOpenGL2/vtkSurfaceLICMapper.h +++ b/Rendering/LICOpenGL2/vtkSurfaceLICMapper.h @@ -112,7 +112,6 @@ protected: */ void BuildBufferObjects(vtkRenderer* ren, vtkActor* act) override; -protected: /** * Set the shader parameters related to the mapper/input data, called by UpdateShader */ diff --git a/Rendering/OpenGL2/vtkRenderPassCollection.h b/Rendering/OpenGL2/vtkRenderPassCollection.h index 44016fc4920..1035ca0cb5f 100644 --- a/Rendering/OpenGL2/vtkRenderPassCollection.h +++ b/Rendering/OpenGL2/vtkRenderPassCollection.h @@ -69,7 +69,6 @@ private: // hide the standard AddItem from the user and the compiler. void AddItem(vtkObject* o); -private: vtkRenderPassCollection(const vtkRenderPassCollection&) = delete; void operator=(const vtkRenderPassCollection&) = delete; }; diff --git a/Rendering/OpenGL2/vtkRenderbuffer.h b/Rendering/OpenGL2/vtkRenderbuffer.h index a3693772f88..9d125dbdc91 100644 --- a/Rendering/OpenGL2/vtkRenderbuffer.h +++ b/Rendering/OpenGL2/vtkRenderbuffer.h @@ -115,7 +115,6 @@ private: unsigned int Handle; vtkWeakPointer<vtkRenderWindow> Context; -private: vtkRenderbuffer(const vtkRenderbuffer&) = delete; void operator=(const vtkRenderbuffer&) = delete; }; diff --git a/Rendering/ParallelLIC/vtkPLineIntegralConvolution2D.h b/Rendering/ParallelLIC/vtkPLineIntegralConvolution2D.h index 2cd16fbc46a..dde107891cf 100644 --- a/Rendering/ParallelLIC/vtkPLineIntegralConvolution2D.h +++ b/Rendering/ParallelLIC/vtkPLineIntegralConvolution2D.h @@ -88,7 +88,6 @@ protected: private: std::string LogFileName; -private: vtkPLineIntegralConvolution2D(const vtkPLineIntegralConvolution2D&) = delete; void operator=(const vtkPLineIntegralConvolution2D&) = delete; }; diff --git a/Rendering/ParallelLIC/vtkPPixelTransfer.h b/Rendering/ParallelLIC/vtkPPixelTransfer.h index 7e1bf1e4cc0..b8793e327e3 100644 --- a/Rendering/ParallelLIC/vtkPPixelTransfer.h +++ b/Rendering/ParallelLIC/vtkPPixelTransfer.h @@ -270,7 +270,6 @@ private: int Execute(MPI_Comm comm, int rank, int nComps, SOURCE_TYPE* srcData, int destType, void* destData, std::vector<MPI_Request>& reqs, std::deque<MPI_Datatype>& types, int tag); -private: int Id; // transaction id int SrcRank; // rank who owns source memory vtkPixelExtent SrcWholeExt; // source extent diff --git a/Rendering/ParallelLIC/vtkPSurfaceLICComposite.h b/Rendering/ParallelLIC/vtkPSurfaceLICComposite.h index 0c0fd18aae3..4351beabbf1 100644 --- a/Rendering/ParallelLIC/vtkPSurfaceLICComposite.h +++ b/Rendering/ParallelLIC/vtkPSurfaceLICComposite.h @@ -167,7 +167,6 @@ private: std::deque<std::deque<vtkPixelExtent>>& guardExts, std::deque<std::deque<vtkPixelExtent>>& disjointGuardExts, float* vectors); -private: vtkPPainterCommunicator* PainterComm; // mpi state vtkPPixelExtentOps* PixelOps; int CommRank; diff --git a/Rendering/ParallelLIC/vtkPSurfaceLICInterface.h b/Rendering/ParallelLIC/vtkPSurfaceLICInterface.h index f07b2460b8f..e6094bb5210 100644 --- a/Rendering/ParallelLIC/vtkPSurfaceLICInterface.h +++ b/Rendering/ParallelLIC/vtkPSurfaceLICInterface.h @@ -85,7 +85,6 @@ protected: private: std::string LogFileName; -private: vtkPSurfaceLICInterface(const vtkPSurfaceLICInterface&) = delete; void operator=(const vtkPSurfaceLICInterface&) = delete; }; diff --git a/Rendering/ParallelLIC/vtkParallelTimer.h b/Rendering/ParallelLIC/vtkParallelTimer.h index a5ffac75d05..7cffdc17f57 100644 --- a/Rendering/ParallelLIC/vtkParallelTimer.h +++ b/Rendering/ParallelLIC/vtkParallelTimer.h @@ -220,7 +220,6 @@ private: vtkParallelTimer* Log; }; -private: int GlobalLevel; int Initialized; int WorldRank; diff --git a/Views/Qt/vtkQtAnnotationView.h b/Views/Qt/vtkQtAnnotationView.h index 08f7e0bb6b5..cfc1a59ddfb 100644 --- a/Views/Qt/vtkQtAnnotationView.h +++ b/Views/Qt/vtkQtAnnotationView.h @@ -71,7 +71,7 @@ protected: private Q_SLOTS: void slotQtSelectionChanged(const QItemSelection&, const QItemSelection&); -private: +private: // NOLINT(readability-redundant-access-specifiers) vtkMTimeType LastInputMTime; QPointer<QTableView> View; diff --git a/Views/Qt/vtkQtListView.h b/Views/Qt/vtkQtListView.h index 276f8c8d8f7..660391e2d26 100644 --- a/Views/Qt/vtkQtListView.h +++ b/Views/Qt/vtkQtListView.h @@ -160,7 +160,7 @@ protected: private Q_SLOTS: void slotQtSelectionChanged(const QItemSelection&, const QItemSelection&); -private: +private: // NOLINT(readability-redundant-access-specifiers) void SetVTKSelection(); vtkMTimeType LastSelectionMTime; diff --git a/Views/Qt/vtkQtTableView.h b/Views/Qt/vtkQtTableView.h index 2b5e118464f..fafa0ab02be 100644 --- a/Views/Qt/vtkQtTableView.h +++ b/Views/Qt/vtkQtTableView.h @@ -224,7 +224,7 @@ protected: private Q_SLOTS: void slotQtSelectionChanged(const QItemSelection&, const QItemSelection&); -private: +private: // NOLINT(readability-redundant-access-specifiers) void SetVTKSelection(); vtkMTimeType LastSelectionMTime; vtkMTimeType LastInputMTime; diff --git a/Views/Qt/vtkQtTreeView.h b/Views/Qt/vtkQtTreeView.h index 4489f5df768..82fe17d1454 100644 --- a/Views/Qt/vtkQtTreeView.h +++ b/Views/Qt/vtkQtTreeView.h @@ -205,7 +205,7 @@ protected: private Q_SLOTS: void slotQtSelectionChanged(const QItemSelection&, const QItemSelection&); -private: +private: // NOLINT(readability-redundant-access-specifiers) void SetVTKSelection(); vtkMTimeType CurrentSelectionMTime; vtkMTimeType LastInputMTime; -- GitLab