Displays four-dimensional objects and functions by projecting them into three-dimensional space. Viewpoint transformations and parameter changes are displayed in real time.
Replace programming against implementations with programming against inerfaces
C4DView comes to mind quickly (factor out code that's defiened in View.H)
Unify the interface used by all Function derivatives (esp. the Constructors - let them take only one set of boundaries, which are then applied evenly in all dimensions of parameter space)
That will lead to a unified factory for creating Functions, especially in the slots called by menu items.
Replace programming against implementations with programming against inerfaces
C4DView comes to mind quickly (factor out code that's defiened in View.H)
Unify the interface used by all Function derivatives (esp. the Constructors - let them take only one set of boundaries, which are then applied evenly in all dimensions of parameter space)
That will lead to a unified factory for creating Functions, especially in the slots called by menu items.