Then I use polymorphisme to compute the colors with the virtual function LaueOps::generateIPFColor.
However, I would like to also draw the legend but there is no virtual function LaueOps::generateIPFTriangleLegend, even if this function is declared in every class derived from LaueOps.
Is there any good reason for that or did it was just forgotten ?
I'm currently using EbsdLib to generate Inverse Pole Figure.
To handle the different LaueClass, I proceed as in
Source/Apps/make_ipf.cpp
, ie I use a pointer of base classLaueOps
with the following lines of codeThen I use polymorphisme to compute the colors with the virtual function
LaueOps::generateIPFColor
.However, I would like to also draw the legend but there is no virtual function
LaueOps::generateIPFTriangleLegend
, even if this function is declared in every class derived fromLaueOps
.Is there any good reason for that or did it was just forgotten ?