<div dir="ltr">







<p class="gmail-p1"><span class="gmail-s1">Dear VTK Users/Developers,</span></p><p class="gmail-p1">I'm trying to build VTK 5.10.1 on Mac OS X El Capitan and am getting a compilation error..</p><p class="gmail-p1">







</p><p class="gmail-p1"><span class="gmail-s1">[ 66%] </span><span class="gmail-s2">Building CXX object Rendering/CMakeFiles/vtkRendering.dir/vtkCocoaRenderWindowInteractor.mm.o</span></p><p class="gmail-p1"><span class="gmail-s1">clang: error: garbage collection is no longer supported</span></p>
<p class="gmail-p1"><span class="gmail-s1">make[2]: *** [Rendering/CMakeFiles/vtkRendering.dir/vtkCocoaRenderWindowInteractor.mm.o] Error 1</span></p>
<p class="gmail-p1"><span class="gmail-s1">make[1]: *** [Rendering/CMakeFiles/vtkRendering.dir/all] Error 2</span></p>
<p class="gmail-p1"><span class="gmail-s1">make: *** [all] Error 2</span></p><p class="gmail-p1">Please let me know the fix so I can build VTK.</p><p class="gmail-p1">Best regards,</p><p class="gmail-p1">Cartik</p></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 11, 2017 at 11:00 AM,  <span dir="ltr"><<a href="mailto:vtkusers-request@vtk.org" target="_blank">vtkusers-request@vtk.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send vtkusers mailing list submissions to<br>
        <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/vtkusers</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:vtkusers-request@vtk.org">vtkusers-request@vtk.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:vtkusers-owner@vtk.org">vtkusers-owner@vtk.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of vtkusers digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Visualising vorticity from NC file structured grid (henlau)<br>
   2. Displaying 2D image with vtkPolyData (Eric Petersen)<br>
   3. Re: Displaying 2D image with vtkPolyData (Bill Lorensen)<br>
   4. VTK *.app Abort trap:6 (henlau)<br>
   5. Re: VTK *.app Abort trap:6 (Bill Lorensen)<br>
   6. Re: VTK *.app Abort trap:6 (henlau)<br>
   7. Re: VTK *.app Abort trap:6 (henlau)<br>
   8. Re: How to rotate around a arbitrary world coordinate?<br>
      (Rakesh  Patil)<br>
   9. Re: error LNK1112: module machine type 'X86' conflicts with<br>
      target machine type 'x64' (Madan Kumar Y)<br>
  10. Re: Visualize .mha MRI volume (Megha Kalia)<br>
  11. Using system fonts on Windows (fontconfig equivalent?)<br>
      (Elvis Stansvik)<br>
  12. Re: Rendering Very Large Images (Ang)<br>
  13. Re: error LNK1112: module machine type 'X86' conflicts with<br>
      target machine type 'x64' (Cory Quammen)<br>
<br>
<br>
------------------------------<wbr>------------------------------<wbr>----------<br>
<br>
Message: 1<br>
Date: Mon, 10 Apr 2017 09:09:41 -0700 (MST)<br>
From: henlau <<a href="mailto:henrylau9677@gmail.com">henrylau9677@gmail.com</a>><br>
To: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Subject: [vtkusers] Visualising vorticity from NC file structured grid<br>
Message-ID: <<a href="mailto:1491840581403-5742780.post@n5.nabble.com">1491840581403-5742780.post@<wbr>n5.nabble.com</a>><br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
Hi all,<br>
<br>
I am new to VTK. I have a NC file and reading it with "vtknetCDFCFReader".<br>
In my NC file, there are 2 variable arrays and their corresponding<br>
dimension:<br>
<br>
"ua" - (height, lon, lat) - Description: Eastward_wind - Unit: m s-1<br>
"va" - (height, lon, lat) - Description: Northward_wind - Unit: m s-1<br>
<br>
I safeDownCast the output of the reader and got a vtkStructuredGrid, with<br>
only cell data. The thing is I want to render the vorticity of the data. I<br>
saw people working with vtkHedgeHog, and the following is what I am doing:<br>
<br>
   //reader<br>
   vtkNetCDFCFReader *reader = vtkNetCDFCFReader::New();<br>
   reader->SetFileName(fileName);<br>
   reader-><wbr>SetOutputTypeToStructured();<br>
   reader->UpdateMetaData();<br>
   reader->Update();<br>
<br>
   reader-><wbr>SetVariableArrayStatus("ua", 1);<br>
   reader-><wbr>SetVariableArrayStatus("va", 1);<br>
<br>
  reader-><wbr>SphericalCoordinatesOff();<br>
<br>
  //SafeDownCast reader output to structuredGrid<br>
   vtkStructuredGrid *weatherGrid =<br>
vtkStructuredGrid::<wbr>SafeDownCast(reader-><wbr>GetOutput());<br>
<br>
<br>
  //Cell data to point data<br>
    vtkCellDataToPointData *c2p = vtkCellDataToPointData::New();<br>
    c2p->SetInputData(weatherGrid)<wbr>;<br>
    c2p->PassCellDataOn();<br>
    c2p->Update();<br>
<br>
  //Convert it back to a structured grid<br>
    vtkStructuredGrid* reformedWeatherGrid = c2p->GetStructuredGridOutput()<wbr>;<br>
<br>
<br>
  //In the following code, I start doing the hedgehog<br>
  //Here I am creating vector data for the "reformedWeatherGrid"<br>
  //1430*1557*151 is the dimension of my first structured grid<br>
    vtkFloatArray* vector = vtkFloatArray::New();<br>
    vector->SetNumberOfComponents(<wbr>3);<br>
    vector->SetNumberOfTuples(<wbr>1430*1557*151);<br>
    for(int i = 0; i < 151; i++){<br>
<br>
      double v[2];<br>
      v[0] =<br>
reformedWeatherGrid-><wbr>GetPointData()->GetArray("ua")<wbr>->GetComponent(i,0);<br>
      v[1] =<br>
reformedWeatherGrid-><wbr>GetPointData()->GetArray("va")<wbr>->GetComponent(i,0);<br>
      vector->InsertTuple(i,v);<br>
    }<br>
<br>
    //Set new vector into reformedWeatherGrid<br>
    reformedWeatherGrid-><wbr>GetPointData()->SetVectors(<wbr>vector);<br>
<br>
    //HedgeHog<br>
    vtkHedgeHog* hedgehog = vtkHedgeHog::New();<br>
    hedgehog->SetInputData(<wbr>reformedWeatherGrid);<br>
    hedgehog->SetScaleFactor(0.1);<br>
<br>
    //PolyDataMapper and Actor<br>
    vtkPolyDataMapper* hhMapper = vtkPolyDataMapper::New();<br>
    hhMapper->SetInputConnection(<wbr>hedgehog->GetOutputPort());<br>
    vtkActor* hhActor = vtkActor::New();<br>
    hhActor->SetMapper(hhMapper);<br>
<br>
   //renderer and render window<br>
   .............<br>
<br>
The problem is I got the following error:<br>
vtkPointData (0x7fbb1af13d80): Can not set attribute Vectors. Incorrect<br>
number of components.<br>
vtkHedgeHog (0x7fbb1af1def0): No vectors in input data<br>
<br>
What should I do in order to solve this problem? Or is there any<br>
alternatives to render the vorticity of my data?<br>
<br>
TIA<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/Visualising-vorticity-from-NC-file-structured-grid-tp5742780.html" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.<wbr>com/Visualising-vorticity-<wbr>from-NC-file-structured-grid-<wbr>tp5742780.html</a><br>
Sent from the VTK - Users mailing list archive at Nabble.com.<br>
<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Mon, 10 Apr 2017 14:10:30 -0500<br>
From: Eric Petersen <<a href="mailto:peer9802@gmail.com">peer9802@gmail.com</a>><br>
To: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Subject: [vtkusers] Displaying 2D image with vtkPolyData<br>
Message-ID:<br>
        <CAGL8Xss33HPnSQm-MqksrD+5-<wbr>F2CfqLbQtYx-vw=<a href="mailto:zuOvefQ04w@mail.gmail.com">zuOvefQ04w@<wbr>mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hello,<br>
<br>
I have various cardiac CT scans where I've segmented various areas and<br>
created STL files (using Mimics) of the objects.  I then have Python<br>
scripts where I am able to read, and display, these objects using VTK.  I<br>
don't have any issue with this part.  I also have bi-plane fluoroscopy (2D)<br>
images of the same patients where I would like to display the bi-plane<br>
images with the imported vtkPolyData (from CT scans) to fuse the two<br>
imaging modalities.<br>
<br>
I've been looking around for how to display 2D images (either directly from<br>
DICOM or 2D numpy array) with 3D vtkPolyData objects and I'm struggling to<br>
find a good example.<br>
<br>
Can anyone suggest some filters and usage to get me started?<br>
<br>
Eric<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://public.kitware.com/pipermail/vtkusers/attachments/20170410/f713bea0/attachment-0001.html" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>pipermail/vtkusers/<wbr>attachments/20170410/f713bea0/<wbr>attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Mon, 10 Apr 2017 15:41:27 -0400<br>
From: Bill Lorensen <<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>><br>
To: Eric Petersen <<a href="mailto:peer9802@gmail.com">peer9802@gmail.com</a>><br>
Cc: VTK Users <<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>><br>
Subject: Re: [vtkusers] Displaying 2D image with vtkPolyData<br>
Message-ID:<br>
        <<a href="mailto:CADZJ4hM0R4nsSau9Tv2Kq2S_Dq82hfZLLQ88hfzx4bF5TmrTPw@mail.gmail.com">CADZJ4hM0R4nsSau9Tv2Kq2S_<wbr>Dq82hfZLLQ88hfzx4bF5TmrTPw@<wbr>mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Take a look at this example<br>
<a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Medical/MedicalDemo3" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK/<wbr>Examples/Cxx/Medical/<wbr>MedicalDemo3</a><br>
<br>
On Apr 10, 2017 3:10 PM, "Eric Petersen" <<a href="mailto:peer9802@gmail.com">peer9802@gmail.com</a>> wrote:<br>
<br>
> Hello,<br>
><br>
> I have various cardiac CT scans where I've segmented various areas and<br>
> created STL files (using Mimics) of the objects.  I then have Python<br>
> scripts where I am able to read, and display, these objects using VTK.  I<br>
> don't have any issue with this part.  I also have bi-plane fluoroscopy (2D)<br>
> images of the same patients where I would like to display the bi-plane<br>
> images with the imported vtkPolyData (from CT scans) to fuse the two<br>
> imaging modalities.<br>
><br>
> I've been looking around for how to display 2D images (either directly<br>
> from DICOM or 2D numpy array) with 3D vtkPolyData objects and I'm<br>
> struggling to find a good example.<br>
><br>
> Can anyone suggest some filters and usage to get me started?<br>
><br>
> Eric<br>
><br>
> ______________________________<wbr>_________________<br>
> Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at <a href="http://www.kitware.com/" rel="noreferrer" target="_blank">http://www.kitware.com/</a><br>
> opensource/opensource.html<br>
><br>
> Please keep messages on-topic and check the VTK FAQ at:<br>
> <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_<wbr>FAQ</a><br>
><br>
> Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/vtkusers</a><br>
><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://public.kitware.com/pipermail/vtkusers/attachments/20170410/d21550c1/attachment-0001.html" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>pipermail/vtkusers/<wbr>attachments/20170410/d21550c1/<wbr>attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Mon, 10 Apr 2017 17:07:11 -0700 (MST)<br>
From: henlau <<a href="mailto:henrylau9677@gmail.com">henrylau9677@gmail.com</a>><br>
To: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Subject: [vtkusers] VTK *.app Abort trap:6<br>
Message-ID: <<a href="mailto:1491869231924-5742788.post@n5.nabble.com">1491869231924-5742788.post@<wbr>n5.nabble.com</a>><br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
Hi all,<br>
<br>
I was trying to visualize my actor on mac but seems like it is not working.<br>
I got the following error when the program was adding the actor to the<br>
renderer:<br>
Abort trap: 6<br>
<br>
Does anyone know what that means? How am I able to solve it?<br>
My code is just simply visualizing the vtkHedgeHog.<br>
<br>
TIA<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/VTK-app-Abort-trap-6-tp5742788.html" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.<wbr>com/VTK-app-Abort-trap-6-<wbr>tp5742788.html</a><br>
Sent from the VTK - Users mailing list archive at Nabble.com.<br>
<br>
<br>
------------------------------<br>
<br>
Message: 5<br>
Date: Mon, 10 Apr 2017 20:25:34 -0400<br>
From: Bill Lorensen <<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>><br>
To: henlau <<a href="mailto:henrylau9677@gmail.com">henrylau9677@gmail.com</a>><br>
Cc: VTK Users <<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>><br>
Subject: Re: [vtkusers] VTK *.app Abort trap:6<br>
Message-ID:<br>
        <<a href="mailto:CADZJ4hOhOa_9T4N%2B9GEkcGjoDCgvvU%2BjMxteL_rSO3caGzwC9w@mail.gmail.com">CADZJ4hOhOa_9T4N+<wbr>9GEkcGjoDCgvvU+jMxteL_<wbr>rSO3caGzwC9w@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Can you provide a small, compilable file that illustrates the problem!? And<br>
the Cmakelists.txt file.<br>
<br>
On Apr 10, 2017 8:07 PM, "henlau" <<a href="mailto:henrylau9677@gmail.com">henrylau9677@gmail.com</a>> wrote:<br>
<br>
> Hi all,<br>
><br>
> I was trying to visualize my actor on mac but seems like it is not working.<br>
> I got the following error when the program was adding the actor to the<br>
> renderer:<br>
> Abort trap: 6<br>
><br>
> Does anyone know what that means? How am I able to solve it?<br>
> My code is just simply visualizing the vtkHedgeHog.<br>
><br>
> TIA<br>
><br>
><br>
><br>
> --<br>
> View this message in context: <a href="http://vtk.1045678.n5.nabble" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble</a>.<br>
> com/VTK-app-Abort-trap-6-<wbr>tp5742788.html<br>
> Sent from the VTK - Users mailing list archive at Nabble.com.<br>
> ______________________________<wbr>_________________<br>
> Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at <a href="http://www.kitware.com/" rel="noreferrer" target="_blank">http://www.kitware.com/</a><br>
> opensource/opensource.html<br>
><br>
> Please keep messages on-topic and check the VTK FAQ at:<br>
> <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_<wbr>FAQ</a><br>
><br>
> Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/vtkusers</a><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://public.kitware.com/pipermail/vtkusers/attachments/20170410/fbfa436b/attachment-0001.html" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>pipermail/vtkusers/<wbr>attachments/20170410/fbfa436b/<wbr>attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 6<br>
Date: Mon, 10 Apr 2017 18:07:57 -0700 (MST)<br>
From: henlau <<a href="mailto:henrylau9677@gmail.com">henrylau9677@gmail.com</a>><br>
To: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Subject: Re: [vtkusers] VTK *.app Abort trap:6<br>
Message-ID: <<a href="mailto:1491872877652-5742790.post@n5.nabble.com">1491872877652-5742790.post@<wbr>n5.nabble.com</a>><br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
Below is my code:<br>
<br>
    //Creating vectors and points for hedgehog<br>
    static int dims[3] = {1430, 1557, 151};<br>
    float x[3], v[3];<br>
    int offset, kOffset, jOffset, k, deltaHeight, componentNum;<br>
    vtkStructuredGrid* reformedWeatherGrid = c2p->GetStructuredGridOutput()<wbr>;<br>
    reformedWeatherGrid-><wbr>SetDimensions(dims[0], dims[1], dims[2]);<br>
<br>
    vtkFloatArray* vector = vtkFloatArray::New();<br>
    vector->SetNumberOfComponents(<wbr>3);<br>
    vector->SetNumberOfTuples(<wbr>dims[0]*dims[1]*dims[2]);<br>
<br>
    vtkPoints* points = vtkPoints::New();<br>
    points->Allocate(dims[0]*dims[<wbr>1]*dims[2]);<br>
<br>
    v[2] = 0.0;<br>
    deltaHeight = dims[0] * dims[1];<br>
    for(int height = 1; height < dims[2]; height++){<br>
      x[2] = height;<br>
      kOffset = height*dims[0]*dims[1];<br>
      for(int lat = 1; lat < dims[1]; lat++){<br>
        jOffset = lat*dims[0];<br>
        for(int lon = 1; lon < dims[0]; lon++){<br>
          x[0] = lon;<br>
          x[1] = lat;<br>
          componentNum = height*lat*lon;<br>
          v[0] =<br>
reformedWeatherGrid-><wbr>GetPointData()->GetArray("ua")<wbr>->GetComponent(componentNum,<br>
0);<br>
          v[1] =<br>
reformedWeatherGrid-><wbr>GetPointData()->GetArray("va")<wbr>->GetComponent(componentNum,0)<wbr>;<br>
          offset = lon+jOffset+kOffset;<br>
          points->InsertPoint(offset,x);<br>
          vector->InsertTuple(offset,v);<br>
        }<br>
      }<br>
    }<br>
<br>
    //Set points and vector to the structuredgrid<br>
    reformedWeatherGrid-><wbr>SetPoints(points);<br>
    reformedWeatherGrid-><wbr>GetPointData()->SetVectors(<wbr>vector);<br>
    reformedWeatherGrid->Print(<wbr>std::cout);<br>
<br>
    //HedgeHog<br>
    vtkHedgeHog* hedgehog = vtkHedgeHog::New();<br>
    hedgehog->SetInputData(<wbr>reformedWeatherGrid);<br>
    hedgehog->SetScaleFactor(0.05)<wbr>;<br>
    hedgehog->Print(std::cout);<br>
<br>
    vtkPolyDataMapper* hhMapper = vtkPolyDataMapper::New();<br>
    hhMapper->SetInputConnection(<wbr>hedgehog->GetOutputPort());<br>
<br>
    vtkActor* hhActor = vtkActor::New();<br>
    hhActor->SetMapper(hhMapper);<br>
<br>
    //Renderer, render window<br>
    ......<br>
<br>
Just now I tried with a smaller dimension, like 300x300x151 and it works. Is<br>
that because of my computer not able to handle such large amount of data?<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/VTK-app-Abort-trap-6-tp5742788p5742790.html" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.<wbr>com/VTK-app-Abort-trap-6-<wbr>tp5742788p5742790.html</a><br>
Sent from the VTK - Users mailing list archive at Nabble.com.<br>
<br>
<br>
------------------------------<br>
<br>
Message: 7<br>
Date: Mon, 10 Apr 2017 18:09:03 -0700 (MST)<br>
From: henlau <<a href="mailto:henrylau9677@gmail.com">henrylau9677@gmail.com</a>><br>
To: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Subject: Re: [vtkusers] VTK *.app Abort trap:6<br>
Message-ID: <<a href="mailto:1491872943399-5742791.post@n5.nabble.com">1491872943399-5742791.post@<wbr>n5.nabble.com</a>><br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
And this is my CMakeList.txt<br>
<br>
<br>
cmake_minimum_required(VERSION 2.8)<br>
<br>
PROJECT(main)<br>
<br>
find_package(VTK REQUIRED)<br>
include(${VTK_USE_FILE})<br>
<br>
add_executable(main MACOSX_BUNDLE main)<br>
<br>
if(VTK_LIBRARIES)<br>
  target_link_libraries(main ${VTK_LIBRARIES})<br>
else()<br>
  target_link_libraries(main vtkHybrid vtkWidgets)<br>
endif()<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/VTK-app-Abort-trap-6-tp5742788p5742791.html" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.<wbr>com/VTK-app-Abort-trap-6-<wbr>tp5742788p5742791.html</a><br>
Sent from the VTK - Users mailing list archive at Nabble.com.<br>
<br>
<br>
------------------------------<br>
<br>
Message: 8<br>
Date: Tue, 11 Apr 2017 06:04:14 +0000<br>
From: "Rakesh  Patil" <<a href="mailto:rakesh.p@tataelxsi.co.in">rakesh.p@tataelxsi.co.in</a>><br>
To: Chiranjib Sur <<a href="mailto:sur.chiranjib@gmail.com">sur.chiranjib@gmail.com</a>><br>
Cc: "<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>" <<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>><br>
Subject: Re: [vtkusers] How to rotate around a arbitrary world<br>
        coordinate?<br>
Message-ID:<br>
        <<a href="mailto:SIXPR04MB0699C5887DCA13F7B53B3EA2C2000@SIXPR04MB0699.apcprd04.prod.outlook.com">SIXPR04MB0699C5887DCA13F7B53B<wbr>3EA2C2000@SIXPR04MB0699.<wbr>apcprd04.prod.outlook.com</a>><br>
<br>
Content-Type: text/plain; charset="us-ascii"<br>
<br>
Hi,<br>
<br>
<br>
I am sorry, my question was not clear I guess. Most of the interactor styles perform rotation (entire model, not only object) with respect to origin (0, 0, 0). This is happening irrespective of where we pan and zoom. Consider a situation, where the center is away from the viewport. Now when I perform rotation, the default interactor style rotates about (0, 0, 0). In this situation, my requirement is whatever is the center point of the viewport, rotation should happen w.r.t. this center point. How can this be implemented?<br>
<br>
<br>
Thanks & Regards<br>
<br>
Rakesh Patil<br>
<br>
<br>
TATA ELXSI<br>
Tel (D) +91 80 2297 9621<br>
Cell +91 9890258407<br>
<br>
______________________________<wbr>__<br>
From: Chiranjib Sur <<a href="mailto:sur.chiranjib@gmail.com">sur.chiranjib@gmail.com</a>><br>
Sent: Monday, April 10, 2017 12:16:37 PM<br>
To: Rakesh Patil<br>
Cc: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Subject: Re: [vtkusers] How to rotate around a arbitrary world coordinate?<br>
<br>
May be this the place to start<br>
<a href="http://www.vtk.org/doc/nightly/html/classvtkTransformFilter.html" rel="noreferrer" target="_blank">http://www.vtk.org/doc/<wbr>nightly/html/<wbr>classvtkTransformFilter.html</a><br>
<br>
On Mon, Apr 10, 2017 at 11:33 AM, Rakesh Patil <<a href="mailto:rakesh.p@tataelxsi.co.in">rakesh.p@tataelxsi.co.in</a><<wbr>mailto:<a href="mailto:rakesh.p@tataelxsi.co.in">rakesh.p@tataelxsi.co.<wbr>in</a>>> wrote:<br>
<br>
Hi,<br>
<br>
<br>
Experts, or experienced people, can you give some information on this?<br>
<br>
<br>
<a href="http://public.kitware.com/pipermail/vtkusers/2017-March/098181.html" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>pipermail/vtkusers/2017-March/<wbr>098181.html</a><br>
<br>
<br>
How to rotate around a arbitrary world coordinate?<br>
<br>
<br>
Thanks & Regards<br>
<br>
Rakesh Patil<br>
<br>
______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><<a href="http://www.kitware.com" rel="noreferrer" target="_blank">http://www.<wbr>kitware.com</a>><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_<wbr>FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/vtkusers</a><br>
<br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://public.kitware.com/pipermail/vtkusers/attachments/20170411/aa684177/attachment-0001.html" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>pipermail/vtkusers/<wbr>attachments/20170411/aa684177/<wbr>attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 9<br>
Date: Mon, 10 Apr 2017 23:57:28 -0700 (MST)<br>
From: Madan Kumar Y <<a href="mailto:mados316@gmail.com">mados316@gmail.com</a>><br>
To: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Subject: Re: [vtkusers] error LNK1112: module machine type 'X86'<br>
        conflicts with target machine type 'x64'<br>
Message-ID: <<a href="mailto:1491893848802-5742793.post@n5.nabble.com">1491893848802-5742793.post@<wbr>n5.nabble.com</a>><br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
Hi Cory,<br>
Even i think that's the issue, any suggestions.<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
Thanks,<br>
Madan<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/Re-error-LNK1112-module-machine-type-X86-conflicts-with-target-machine-type-x64-tp5742757p5742793.html" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.<wbr>com/Re-error-LNK1112-module-<wbr>machine-type-X86-conflicts-<wbr>with-target-machine-type-x64-<wbr>tp5742757p5742793.html</a><br>
Sent from the VTK - Users mailing list archive at Nabble.com.<br>
<br>
<br>
------------------------------<br>
<br>
Message: 10<br>
Date: Tue, 11 Apr 2017 10:09:47 +0200<br>
From: Megha Kalia <<a href="mailto:kalia.megha84@gmail.com">kalia.megha84@gmail.com</a>><br>
To: Aashish Chaudhary <<a href="mailto:aashish.chaudhary@kitware.com">aashish.chaudhary@kitware.com</a><wbr>><br>
Cc: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Subject: Re: [vtkusers] Visualize .mha MRI volume<br>
Message-ID:<br>
        <CAKXe2Myisz8ut0T=<wbr>jNxKMZTZ2Tufq=<a href="mailto:FNTrgY0%2BjXM-7BrdYfQQ@mail.gmail.com">FNTrgY0+jXM-<wbr>7BrdYfQQ@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi Ashish ,<br>
<br>
Thanks for replying. I see only only one 2D-slice. I can't see rest of the<br>
slices.<br>
I couldn't even find a way to visualize different slices (let's say<br>
according to position)<br>
<br>
Thanks :)<br>
<br>
On Mon, Apr 10, 2017 at 4:25 PM, Aashish Chaudhary <<br>
<a href="mailto:aashish.chaudhary@kitware.com">aashish.chaudhary@kitware.com</a>> wrote:<br>
<br>
> Hi Megha,<br>
><br>
> You can look at this example to help with your task (<br>
> <a href="http://www.vtk.org/gitweb?p=VTK.git;a=blob;f=Examples/VolumeRendering/Cxx/" rel="noreferrer" target="_blank">http://www.vtk.org/gitweb?p=<wbr>VTK.git;a=blob;f=Examples/<wbr>VolumeRendering/Cxx/</a><br>
> GPURenderDemo.cxx). In that example you can use vtkGPUVolumeRayCastMapper instead<br>
> of vtkSmartVolumeMapper to simplify things a bit.<br>
><br>
> As fas the reader goes, how did you confirm that you only got one slice?<br>
><br>
> Thanks,<br>
><br>
><br>
> On Mon, Apr 10, 2017 at 6:49 AM Megha Kalia <<a href="mailto:kalia.megha84@gmail.com">kalia.megha84@gmail.com</a>><br>
> wrote:<br>
><br>
>> Hi all,<br>
>><br>
>> I have a .mha file containing MRI volume. I want to do the following:<br>
>> 1- Read .mha volume data.<br>
>> 2- Visualize it in VTK<br>
>> 3- Transfer the data to openGL 3D texture to use it in my own framework.<br>
>><br>
>> By far I have used vtkMetaImageReader. I get just one slice. I want to<br>
>> see entire volume.<br>
>> Any pointers on this will be really helpful.<br>
>><br>
>> Thanks a lot   :)<br>
>> ______________________________<wbr>_________________<br>
>> Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
>><br>
>> Visit other Kitware open-source projects at <a href="http://www.kitware.com/" rel="noreferrer" target="_blank">http://www.kitware.com/</a><br>
>> opensource/opensource.html<br>
>><br>
>> Please keep messages on-topic and check the VTK FAQ at:<br>
>> <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_<wbr>FAQ</a><br>
>><br>
>> Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
>><br>
>> Follow this link to subscribe/unsubscribe:<br>
>> <a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/vtkusers</a><br>
>><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://public.kitware.com/pipermail/vtkusers/attachments/20170411/be64374f/attachment-0001.html" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>pipermail/vtkusers/<wbr>attachments/20170411/be64374f/<wbr>attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 11<br>
Date: Tue, 11 Apr 2017 10:45:19 +0200<br>
From: Elvis Stansvik <<a href="mailto:elvis.stansvik@orexplore.com">elvis.stansvik@orexplore.com</a>><br>
To: VTK Users <<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>>, vtkdev <<a href="mailto:vtk-developers@vtk.org">vtk-developers@vtk.org</a>><br>
Subject: [vtkusers] Using system fonts on Windows (fontconfig<br>
        equivalent?)<br>
Message-ID:<br>
        <CAE-7VJ=<a href="mailto:A3YUvMeDeYHQsiKvetEdh_PNYX5zKip3qv6LfAha7tg@mail.gmail.com">A3YUvMeDeYHQsiKvetEdh<wbr>_PNYX5zKip3qv6LfAha7tg@mail.<wbr>gmail.com</a>><br>
Content-Type: text/plain; charset=UTF-8<br>
<br>
Hi all,<br>
<br>
Cross-posting since I'm not sure if vtkusers@ or vtk-developers@ is<br>
most appropriate for this.<br>
<br>
On Linux, I'm using the vtkRendereringFreeTypeFontConf<wbr>ig module, so<br>
that I can use system fonts (e.g. for charts labels et.c). The goal is<br>
to make VTK fonts match those used by Qt, so I'm using<br>
QFontDatabase::system(...) to query for the user's preferred font, and<br>
then use that in my VTK code. This is all working quite well.<br>
<br>
I'm now porting the application to Windows. Does VTK have any support<br>
for loading system fonts on Windows? Something similar to the<br>
vtkRendereringFreeTypeFontConf<wbr>ig, but for whatever font backend<br>
Windows uses?<br>
<br>
If not, has anyone had luck in building fontconfig for Windows, and<br>
using the vtkRendereringFreeTypeFontConf<wbr>ig module there? (I'm not even<br>
sure if fontconfig has support for hooking into Windows' font backend,<br>
so this may not be a solution at all).<br>
<br>
Many thanks in advance,<br>
Elvis<br>
<br>
<br>
------------------------------<br>
<br>
Message: 12<br>
Date: Tue, 11 Apr 2017 02:23:08 -0700 (MST)<br>
From: Ang <<a href="mailto:ysa0829@gmail.com">ysa0829@gmail.com</a>><br>
To: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Subject: Re: [vtkusers] Rendering Very Large Images<br>
Message-ID: <<a href="mailto:1491902588308-5742798.post@n5.nabble.com">1491902588308-5742798.post@<wbr>n5.nabble.com</a>><br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
Hi,<br>
<br>
The solution link is invalid.<br>
<br>
Could someone please give me some advice?<br>
<br>
Thanks for help.<br>
<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/Rendering-Very-Large-Images-tp1243278p5742798.html" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.<wbr>com/Rendering-Very-Large-<wbr>Images-tp1243278p5742798.html</a><br>
Sent from the VTK - Users mailing list archive at Nabble.com.<br>
<br>
<br>
------------------------------<br>
<br>
Message: 13<br>
Date: Tue, 11 Apr 2017 07:56:13 -0400<br>
From: Cory Quammen <<a href="mailto:cory.quammen@kitware.com">cory.quammen@kitware.com</a>><br>
To: Madan Kumar Y <<a href="mailto:mados316@gmail.com">mados316@gmail.com</a>><br>
Cc: VTK Mailing List <<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>><br>
Subject: Re: [vtkusers] error LNK1112: module machine type 'X86'<br>
        conflicts with target machine type 'x64'<br>
Message-ID:<br>
        <CAB5Fpx7BAjczd-<wbr>K4F0cF3MN5N4phjdCG4e210wK=<a href="mailto:xoM1B8HmSA@mail.gmail.com">xoM1<wbr>B8HmSA@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Either rebuild the 32 bit library as 64 bit, or rebuild the 64 libraries as<br>
32 bit. Those are your only options.<br>
<br>
HTH,<br>
Cory<br>
<br>
On Apr 11, 2017 2:57 AM, "Madan Kumar Y" <<a href="mailto:mados316@gmail.com">mados316@gmail.com</a>> wrote:<br>
<br>
> Hi Cory,<br>
> Even i think that's the issue, any suggestions.<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> Thanks,<br>
> Madan<br>
><br>
><br>
><br>
> --<br>
> View this message in context: <a href="http://vtk.1045678.n5.nabble" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble</a>.<br>
> com/Re-error-LNK1112-module-<wbr>machine-type-X86-conflicts-<br>
> with-target-machine-type-x64-<wbr>tp5742757p5742793.html<br>
> Sent from the VTK - Users mailing list archive at Nabble.com.<br>
> ______________________________<wbr>_________________<br>
> Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at <a href="http://www.kitware.com/" rel="noreferrer" target="_blank">http://www.kitware.com/</a><br>
> opensource/opensource.html<br>
><br>
> Please keep messages on-topic and check the VTK FAQ at:<br>
> <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_<wbr>FAQ</a><br>
><br>
> Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/vtkusers</a><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://public.kitware.com/pipermail/vtkusers/attachments/20170411/a61282f9/attachment-0001.html" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>pipermail/vtkusers/<wbr>attachments/20170411/a61282f9/<wbr>attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_<wbr>FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/vtkusers</a><br>
<br>
------------------------------<br>
<br>
End of vtkusers Digest, Vol 156, Issue 13<br>
******************************<wbr>***********<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><table border="0" cellpadding="0" cellspacing="0">
    <tbody>
        <tr>
            <td align="left" valign="bottom" width="107" style="line-height:0;vertical-align:bottom;padding-right:10px;padding-top:20px;padding-bottom:20px">
                <a href="https://about.me/sharmacartik?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=gmail_api" style="text-decoration:none" target="_blank">
                    <img src="https://thumbs.about.me/thumbnail/users/s/h/a/sharmacartik_emailsig.jpg?_1439341689_28" alt="" width="105" height="70" style="margin:0;padding:0;display:block;border:1px solid #eeeeee">
                </a>
            </td>
            <td align="left" valign="bottom" style="line-height:1.1;vertical-align:bottom;padding-top:20px;padding-bottom:20px">
                <img src="https://about.me/t/sig?u=sharmacartik" width="1" height="1" style="border:0;margin:0;padding:0;width:1;height:1;overflow:hidden">
                <div style="font-size:18px;font-weight:bold;color:#333333;font-family:'Proxima Nova',Helvetica,Arial,sans-serif!important">Cartik Sharma</div>
                <a href="https://about.me/sharmacartik?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=gmail_api" style="text-decoration:none;font-size:12px;color:#2b82ad;font-family:'Proxima Nova',Helvetica,Arial,sans-serif!important" target="_blank">about.me/sharmacartik
                </a>
            </td>
        </tr>
    </tbody>
</table>
</div>
</div>