<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Nachricht</TITLE>
<META content="MSHTML 6.00.2713.1100" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=158284514-06092002>That
should work. I actually just saw the GetDataPointer() Method after I sent the
last message. </SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=158284514-06092002></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=158284514-06092002>I have
not tried stereo rendering yet ... you're having troubles with it,
ríght?</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=158284514-06092002></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=158284514-06092002>--</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=158284514-06092002>Stefan
Bruckner</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=de dir=ltr align=left><FONT face=Tahoma
size=2>-----Ursprüngliche Nachricht-----<BR><B>Von:</B> Steffen Oeltze
[mailto:Steffen.Oeltze@Student.Uni-Magdeburg.DE] <BR><B>Gesendet:</B> Freitag,
06. September 2002 16:20<BR><B>An:</B> Stefan Bruckner<BR><B>Cc:</B>
vtkusers@public.kitware.com<BR><B>Betreff:</B> Re: [vtkusers] Re: Best vtk /
QT package?<BR><BR></FONT></DIV>I have found a convenient way in the
meanwhile. When the user changes the rgb-values (the scalar value keeps the
same) of a point I simply use the function addRGBValue(...). VTK internally
replaces the old point by the new one. When the user changes the scalar value
I use the getDataPointer()-function which returns a pointer to the transfer
function and then, I manipulate the function directly by replacing the scalar
value each time the user moves a slider. This is actually what I'm planing to
do. I haven't implemented it yet. <BR>I expect to be at most 10 points in my
functions.<BR><BR>Have you tried to enable a vtkQtRenderWindow for stereo
rendering yet ?<BR><BR>Steffen<BR><BR><BR><BR><BR>Stefan Bruckner wrote:<BR>
<BLOCKQUOTE cite=mid:000901c255ae$6c569800$bc9fbad4@SID type="cite">
<META content="MSHTML 6.00.2713.1100" name=GENERATOR>
<DIV>
<DIV><SPAN class=229565113-06092002><FONT face=Arial size=2><FONT
face=Arial>What I did in the Java-Program is to simple store the function
currently displayed in the edior in an array. When the vtk window has to be
redrawn and the transfer function has been modified, I just create a new
vtkColorTransferFunction from the array. Although this is of course not
optimal, the overhead introduced is negligible, if node counts don't
get to high. How many nodes do you expect to be in your
functions?</FONT></FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><FONT face=Tahoma><FONT size=2><SPAN
class=229565113-06092002> </SPAN>-----Ursprüngliche
Nachricht-----<BR><B>Von:</B> Steffen Oeltze [<A class=moz-txt-link-freetext
href="mailto:Steffen.Oeltze@Student.Uni-Magdeburg.DE">mailto:Steffen.Oeltze@Student.Uni-Magdeburg.DE</A>]
<BR><B>Gesendet:</B> Freitag, 06. September 2002 09:45<BR><B>An:</B> Stefan
Bruckner; VTK users<BR><B>Betreff:</B> Re: [vtkusers] Re: Best vtk / QT
package?<BR><BR></FONT></FONT></FONT></DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px"><FONT face=Arial size=2>I have got a
question concerning the package you have mentioned. I'm using vtkqt by
Matthias Koenig which works fine except for the fact that I'm not able to
render stereo in his vtkQtRenderWindow. Calling the method
"StereoCapableOn()" results in an error. Could you please test for me if
this method works with the package you are using ?<BR><BR>A week ago I
downloaded your java-program to graphically edit a transfer function. I'm
trying to<BR>implement something similar using Qt. Unfortunately, I
encountered a problem concerning the<BR>editing of a
vtkColorTransferFunction. You can add a point to this function and
you can remove<BR>one but I couldn't find a method to modify an already
existing point. However, this is necessary<BR>for my application because I
want to enable the user to change the transfer function
interactively.<BR>The problem is that I don't want a new point to be added
each time the user changes the color<BR>but I want to modify the recently
added point. How did you manage this
?<BR><BR>Regards,<BR>Steffen<BR><BR>Stefan Bruckner wrote:<BR></FONT>
<BLOCKQUOTE cite=mid:1031257530.14474.14.camel@NANCY type="cite"><PRE wrap=""><FONT face=Arial size=2>I've examined nearly all of the packages out there, most of them are<BR>pretty outdated. The best and probably most current (VTK 4, QT 3) is<BR>VTK_QT by Carsten Kuebler. <BR><BR>Source is provided in an MS Visual Studio project, but I've managed to<BR>compile it under Linux within minutes without problems.<BR><BR>Download: <A class=moz-txt-link-freetext href="http://wwwipr.ira.uka.de/%7Ekuebler/vtkqt/index.html">http://wwwipr.ira.uka.de/~kuebler/vtkqt/index.html</A><BR><BR>--<BR>Stefan Bruckner<BR><BR><BR></FONT></PRE>
<BLOCKQUOTE type="cite"><PRE wrap=""><FONT face=Arial size=2>I am trying to get vtk and qt working properly.<BR><BR>Which is the best vtk/qt package available?<BR>Which has the best chance of being supported in the future?<BR>Which should I avoid altogether? (maybe too old to work with newer<BR>versions?)<BR><BR>I appreciate all help and opinions!<BR><BR>Thanks,<BR>Alex Lear<BR><BR>_______________________________________________<BR>This is the private VTK discussion list. <BR>Please keep messages on-topic. Check the FAQ at:<BR></FONT></PRE></BLOCKQUOTE><PRE wrap=""><!----><FONT face=Arial size=2><A class=moz-txt-link-rfc2396E href="http://public.kitware.com/cgi-bin/vtkfaq"><http://public.kitware.com/cgi-bin/vtkfaq></A><BR></FONT></PRE>
<BLOCKQUOTE type="cite"><PRE wrap=""><FONT face=Arial size=2>Follow this link to subscribe/unsubscribe:<BR><A class=moz-txt-link-freetext href="http://public.kitware.com/mailman/listinfo/vtkusers">http://public.kitware.com/mailman/listinfo/vtkusers</A><BR></FONT></PRE></BLOCKQUOTE><PRE wrap=""><!----><FONT face=Arial size=2><BR><BR><BR><BR>_______________________________________________<BR>This is the private VTK discussion list. <BR>Please keep messages on-topic. Check the FAQ at: <A class=moz-txt-link-rfc2396E href="http://public.kitware.com/cgi-bin/vtkfaq"><http://public.kitware.com/cgi-bin/vtkfaq></A><BR>Follow this link to subscribe/unsubscribe:<BR><A class=moz-txt-link-freetext href="http://public.kitware.com/mailman/listinfo/vtkusers">http://public.kitware.com/mailman/listinfo/vtkusers</A><BR><BR></FONT></PRE></BLOCKQUOTE><FONT
face=Arial
size=2><BR></FONT></BLOCKQUOTE></DIV></BLOCKQUOTE><BR></BLOCKQUOTE></BODY></HTML>