[vtk-developers] I would like to give some VTK classes
John Platt
jcplatt at dsl.pipex.com
Wed Jan 6 09:41:21 EST 2010
Dear Ferenc,
I have been trying to use QVTKOutputWindow on WinXP as follows
vtkQtOutputWindow* ow = vtkQtOutputWindow::New();
QVTKOutputWindow* qtow = new QVTKOutputWindow( this );
qtow ->setShowOnLogAdded( true );
ow ->DisplayText("some text");
but nothing is shown. I think the problem is that there are 2 instances of
vtkQtOutputWindow, "ow" and the instance created in the constructor of
QVTKOutputWindow, each sharing the single instance of vtkOutputWindow.
Nothing is shown because "ow" has no
TextEditTarget set.
It may be difficult to derive
vtkQtOutputWindow : public vtkOutputWindow
because vtkOutputWindow is a vtkWin32OutputWindow on Windows and not
vtkOutputWindow.
The potential for your classes is to be able to output QString's but I don't
see how this can be done at present.
Regards,
John.
----- Original Message -----
From: "Nasztanovics Ferenc" <naszta at naszta.hu>
To: <vtk-developers at vtk.org>
Sent: Tuesday, December 08, 2009 7:09 AM
Subject: [vtk-developers] I would like to give some VTK classes
Dear Kitware,
I use your VTK library for years. I would like to add 3 useful library for
QVTK.
For QVTK:
1) vtkQtOutputWindow
It is a subclass of vtkOutputWindow and it writes out VTK output to a Qt
widget (vtkQtOutTextWidget).
2) vtkQtOutTextWidget
It is a thread safe widget to write out VTK output. Qt 4.4 or higher its
base is QPlainTextEdit, else QTextEdit.
3) QVTKOutputWindow
It is a full implementation of output window. Practically it is made in
"main" function.
For Infovis:
4) vtkSimple3DCirclesStrategy
It is a graph drawing strategy. It works on vtkDirectedGraphs, where there
is no loop.
Best regards,
Ferenc Nasztanovics
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
>
More information about the vtk-developers
mailing list