v2.0.0
Loading...
Searching...
No Matches
MNELIB::MNEMshLightSet Class Reference

Collection of lights defining the lighting setup for 3-D rendering. More...

#include <mne_msh_light_set.h>

Public Types

typedef QSharedPointer< MNEMshLightSetSPtr
typedef QSharedPointer< const MNEMshLightSetConstSPtr

Public Member Functions

 MNEMshLightSet ()=default
 MNEMshLightSet (const MNEMshLightSet &other)
MNEMshLightSetoperator= (const MNEMshLightSet &other)
 MNEMshLightSet (MNEMshLightSet &&)=default
MNEMshLightSetoperator= (MNEMshLightSet &&)=default
 ~MNEMshLightSet ()=default
int nlight () const
 Returns the number of lights in the set.

Public Attributes

QString name
std::vector< std::unique_ptr< MNEMshLight > > lights

Detailed Description

Collection of lights defining the lighting setup for 3-D rendering.

Definition at line 71 of file mne_msh_light_set.h.

Member Typedef Documentation

◆ ConstSPtr

typedef QSharedPointer<const MNEMshLightSet> MNELIB::MNEMshLightSet::ConstSPtr

Const shared pointer type for MNEMshLightSet.

Definition at line 75 of file mne_msh_light_set.h.

◆ SPtr

Shared pointer type for MNEMshLightSet.

Definition at line 74 of file mne_msh_light_set.h.

Constructor & Destructor Documentation

◆ MNEMshLightSet() [1/3]

MNELIB::MNEMshLightSet::MNEMshLightSet ( )
default

Constructs an empty MNEMshLightSet.

◆ MNEMshLightSet() [2/3]

MNELIB::MNEMshLightSet::MNEMshLightSet ( const MNEMshLightSet & other)
inline

Definition at line 83 of file mne_msh_light_set.h.

◆ MNEMshLightSet() [3/3]

MNELIB::MNEMshLightSet::MNEMshLightSet ( MNEMshLightSet && )
default

◆ ~MNEMshLightSet()

MNELIB::MNEMshLightSet::~MNEMshLightSet ( )
default

Destructor.

Member Function Documentation

◆ nlight()

int MNELIB::MNEMshLightSet::nlight ( ) const
inline

Returns the number of lights in the set.

Definition at line 119 of file mne_msh_light_set.h.

◆ operator=() [1/2]

MNEMshLightSet & MNELIB::MNEMshLightSet::operator= ( const MNEMshLightSet & other)
inline

Definition at line 91 of file mne_msh_light_set.h.

◆ operator=() [2/2]

MNEMshLightSet & MNELIB::MNEMshLightSet::operator= ( MNEMshLightSet && )
default

Member Data Documentation

◆ lights

std::vector<std::unique_ptr<MNEMshLight> > MNELIB::MNEMshLightSet::lights

Owned light objects.

Definition at line 114 of file mne_msh_light_set.h.

◆ name

QString MNELIB::MNEMshLightSet::name

Name of this light set.

Definition at line 113 of file mne_msh_light_set.h.


The documentation for this class was generated from the following file: