Modified version of the original sintegrial/QwtPlot3D library to use QOpenGLWidget
sintegrial / qwtplot3d Goto Github PK
View Code? Open in Web Editor NEWExtended version of the original QwtPlot3D library
License: Other
Extended version of the original QwtPlot3D library
License: Other
How to change the size of the volume plot midpoint ?
Please include installation instructions for beginners.
after cd into the qwtplot3d folder what's next?
sudo qmake qwtplot3d.pro
and then...?
The recent addition of _isnan breaks builds on Mac OSX.
isnan is a valid replacement.
Can a conditional check for Q_OS_MAC be created somewhere that will define _isnan to be isnan.
Not 100% sure the best way to do this or I would submit a patch.
Thanks
I'm getting these white lines thru the center of my plots. It seems to happen on large mesh files. By larger, I mean greater than 2000x2000. It also happens on smaller meshes when the resolution is lowered, as in the 3rd and 4th images which is a 1200x1200 mesh.
EDIT: apparently the white lines appear on any mesh whenever a lower than full-resolution is selected.
Hello,
Working on this began 2 day ago but failed to implement one.
I have duplicated a demo and re-configure it as a single project. For example, the simpleplot or dynamic plot can work well as a single project but shows memory violation error while I tried to display it inside a frame. Here is what I did
The object is declared as a member of TestGUI inheritted from QMainWindow
#include
#include "difplot.h" // given simply qwt3d plot things
namespace Ui {
class TestGui;
}
class TestGui : public QMainWindow
{
Q_OBJECT
public:
explicit TestGui(QWidget *parent = 0);
~TestGui();
private:
Ui::TestGui *ui;
Qwt3D::GridPlot * oPlot;
};
#endif // TESTGUI_H
What I can do to show it in TestGui.cpp if the main.cpp given as
#include "testgui.h"
#include
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
TestGui w;
w.show();
return a.exec();
}
0
Hi,
I cloned the git repository yesterday and tried to build with both QtCreator and VS2010, on Windows 7, with QT 4.8.2.
I get the following error:
d:\3rd_party\qwtplot3d\qwtplot3d-qt4.8.6-vs2010-x86\include\qwt3d_types.h(247): error C3861: 'isnan': identifier not found
It seems Q_OS_WIN is not defined.
When using the mesh program and after opening the Lighting dialog, you can't close the dialog by pressing OK. OK simply doesn't work and you have to close the dialog by pressing the X in the dialog's title bar.
Hi,
In last qwtplot3d version, I am able to compile only the debug configuration. When I switch in Release configuration I get the following error:
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets(392,5): warning MSB8028: The intermediate directory (Win32\Release) contains files shared from another project (qwtplot3d.vcxproj). This can lead to incorrect clean and rebuild behavior.
Moc'ing qwt3d_extglwidget.h...
Moc'ing qwt3d_gridplot.h...
Moc'ing qwt3d_plot3d.h...
Moc'ing qwt3d_surfaceplot.h...
Generate moc_predefs.h
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(171,5): error MSB6006: "cmd.exe" exited with code 2
Enviroment info:
Visual Studio 2015
Qt 5.8
Platform x86
Any suggestion or tip?
Thanks in advance
Giorgio
Hi all,
we've been using this library in our projects and it has been working greatly.
Unfortunately after upgrading our application from Qt 5.9 to 5.12, the widget where the plot should be is not properly rendered anymore, it is completely blank. We think it is an issue caused by the base class the plots derive from, QGLWidget. That class has been deprecated and it is not supported anymore. New applications are encouraged to use the new class QOpenGLWidget.
As a matter of fact we modified the library to use the new class and the applications is now working as expected.
The new modified library is available here
https://github.com/calogeromauceri/qwtplot3d/tree/port_to_qopenglwidget
The library is working in our use cases, but some examples are not working anymore. More work is needed to finalize it, but we do not have enough resources to allocate to this. For that reason the new code is there for whoever wants to contribute.
We will send a "pull request" to merge our changes to the original project, hoping this can help in keeping this lib alive and useful.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.