<div dir="ltr">Will this make a difference?<br><br><pre class="de1"><font size="4">renderer<span class="sy2">-</span><span class="sy1">>AddActor2D</span><span class="br0">(</span>imageActor<span class="br0">)</span></font><span class="sy4"><font size="4">;<br>
</font><br>Jothy<br></span></pre><br><br><div class="gmail_quote">On Fri, Sep 23, 2011 at 4:35 PM, David Doria <span dir="ltr"><<a href="mailto:daviddoria@gmail.com">daviddoria@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Getting closer! The image is now displayed, but it is very very small,<br>
and in the bottom left corner of the renderer:<br>
<div class="im"><br>
<a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Broken/Visualization/ImageMapper" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Broken/Visualization/ImageMapper</a><br>
<br>
</div>Any further suggestions?<br>
<br>
Thanks,<br>
<font color="#888888"><br>
David<br>
</font><div><div></div><div class="h5"><br>
<br>
<br>
On Fri, Sep 23, 2011 at 10:51 AM, Jothy <<a href="mailto:jothybasu@gmail.com">jothybasu@gmail.com</a>> wrote:<br>
> I think, if you have unsignedChar then try<br>
><br>
> SetColorWindow(255)<br>
> SetColorLevel (127.5)<br>
><br>
> Jothy<br>
><br>
><br>
> On Fri, Sep 23, 2011 at 3:25 PM, David Doria <<a href="mailto:daviddoria@gmail.com">daviddoria@gmail.com</a>> wrote:<br>
>><br>
>> Hi Jothy,<br>
>><br>
>> What would I set those two values to to display the image normally?<br>
>><br>
>> Thanks,<br>
>><br>
>> David<br>
>><br>
>><br>
>><br>
>> On Fri, Sep 23, 2011 at 10:09 AM, Jothy <<a href="mailto:jothybasu@gmail.com">jothybasu@gmail.com</a>> wrote:<br>
>> > I think that can be manipulated by setColorWindow() and setColorlevel()<br>
>> > in<br>
>> > imageMapper.<br>
>> ><br>
>> > Jothy<br>
>> ><br>
>> > On Fri, Sep 23, 2011 at 2:30 PM, David Doria <<a href="mailto:daviddoria@gmail.com">daviddoria@gmail.com</a>><br>
>> > wrote:<br>
>> >><br>
>> >> Though this class is probably deprecated by the new<br>
>> >> vtkImageSliceMapper, we should probably have some record of how it is<br>
>> >> intended to be used. I gave it a shot:<br>
>> >><br>
>> >><br>
>> >> <a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Broken/Visualization/ImageMapper" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Broken/Visualization/ImageMapper</a><br>
>> >><br>
>> >> but all I get is a blank window. Anyone know what is going wrong here?<br>
>> >><br>
>> >> Thanks,<br>
>> >><br>
>> >> David<br>
>> >> _______________________________________________<br>
>> >> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>> >><br>
>> >> Visit other Kitware open-source projects at<br>
>> >> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>> >><br>
>> >> Please keep messages on-topic and check the VTK FAQ at:<br>
>> >> <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
>> >><br>
>> >> Follow this link to subscribe/unsubscribe:<br>
>> >> <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
>> ><br>
>> ><br>
>> ><br>
>> > --<br>
>> > Jothybasu K Selvaraj<br>
>> > PhD Student<br>
>> > University of Liverpool<br>
>> > Liverpool,UK<br>
>> ><br>
>> ><br>
><br>
><br>
><br>
> --<br>
> Jothybasu K Selvaraj<br>
> PhD Student<br>
> University of Liverpool<br>
> Liverpool,UK<br>
><br>
><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">Jothybasu K Selvaraj<br>PhD Student<br>University of Liverpool<br>Liverpool,UK<br></div><br>
</div>