[vtk-developers] File removed?

Marcus D. Hanwell marcus.hanwell at kitware.com
Fri Dec 19 14:30:06 EST 2014


On Thu, Dec 18, 2014 at 9:47 AM, David Cole via vtk-developers
<vtk-developers at vtk.org> wrote:
> So that's a problem, right?
>
> Header files should exist in *neither* backend or in *both* backends,
> shouldn't they? I don't want to have to write conditional #include
> based on a backend setting..... do you? Is it a backend or is it a
> public API? (Rhetorical, no need for flames, :-)
>
I think it is a backend, with implementation files. If you are
including files from either one then I am afraid you may have to write
conditional code depending on the backend you are using. We are not
guaranteeing all files in OpenGL are in OpenGL2, and the painter
headers were moved into OpenGL and will likely never see counterparts
in the OpenGL2 backend. We should codify some of this in our
documentation to make it clear.

Marcus


More information about the vtk-developers mailing list