<div dir="ltr">Hi, <div style> Could you please tell me, what are port index in VTK functions? </div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jul 8, 2013 at 5:51 PM, David Doria <span dir="ltr"><<a href="mailto:daviddoria@gmail.com" target="_blank">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"><div dir="ltr">In the future, please keep the conversation on the mailing list so that everyone can participate/benefit from the discussion.<br>
<br>I believe what you're seeing is a contrast adjustment mechanism (called "window level events" - <a href="http://www.vtk.org/doc/nightly/html/classvtkInteractorStyleImage.html#details" target="_blank">http://www.vtk.org/doc/nightly/html/classvtkInteractorStyleImage.html#details</a>).<span class="HOEnZb"><font color="#888888"><br>
</font></span></div><div class="gmail_extra"><span class="HOEnZb"><font color="#888888"><br clear="all"><div><br>David</div></font></span><div><div class="h5">
<br><br><div class="gmail_quote">On Mon, Jul 8, 2013 at 11:48 AM, rahul indoria <span dir="ltr"><<a href="mailto:rahulindoria5@gmail.com" target="_blank">rahulindoria5@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi David,<div> I have one more question regarding this example, in the output of this example(<a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/ImageSliceMapper" style="font-size:12.800000190734863px;font-family:arial,sans-serif" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/ImageSliceMapper</a>), why we are getting different colors of the image, when i am left-clicking on the image and moving mouse up and down?</div>
<div>
<div><br></div><div>Looking forward your reply soon.</div><div><br></div><div><br></div></div><span><font color="#888888"><div>rahul indoria</div></font></span></div><div class="gmail_extra"><div><div>
<br><br><div class="gmail_quote">On Mon, Jul 8, 2013 at 3:22 PM, David Doria <span dir="ltr"><<a href="mailto:daviddoria@gmail.com" target="_blank">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"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>On Mon, Jul 8, 2013 at 9:05 AM, rahul indoria <span dir="ltr"><<a href="mailto:rahulindoria5@gmail.com" target="_blank">rahulindoria5@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div> I was modifying this example: <a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/ImageSliceMapper" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/ImageSliceMapper</a></div>
<div>
in this example, i am deleting the object vtkImageSlice, and when i am putting the object "imageSliceMapper" i getting an error?</div><div><br></div><div>As vtkimageslice class used to represent an image in a 3D scene, i don`t want to display this in 3D scene, just want to display on the screen that`s why i am deleting this class, so why i am getting this error?</div>
<div><br></div><div>I modified this code like this :</div></div></blockquote><div><br></div></div><div>What do you want to do if not display the image? The problem is that you can't call <span></span>AddViewProp on a mapper - it has to be a vtkProp<span></span> subclass (like the <span></span>vtkImageSlice<span> was</span>). In the future, please include the exact error that you are getting.<span><font color="#888888"><br clear="all">
<div><br>David</div></font></span></div></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div></div></div><div>-- <br><div dir="ltr"><span style="color:rgb(0,0,255)"><b>Best Regards<br>Rahul Indoria<br>Mobile No: <a href="tel:%2B49-157-35652212" value="+4915735652212" target="_blank">+49-157-35652212</a></b></span><br>
</div>
</div></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><span style="color:rgb(0,0,255)"><b>Best Regards<br>Rahul Indoria<br>Mobile No: +49-157-35652212</b></span><br></div>
</div>