https://github.com/NeuroanatomyAndConnectivity/vidview
Tip revision: a08f8878e4d91ae2d7a73ffc20168146eac1c29e authored by boettger on 04 March 2013, 18:09:51 UTC
ROI & connectivity drawing
ROI & connectivity drawing
Tip revision: a08f887
sconnections.h
#ifndef SCONNECTIONS_H
#define SCONNECTIONS_H
#include <QString>
#include <QList>
#include <QVector3D>
#include "primitive.h"
#include <qfile.h>
#include <qtextstream.h>
#include "node.h"
#include "QVector"
#include "indexedconnections.h"
class SConnections
{
public:
SConnections();
SConnections(QString nname, QString ename);
SConnections(QList<QVector3D> nodes, IndexedConnections* ics, QList<QVector3D>* allNodes = NULL, int offset=0);
void params();
QVector3D piv;
QVector3D max, min;
QList<QVector3D> nodes;
IndexedConnections* icons;
void createNodes(QList<QVector3D>* allNodes = NULL, int offset=0);
//TODO: This should be pointers...
QList<Node> dn;
void calculateBounds();
QList<int> label1;
QList<int> label2;
void loadLabels();
QString arg(QString argname);
double glyphAlpha, glyphRadius;
};
#endif // SCONNECTIONS_H