[vtkusers] Moving an ImageData
Francois Bertel
francois.bertel at kitware.com
Wed Feb 10 15:07:11 EST 2010
Your image is coming from a reader, so when you call update() on the
image you actually asking the reader to update the image, which
probably overwrite the origin you just set on the image itself.
Use SetDataOrigin() on the reader instead, or don't call update() on the image.
On Wed, Feb 10, 2010 at 3:03 PM, KS Jothybasu <jothybasu at gmail.com> wrote:
> You some set of pixels, if so please let me know.
>
> I am planning to do the same stuff by applying transformations!
>
> Jothy
>
> On Wed, Feb 10, 2010 at 8:00 PM, David Doria <daviddoria+vtk at gmail.com>
> wrote:
>>
>> On Wed, Feb 10, 2010 at 2:59 PM, KS Jothybasu <jothybasu at gmail.com> wrote:
>>>
>>> I think you could set that with ImageActor->SetPosition()
>>>
>>> Jothy
>>>
>>
>> That would get the image actor in the right place, sure, but is there not
>> a way to actually moving the underlying data?
>> Thanks,
>>
>> David
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the VTK FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
>>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
--
François Bertel, PhD | Kitware Inc. Suite 204
1 (518) 371 3971 x113 | 28 Corporate Drive
| Clifton Park NY 12065, USA
More information about the vtkusers
mailing list