54 #include <ACG/GL/acg_glew.hh> 55 #include "QtBaseViewer.hh" 56 #include "QtGLGraphicsScene.hh" 57 #include "QtGLGraphicsView.hh" 60 #include "../GL/GLState.hh" 101 QDataStream out(&datagram, QIODevice::WriteOnly);
104 quint64 myId = (quint64) winId();
107 << m(0,0) << m(0,1) << m(0,2) << m(0,3)
108 << m(1,0) << m(1,1) << m(1,2) << m(1,3)
109 << m(2,0) << m(2,1) << m(2,2) << m(2,3)
110 << m(3,0) << m(3,1) << m(3,2) << m(3,3)
111 << p(0,0) << p(0,1) << p(0,2) << p(0,3)
112 << p(1,0) << p(1,1) << p(1,2) << p(1,3)
113 << p(2,0) << p(2,1) << p(2,2) << p(2,3)
114 << p(3,0) << p(3,1) << p(3,2) << p(3,3)
120 for (
int i=6666; i<6676; ++i)
121 if (i !=
socket_->localPort() || h != 0)
130 quint64 id, myId = (quint64) winId();
133 QByteArray datagram(
socket_->pendingDatagramSize(),
'x' );
134 socket_->readDatagram( datagram.data(), datagram.size() );
137 if (datagram.size() < 280)
140 QDataStream in( & datagram, QIODevice::ReadOnly);
148 in >> m(0,0) >> m(0,1) >> m(0,2) >> m(0,3)
149 >> m(1,0) >> m(1,1) >> m(1,2) >> m(1,3)
150 >> m(2,0) >> m(2,1) >> m(2,2) >> m(2,3)
151 >> m(3,0) >> m(3,1) >> m(3,2) >> m(3,3)
152 >> p(0,0) >> p(0,1) >> p(0,2) >> p(0,3)
153 >> p(1,0) >> p(1,1) >> p(1,2) >> p(1,3)
154 >> p(2,0) >> p(2,1) >> p(2,2) >> p(2,3)
155 >> p(3,0) >> p(3,1) >> p(3,2) >> p(3,3)
156 >> w >> h >> pMode >> orthoWidth_;
169 action_[
"PasteDropSize"]->isChecked() )
172 glView_->setFixedSize(w,h);
205 SIGNAL( readyRead() ),
224 if (adr.setAddress(_name))
233 QHostInfo hi = QHostInfo::fromName( _name );
234 QList<QHostAddress> list = hi.addresses();
Namespace providing different geometric functions concerning angles.
void set_modelview(const GLMatrixd &_m)
set modelview
const GLMatrixd & modelview() const
get modelview matrix
void set_projection(const GLMatrixd &_m)
set projection
const GLMatrixd & projection() const
get projection matrix