<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">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>What do you want to do if not display the image? The problem is that you can't call <span class=""></span>AddViewProp on a mapper - it has to be a vtkProp<span class=""></span> subclass (like the <span class=""></span>vtkImageSlice<span class=""> was</span>). In the future, please include the exact error that you are getting.<br clear="all">
<div><br>David</div></div></div></div></div>