[vtk-developers] help with cppcheck duplInheritedMember warnings

Jon Haitz Legarreta jhlegarreta at vicomtech.org
Fri May 5 10:30:06 EDT 2017


You're welcome.

I'll adopt the vtkPlotSurface, vtkScatterPlotMatrix, and
vtkBiDimensionalRepresentation2D (there was a member in this last that
escaped my patch set) class issues.

JON HAITZ

--


On 5 May 2017 at 16:09, Sean McBride <sean at rogue-research.com> wrote:

> On Wed, 3 May 2017 09:25:09 -0600, David Gobbi said:
>
> >I don't think suppressing them is a good idea, redefined member variables
> >are strongly indicative of real bugs.
>
> Thanks David & Jon!  We are down to 10 now:
>
> Charts/Core/vtkPlot3D.h:152: warning: The class 'vtkPlotSurface' defines
> member variable with name 'Colors' also defined in its parent class
> 'vtkPlot3D'.
>
> Charts/Core/vtkChartMatrix.h:155: warning: The class
> 'vtkScatterPlotMatrix' defines member variable with name 'Private' also
> defined in its parent class 'vtkChartMatrix'.
>
> Common/DataModel/vtkGenericCellTessellator.h:211: warning: The class
> 'vtkSimpleCellTessellator' defines member variable with name 'DataSet' also
> defined in its parent class 'vtkGenericCellTessellator'.
>
> Common/ExecutionModel/vtkStreamingDemandDrivenPipeline.h:349: warning:
> The class 'vtkCompositeDataPipeline' defines member variable with name
> 'UpdateExtentRequest' also defined in its parent class '
> vtkStreamingDemandDrivenPipeline'.
>
> IO/SQL/vtkTableToDatabaseWriter.h:75: warning: The class
> 'vtkTableToSQLiteWriter' defines member variable with name 'Input' also
> defined in its parent class 'vtkTableToDatabaseWriter'.
>
> Interaction/Widgets/vtkBiDimensionalRepresentation.h:213: warning: The
> class 'vtkBiDimensionalRepresentation2D' defines member variable with
> name 'Modifier' also defined in its parent class '
> vtkBiDimensionalRepresentation'.
>
> Rendering/OpenGL/vtkStandardPolyDataPainter.h:86: warning: The class '
> vtkHardwareSelectionPolyDataPainter' defines member variable with name
> 'TotalCells' also defined in its parent class 'vtkStandardPolyDataPainter'.
>
> Rendering/OpenGL/vtkXRenderWindowInteractor.h:198: warning: The class 'vtkXRenderWindowTclInteractor'
> defines member variable with name 'Internal' also defined in its parent
> class 'vtkXRenderWindowInteractor'.
>
> Views/Infovis/vtkRenderView.h:289: warning: The class
> 'vtkGraphLayoutView' defines member variable with name 'Interacting' also
> defined in its parent class 'vtkRenderView'.
>
> Views/Infovis/vtkRenderedRepresentation.h:96: warning: The class '
> vtkRenderedTreeAreaRepresentation' defines member variable with name
> 'Implementation' also defined in its parent class
> 'vtkRenderedRepresentation'.
>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
>
> Search the list archives at: http://markmail.org/search/?q=vtk-developers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtk-developers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20170505/24c6ff3d/attachment.html>


More information about the vtk-developers mailing list