qwt3d display the number of every node in 3d surfaceplot

Hi!
I want to make a graph with some points in the 3d space.I want to display the number of every node in a 3d surfaceplot
I add the data with loadFromData(Qwt3D::TripleField,Qwt3D::CellField );
But i only get the lines(edges) in 3dspace how can i display also a number for every node?? the code that i use is

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
    alpha::alpha(QWidget* parent)
    :SurfacePlot(parent)
    {
    setPlotStyle(Qwt3D::WIREFRAME);
    setRotation(30,0,15);
    setScale(1,1,1);
    setZoom(0.9);
    setShift(0.15,0,0);
     
     
     
    //const QModelIndex mi;
     
     
    //m->getdata1() returns Qwt3D::TripleField and m->GetData2() returns Qwt3D::CellField
    loadFromData(m->GetData1(), m->GetData2());
     
    for (unsigned i=0; i!=coordinates()->axes.size(); ++i)
    {
    coordinates()->axes[i].setMajors(7);
    coordinates()->axes[i].setMinors(4);
    }
     
    coordinates()->axes[Qwt3D::X1].setLabelString("x-axis");
    coordinates()->axes[Qwt3D::Y1].setLabelString("y-axis");
    coordinates()->axes[Qwt3D::Z1].setLabelString("z-axis");
     
    setCoordinateStyle(Qwt3D::FRAME);
    setMeshLineWidth(2);
    updateData();
    updateGL();
    }
Topic archived. No new replies allowed.