https://github.com/NeuroanatomyAndConnectivity/vidview
Raw File
Tip revision: a08f8878e4d91ae2d7a73ffc20168146eac1c29e authored by boettger on 04 March 2013, 18:09:51 UTC
ROI & connectivity drawing
Tip revision: a08f887
node.h
#ifndef NODE_H
#define NODE_H

#include <primitive.h>
#include <connection.h>

class Node
{
public:
    Node(QVector3D p);
    QVector3D p;

    //List, because a node can be connected to the same cluster multiple times...
    QList<int> clustergroups;

    //List of edges connected to this node for references between diff. surfaces: Original ordering
    QList<Connection*> ncs;
    //sorted Edges
    QList<Connection*> sncs;

    QVector3D normal;

    void indexCons();
    void sortNCS();

    bool operator ==(Node const& n);
    void buildRot(float m[16]);
    void calcMatrix();
    QString arg(QString argname);
};

#endif // NODE_H
back to top