[vtk-developers] [VTK 0013208]: Impossibility to inherit from the class vtkChartXY to overload mouse/keyboard events

Mantis Bug Tracker mantis at public.kitware.com
Sun May 27 10:38:48 EDT 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://www.vtk.org/Bug/view.php?id=13208 
====================================================================== 
Reported By:                Arnaud BARRE
Assigned To:                
====================================================================== 
Project:                    VTK
Issue ID:                   13208
Category:                   (No Category)
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     backlog
Project:                    Release 
Type:                       feature 
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2012-05-27 10:38 EDT
Last Modified:              2012-05-27 10:38 EDT
====================================================================== 
Summary:                    Impossibility to inherit from the class vtkChartXY
to overload mouse/keyboard events
Description: 
Because the member ChartPrivate and some methods are set as private (ZoomInAxes
and RemovePlotFromCorners), it is not possible to inherit from vtkChartXY and
modify easily some behaviors (like mouse events or create new methods like
TakePlot).

The simplest to fix this issue could be to declare a nested protected "Private"
class instead of the class vtkChartXYPrivate, and also to declare the methods
ZoomInAxes and RemovePlotFromCorners as protected and not private.

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-05-27 10:38 Arnaud BARRE   New Issue                                    
======================================================================




More information about the vtk-developers mailing list