[vtk-developers] File removed?
Bill Lorensen
bill.lorensen at gmail.com
Fri Dec 19 15:32:56 EST 2014
I will fix the example to make sure it will only build if the opengl
backend is used.
On Fri, Dec 19, 2014 at 2:30 PM, Marcus D. Hanwell
<marcus.hanwell at kitware.com> wrote:
> 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
--
Unpaid intern in BillsBasement at noware dot com
More information about the vtk-developers
mailing list