[vtkusers] vtkDataSet::FindPoint, vtkExtractVOI and world coordinates?
David Gobbi
david.gobbi at gmail.com
Wed Sep 7 15:22:18 EDT 2016
On Wed, Sep 7, 2016 at 1:06 PM, Alvaro Sanchez <alvaro.sanchez at kitware.com>
wrote:
> On Wed, Sep 7, 2016 at 12:58 PM, David Gobbi <david.gobbi at gmail.com>
> wrote:
>
>>
>> a) I prefer mathematical abstractions over programatic abstractions. If
>> I have the equations, then I can combine them and simplify them and often
>> achieve nice performance gains as a result.
>>
>
> I totally agree David, I would even arrange transformation (2) into a
> matrix with a scaling diagonal (spacing) and a translation vector (origin)
> and apply (2) similarly to how (1) is applied.
>
Yup, and of course that's exactly how vtkImageReslice works: everything is
condensed into a single 4x4 matrix (in fact, the inner loop only uses one
column of that matrix).
- David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160907/d536d2d5/attachment.html>
More information about the vtkusers
mailing list