[vtkusers] RenderWindow question...

N Smethurst nick.smethurst at free.fr
Thu Feb 27 16:55:13 EST 2003


Hi again..

I am developing a KDE application that uses VTK, and KDE only runs on
X-Windows, so does this mean I can use vtkXOpenGLRenderWindow directly?
Are there any necessary methods/attributes that are called/created at
creation/destruction that would be missed out if the superclass is not used?

Thanks for the advice..

Nick


Le Jeudi 27 Février 2003 22:37, Charl P. Botha a écrit :
> On Thu, Feb 27, 2003 at 10:34:08PM +0100, N Smethurst wrote:
> > Le Jeudi 27 Février 2003 22:14, Charl P. Botha a écrit :
> > > Also, you shouldn't use vtkXOpenGLRenderWindow directly.
> >
> > Excluding the platform independence reason which is not applicable in
> > many cases, Could you explain why not? Are there any technical problems
> > if it is used directly?
>
> In theory there should be no problems, since it's a grandchild of
> vtkRenderWindow.   It's still highly recommended to use the
> vtkRenderWindow class instead of any specialisation.




More information about the vtkusers mailing list