John-<br><br>Something similar has been evolving in the ITK world for a while now. While transforms were added to ITK&#39;s image, the problem is that many of the algorithms are spatially sensitive (e.g., derivatives) and must be rewritten to accommodate the transform. There is some controversy because this slows execution down, adds complexity, and the last I checked not everything was rewritten. But there is a chance that you can do what you want in ITK, and in case some work has to be done there is a potential path to accept any changes that you might make. You&#39;ll have to deal with interfacing between VTK and ITK, the more complex coding style of ITK, and of course contributing changes into ITK can be harder because the community scrutinizes them more thorougly via the Insight Journal and other processes.<br>
<br>You&#39;ll want to check with an ITK expert like Luis Ibanez or Stephen Aylward (and of course the mailing list) for a more accurate description of the current ITK situation.<br><br>W<br><br><div class="gmail_quote">On Thu, Nov 13, 2008 at 3:45 AM, John Biddiscombe <span dir="ltr">&lt;biddisco@cscs.ch&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I started writing some code for a particular job yesterday and then realized that I can&#39;t do what I want to because it is not possible to have a non-axis aligned vtkImageData - or better vtkUniformGrid.<br>

<br>
I wonder if there is a solution to having an image-like structure that is non axis aligned using some AMR box or heirarchical box dataset instead. I had a quick look at the classes, but didn&#39;t see an immediate solution. I need the dataset to be efficient like vtkImageData, but arbitrarily orientated. I need to add a transform to a vtkImageData at the dataset level, applying a transform to an actor would not help. The data needs to be really transformed in space (for resampling purposes).<br>

<br>
Can anyone suggest an alternative?<br>
<br>
If not, is there any other demand for modifying vtkUniformGrid perhaps to take a transform so that functions like findcell/getpoint/bounds etc are routed through it? (also, would it be realistic to add this to uniform grid, or are there too many places where assumptions are made about voxel corners etc).<br>

<br>
thanks<br>
<br>
JB<br>
<br>
-- <br>
John Biddiscombe, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;email:biddisco @ cscs.ch<br>
<a href="http://www.cscs.ch/" target="_blank">http://www.cscs.ch/</a><br>
CSCS, Swiss National Supercomputing Centre &nbsp;| Tel: &nbsp;+41 (91) 610.82.07<br>
Via Cantonale, 6928 Manno, Switzerland &nbsp; &nbsp; &nbsp;| Fax: &nbsp;+41 (91) 610.82.82<br>
<br>
<br>
_______________________________________________<br>
vtk-developers mailing list<br>
<a href="mailto:vtk-developers@vtk.org" target="_blank">vtk-developers@vtk.org</a><br>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>William J. Schroeder, PhD<br>Kitware, Inc.<br>28 Corporate Drive<br>Clifton Park, NY 12065<br><a href="mailto:will.schroeder@kitware.com">will.schroeder@kitware.com</a><br>
<a href="http://www.kitware.com">http://www.kitware.com</a><br>518-371-3971 (phone and fax)<br>