roymiles / machine-learning-gui

1 stars 0 forks source link

How to access plot data from IBlock interface #4

Closed roymiles closed 6 years ago

roymiles commented 6 years ago

In tabWidget(IBlock*) function need to be able to access child class Regression object and the X,Y data for plotting but we don't have that because we have upcast to IBlock. Hmm. Downcasting is bad mmkay.

roymiles commented 6 years ago

Using a list of components stored as a vector of boost::any. The components can contain state information such as X, Y data that can be accessed.