[vtkusers] VTKMATLABMEXADAPTER: vtkDataArray to vtkImageData

John Drescher drescherjm at gmail.com
Tue Jan 4 15:27:54 EST 2011


On Tue, Jan 4, 2011 at 3:25 PM, kwayeke <bigvision82 at yahoo.com> wrote:
>
> Yes I did  turn on the CMake variable VTK_USE_MATLAB_MEX when I was compiling
> VTK but I do not know where MEX.PL  is so did not include it in the the
> M-FILE.
>
> snip
> --------------------------------------------------------------------------
> mex -v vo.cc ...
>    -I'D:\MyProjects\VTK-src\Graphics' ...
>    -I'D:\PROGRA~1\VTK5.0\VTK\Common' ...
>    -I'D:\PROGRA~1\VTK5.0\VTK\Filtering' ...
>    -I'D:\PROGRA~1\VTK5.0\VTK\Rendering' ...
>    -I'D:\PROGRA~1\VTK5.0\VTK\VolumeRendering' ...
>    -I'D:\PROGRA~1\VTK5.0\Build' ...
>    -I'D:\PROGRA~1\VTK\include\vtk-5.6' ...
>    -L'D:\PROGRA~1\VTK5.0\Build\bin\debug' ...
>    -lvtkGraphics ...
>    -lvtkCommon ...
>    -lvtkFiltering ...
>    -lvtkRendering ...
>    -lvtkVolumeRendering


BTW, it looks like you are mixing VTK-5.0 and VTK-5.6.1.

John



More information about the vtkusers mailing list