[vtkusers] Handle Keyboard Events
Alex Malyushytskyy
alexmalvtk at gmail.com
Mon Aug 27 18:58:31 EDT 2012
I guess your class vtkInteractorStyleTrackballCam is defined in your
own computation module - not in dll , not in vtk.
This means VTK_FILTERING_EXPORT should not be placed in class declaration.
If you keep your such class in dll it will need to be exported, but I
would recommend not to use vtk specific macro anyway.
Try to remove this macro from class declaration.
Regards,
Alex
On Mon, Aug 27, 2012 at 8:23 AM, David Doria <daviddoria at gmail.com> wrote:
> On Mon, Aug 27, 2012 at 11:16 AM, Heidler, Kirstin (GE Oil & Gas)
> <Kirstin.Heidler at ge.com> wrote:
>> Hello,
>>
>>
>>
>> I am trying to handle Keyboard events so I can control what happens.
>>
>> For this I wrote my own InteractorStyle.
>
> You should use CMake, and link to VTK like
>
> target_link_libraries(YourProgram ${VTK_LIBRARIES})
>
> David
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
More information about the vtkusers
mailing list