Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

generateIPFTriangleLegend is not a virtual function of LaueOps #20

Open
LudoBike opened this issue Sep 12, 2023 · 0 comments
Open

generateIPFTriangleLegend is not a virtual function of LaueOps #20

LudoBike opened this issue Sep 12, 2023 · 0 comments

Comments

@LudoBike
Copy link

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 class LaueOps with the following lines of code

  const std::size_t laue_group = m_reader.getPhaseVector().at(phase - 1)->determineLaueGroup();
  const LaueOps::Pointer ops = LaueOps::GetAllOrientationOps().at(laue_group);

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant