Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

QT Data Visualization Line through Points



  • Hi Guys :)

    I am currently working with the scatter of the QT Example.

    I am now Adding Points to this Scatter and everthing wirks fine.

        QScatterDataArray *dataArray = new QScatterDataArray;
        dataArray->resize(m_itemCount);
        QScatterDataItem *ptrToDataArray = &dataArray->first();
        ptrToDataArray->setPosition(QVector3D(PositionSC[0],PositionSC[1],PositionSC[2]));
        ptrToDataArray++;
    

    Now i want to show a line through the Points i am adding to the scatter.
    Do sb now how i can realize this ?

    Hope that sb can Help me :)
    Thanks in advance!


Log in to reply