[vtkusers] machining simulation and collision detection

Csaba Pinter csaba.pinter at queensu.ca
Wed Jul 18 09:01:52 EDT 2018


If you check out the project where the filter currently is, then you'll see a file
https://github.com/SlicerRt/SlicerRT/blob/master/SlicerRtCommon/vtkSlicerRtCommonWin32Header.h#L14
with the export directive defined in it. That is what is used by the filter in its header
https://github.com/SlicerRt/SlicerRT/blob/master/SlicerRtCommon/vtkCollisionDetectionFilter.h#L58

As I'm not sure how your project looks, I cannot help you with this, but if you use CMake, then you can follow the same pattern in your project.

csaba

-----Original Message-----
From: vtkusers <vtkusers-bounces at public.kitware.com> On Behalf Of shayan moradkhani
Sent: Wednesday, July 18, 2018 08:33
To: vtkusers at vtk.org
Subject: Re: [vtkusers] machining simulation and collision detection

hi,
has any one used this collision detection file so he/she is kind enough to give me some hints using them?
i was just told this: "You need to replace vtkSlicerRtCommonWin32Header.h and VTK_SLICERRTCOMMON_EXPORT with your export header and macro. "
shayan



--
Sent from: https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fvtk.1045678.n5.nabble.com%2FVTK-Users-f1224199.html&data=02%7C01%7Ccsaba.pinter%40queensu.ca%7C749dc2e556e54dce375108d5ecaa9ad3%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636675139858784375&sdata=ZJATRplexy1wqyO%2FTCLX9U%2FTZ2cpdtyOMzdWY5cea%2FM%3D&reserved=0
_______________________________________________
Powered by https://na01.safelinks.protection.outlook.com/?url=www.kitware.com&data=02%7C01%7Ccsaba.pinter%40queensu.ca%7C749dc2e556e54dce375108d5ecaa9ad3%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636675139858784375&sdata=JPCBODgyuHfoYN8no2DKNb1Mn4EAl1LG3XhjmUKvF4Q%3D&reserved=0

Visit other Kitware open-source projects at https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.kitware.com%2Fopensource%2Fopensource.html&data=02%7C01%7Ccsaba.pinter%40queensu.ca%7C749dc2e556e54dce375108d5ecaa9ad3%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636675139858784375&sdata=rFsO2D3AKrFFJXl1qumqvVrWDGPxczk%2FLTJferjCcvc%3D&reserved=0

Please keep messages on-topic and check the VTK FAQ at: https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.vtk.org%2FWiki%2FVTK_FAQ&data=02%7C01%7Ccsaba.pinter%40queensu.ca%7C749dc2e556e54dce375108d5ecaa9ad3%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636675139858784375&sdata=71Ufd5jyW%2FHrkuu42804Wexk1lGYLhNHrKb4HjDLxRQ%3D&reserved=0

Search the list archives at: https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmarkmail.org%2Fsearch%2F%3Fq%3Dvtkusers&data=02%7C01%7Ccsaba.pinter%40queensu.ca%7C749dc2e556e54dce375108d5ecaa9ad3%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636675139858784375&sdata=OpLcOH7kJCliCuaaVtxL65%2B%2F660L80WUPX3Tjo9blO0%3D&reserved=0

Follow this link to subscribe/unsubscribe:
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpublic.kitware.com%2Fmailman%2Flistinfo%2Fvtkusers&data=02%7C01%7Ccsaba.pinter%40queensu.ca%7C749dc2e556e54dce375108d5ecaa9ad3%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636675139858784375&sdata=PcbWPPKrCrXJBZsQius9OFSw1rs7w7HfVNnMsqafoU4%3D&reserved=0


More information about the vtkusers mailing list