What does QSurfaceDataRow do?



  • I have a working modeler based on the QSurface3D example from here:
    https://doc.qt.io/qt-5/qtdatavisualization-surface-example.html

    But some data sets produce full surfaces and others don't: either nothing shows-up or only segments of it are rendered.

    One thing I never found explained is the QSurfaceDataRow ... what does it do and why do we need them? I was looking for a way to just render a 3D surface from a collection of (x,y,z) points: I don't understand the row thing.

    I can organize my data so that all rows have the same size, but that doesn't seem to be enough to ensure rending on different data sets.

    Any insight will be appreciated.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.