[vtkusers] Regarding example VTKimagereslicemapper

rahul indoria rahulindoria5 at gmail.com
Mon Jul 8 14:12:06 EDT 2013


Hi,
    Could you please tell me, what are port index in VTK functions?


On Mon, Jul 8, 2013 at 5:51 PM, David Doria <daviddoria at gmail.com> wrote:

> In the future, please keep the conversation on the mailing list so that
> everyone can participate/benefit from the discussion.
>
> I believe what you're seeing is a contrast adjustment mechanism (called
> "window level events" -
> http://www.vtk.org/doc/nightly/html/classvtkInteractorStyleImage.html#details
> ).
>
>
> David
>
>
> On Mon, Jul 8, 2013 at 11:48 AM, rahul indoria <rahulindoria5 at gmail.com>wrote:
>
>> Hi David,
>>                I have one more question regarding this example, in the
>> output of this example(
>> http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/ImageSliceMapper), why
>> we are getting different colors of the image, when i am left-clicking on
>> the image and moving mouse up and down?
>>
>> Looking forward your reply soon.
>>
>>
>> rahul indoria
>>
>>
>> On Mon, Jul 8, 2013 at 3:22 PM, David Doria <daviddoria at gmail.com> wrote:
>>
>>> On Mon, Jul 8, 2013 at 9:05 AM, rahul indoria <rahulindoria5 at gmail.com>wrote:
>>>
>>>> Hi,
>>>>    I was modifying this example:
>>>> http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/ImageSliceMapper
>>>>  in this example, i am deleting the object vtkImageSlice, and when i am
>>>> putting the object "imageSliceMapper" i getting an error?
>>>>
>>>> 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?
>>>>
>>>> I modified this code like this :
>>>>
>>>
>>> What do you want to do if not display the image? The problem is that you
>>> can't call AddViewProp on a mapper - it has to be a vtkProp subclass
>>> (like the vtkImageSlice was). In the future, please include the exact
>>> error that you are getting.
>>>
>>> David
>>>
>>
>>
>>
>> --
>> *Best  Regards
>> Rahul Indoria
>> Mobile No: +49-157-35652212*
>>
>
>


-- 
*Best  Regards
Rahul Indoria
Mobile No: +49-157-35652212*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130708/8de03097/attachment.htm>


More information about the vtkusers mailing list