Re: [Paraview] Question on Image reader

2009-01-07 Thread Thorsten Hater
Thanks a lot! I ended up last night hand-editing the Makefile generated by CMake to include and link an additional library to the plugin binary, but I guess there is some better method. If someone could point me in the right direction? Best regards Thorsten Michael Jackson wrote:

Re: [Paraview] Question on Image reader

2009-01-07 Thread Michael Jackson
I use the following to link additional libraries to my server side plugin: TARGET_LINK_LIBRARIES(${MODULE_NAME} vtkClientServer vtkPVServerManager ${MXA_LIBRARIES} ${MXA_SUPPORT_LIBRARIES}

[Paraview] Question on Image reader

2009-01-06 Thread Thorsten Hater
Hello everyone. I'm trying to implement a custom reader for ParaView 3.4. The output data is of the ImageData type. With the help of the ParaView guid I got as far as implementing the reader, save the most important bit of filling the actual data into the output object. So I have got the raw

Re: [Paraview] Question on Image reader

2009-01-06 Thread Michael Jackson
vtkImage-GetScalarPointer(); will return a void* which you can cast to the appropriate type for your image data. You can then use any byte copying routine to copy the data from the file into the byte array. To save yourself some of that copying if your data file is setup so that you can