v2.0.0
Loading...
Searching...
No Matches
polylineobject.h File Reference

PolylineObject class declaration. More...

#include "../disp3D_global.h"
#include <QByteArray>
#include <QColor>
#include <QString>
#include <QVector>
#include <memory>
#include <Eigen/Core>
Include dependency graph for polylineobject.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  DISP3DLIB::PolylineObject
 Connected line segments through an ordered list of points. More...

Namespaces

namespace  DISP3DLIB
 3-D brain visualisation using the Qt RHI rendering backend.

Detailed Description

PolylineObject class declaration.

SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2026 MNE-CPP Authors

Author
Christoph Dinh chris.nosp@m.toph.nosp@m..dinh.nosp@m.@mne.nosp@m.-cpp..nosp@m.org
Since
2.4.0
Date
July, 2026

A polyline is an ordered chain of points drawn as connected segments, for things like a head movement path, a dipole trajectory or a fibre tract.

This exists as its own renderable rather than reusing NetworkObject, which can also express a chain but is built for connectivity graphs: it draws a sphere at every point, it prunes segments by weight in DISP3DLIB::NetworkObject::setThreshold, and its node ids are qint16, which silently wraps past 32767 points. None of that suits an ordered path, so a polyline of N points here costs N-1 segment instances and nothing else.

Definition in file polylineobject.h.