<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Nachricht</TITLE>

<META content="MSHTML 6.00.2800.1106" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=920420317-02022003><FONT face=Arial 
size=2>Hi!</FONT></SPAN></DIV>
<DIV><SPAN class=920420317-02022003><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=920420317-02022003><FONT face=Arial size=2>I am working on an 
integration of VTK into Studierstube (<A 
href="http://www.studierstube.org">www.studierstube.org</A>), a collaborative 
augmented-reality environment based on Open Inventor developed&nbsp;at the 
Vienna University of Technology.</FONT></SPAN></DIV>
<DIV><SPAN class=920420317-02022003><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=920420317-02022003><FONT face=Arial size=2>I have to subclass 
vtkCamera in order to align the two camera models.</FONT></SPAN></DIV>
<DIV><SPAN class=920420317-02022003><FONT face=Arial size=2>Now here's the 
problem: </FONT></SPAN><SPAN class=920420317-02022003><FONT face=Arial 
size=2>Some methods I&nbsp;have to overload are not defined 
virtual.</FONT></SPAN></DIV>
<DIV><SPAN class=920420317-02022003><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=920420317-02022003><FONT face=Arial size=2>The methods 
are:</FONT></SPAN></DIV>
<DIV><SPAN class=920420317-02022003><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=920420317-02022003><A class=el 
href="http://www.vtk.org/doc/nightly/html/classvtkCamera.html#z2854_0">GetPerspectiveTransformMatrix</A> 
</SPAN></DIV>
<DIV><SPAN class=920420317-02022003><A class=el 
href="http://www.vtk.org/doc/nightly/html/classvtkCamera.html#z2855_0">GetCompositePerspectiveTransformMatrix</A> 
</SPAN></DIV>
<DIV><SPAN class=920420317-02022003><A class=el 
href="http://www.vtk.org/doc/nightly/html/classvtkCamera.html#a13">GetViewTransformMatrix</A> 
</SPAN></DIV>
<DIV><SPAN class=920420317-02022003><A class=el 
href="http://www.vtk.org/doc/nightly/html/classvtkCamera.html#a21">GetViewTransformObject</A> 
</SPAN></DIV>
<DIV><SPAN class=920420317-02022003><A class=el 
href="http://www.vtk.org/doc/nightly/html/classvtkCamera.html#a17">GetFrustumPlanes</A></SPAN></DIV>
<DIV><SPAN class=920420317-02022003><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=920420317-02022003><FONT face=Arial size=2>Maybe some developer 
can change that in the current CVS version (changing the base class myself is 
only a temporary solution, I want to stay up-to-date with CVS). Just making 
these methods virtual would help me a lot, would not cause any harm, and only 
take 2mins of work.</FONT></SPAN></DIV>
<DIV><SPAN class=920420317-02022003><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=920420317-02022003><FONT face=Arial size=2>In general, it would 
be good to make all getters "virtual" (as vtkGetMacro does).</FONT></SPAN></DIV>
<DIV><SPAN class=920420317-02022003><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=920420317-02022003><FONT face=Arial size=2>This would be a 
great help, my current workaround will not work for general 
cases.</FONT></SPAN></DIV>
<DIV><SPAN class=920420317-02022003><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=920420317-02022003><FONT face=Arial 
size=2>--</FONT></SPAN></DIV>
<DIV><SPAN class=920420317-02022003><FONT face=Arial 
size=2>Thanks,</FONT></SPAN></DIV>
<DIV><SPAN class=920420317-02022003><FONT face=Arial size=2>Stefan 
Bruckner</FONT></SPAN></DIV></BODY></HTML>