17#ifndef MNEMSHLIGHTSET_H
18#define MNEMSHLIGHTSET_H
38#include <QSharedPointer>
55 typedef QSharedPointer<MNEMshLightSet>
SPtr;
56 typedef QSharedPointer<const MNEMshLightSet>
ConstSPtr;
69 lights.push_back(std::make_unique<MNEMshLight>(*l));
78 for (
const auto& l : other.
lights)
79 lights.push_back(std::make_unique<MNEMshLight>(*l));
95 std::vector<std::unique_ptr<MNEMshLight>>
lights;
MNELIB shared-library export/import macros and library build metadata.
Single directional / positional light source for the mesh viewer.
Core MNE data structures (source spaces, source estimates, hemispheres).
MNEMshLightSet(const MNEMshLightSet &other)
~MNEMshLightSet()=default
int nlight() const
Returns the number of lights in the set.
MNEMshLightSet(MNEMshLightSet &&)=default
QSharedPointer< MNEMshLightSet > SPtr
MNEMshLightSet & operator=(MNEMshLightSet &&)=default
std::vector< std::unique_ptr< MNEMshLight > > lights
QSharedPointer< const MNEMshLightSet > ConstSPtr
MNEMshLightSet & operator=(const MNEMshLightSet &other)