<div dir="ltr">Imre,<div><br></div><div>Have you looked at the charting API, e.g., vtkChartXYZ? I don't know if that does exactly what you want, but it may be more in line with what you are after.</div><div><br></div><div>- Cory</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Dec 6, 2015 at 6:23 AM, Imre Goretzki <span dir="ltr"><<a href="mailto:goretzki.imre@gmail.com" target="_blank">goretzki.imre@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Hey guys,<br>
<br>
here is a 2D example of what I wanted to do. I think data
transformation would not be the correct way of doing this.<div><div class="h5"><br>
<br>
<br>
<div>Am 05.12.2015 um 09:35 schrieb Imre
Goretzki:<br>
</div>
<blockquote type="cite">
Cory,<br>
<br>
is it possible to change the tick of the axes? Right know using
the transform filter is equivalent to the second image.
Unfortunately that is not what I would like to have. I think the
best way to do this is to change to tick of the Z-Dimension.<br>
<br>
The image has the dimensions 520x520x47. So the tick for x and y
is 1, for z it should be 47/520. I don't want to change the data.<br>
<br>
Imre<br>
<br>
<div>Am 04.12.2015 um 20:56 schrieb Cory
Quammen:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Imre,
<div><br>
</div>
<div>Your best bet is probably to transform the data itself
rather than the user transform of the actors.</div>
<div><br>
</div>
<div>vtkSmartPointer<vtkTransformFilter> transformFilter
= vtkSmartPointer<vtkTransformFilter>::New();</div>
<div>transformFilter->SetTransform(axis);</div>
<div>transformFilter->SetInputData(<your input
data>);</div>
<div><br>
</div>
<div>HTH,</div>
<div>Cory</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, Dec 4, 2015 at 1:48 PM, Imre
Goretzki <span dir="ltr"><<a href="mailto:goretzki.imre@gmail.com" target="_blank">goretzki.imre@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have
data like this:<br>
<a href="http://i.imgur.com/CR2O8Ik.png" rel="noreferrer" target="_blank">http://i.imgur.com/CR2O8Ik.png</a><br>
and I would like to "stretch" the Z-axis to get more like
a cube visualization.<br>
<br>
I used vtkTransform to transform the axes, but I would
change the data if I do this. I hope you understand what I
want to do, e.g. is there a possibility to change /
stretch the ticks of a specific axis.<br>
<br>
The vtkTransform plot stretches to much:<br>
<a href="http://i.imgur.com/DDUW91T.png" rel="noreferrer" target="_blank">http://i.imgur.com/DDUW91T.png</a><br>
The data is deformed<br>
<br>
I use the vtkTransform like this:<br>
vtkSmartPointer<vtkTransform> axis =
vtkSmartPointer<vtkTransform>::New();<br>
axis->Scale(1,1,10);<br>
<br>
dataActor->SetUserTransform(axis);<br>
outlineActor->SetUserTransform(axis);<br>
<br>
I tried using the camera with the vtkTransform, but the
only thing I got from there, was an empty image or I had
to zoom out greatly.<br>
<br>
For matlab reference, something like this:<br>
<a href="http://de.mathworks.com/help/matlab/ref/axis.html?refresh=true" rel="noreferrer" target="_blank">http://de.mathworks.com/help/matlab/ref/axis.html?refresh=true</a><br>
<br>
Would be nice if you could help me<span><font color="#888888"><br>
<br>
Imre</font></span>
<div>
<div><br>
<br>
Am 03.12.2015 um 22:20 schrieb Imre Goretzki:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hey guys<br>
<br>
i'd like to ask you if there's a equivalent method
for vtkRenderWindow for equalizing the axis, just
like MATLABs axis equal. Could vtkAxesActor be
helpful?<br>
<br>
I hope you can help<br>
<br>
Thanks<br>
Imre<br>
<br>
</blockquote>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank"></a><a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ
at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank"></a><a href="http://markmail.org/search/?q=vtkusers" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div>Cory Quammen<br>
R&D Engineer<br>
Kitware, Inc.</div>
</div>
</blockquote>
<br>
</blockquote>
<br>
</div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Cory Quammen<br>R&D Engineer<br>Kitware, Inc.</div>
</div>