thanks for your reply, but how should i write my own macro and export header file? where can i find some examples? sorry for these questions, but i find no explanation for the codes on the github and how we should use them :-( shayan -- Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html