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

Single light source with position, color, and state for 3-D surface rendering. More...

#include <mne_msh_light.h>

Public Types

typedef QSharedPointer< MNEMshLightSPtr
typedef QSharedPointer< const MNEMshLightConstSPtr

Public Member Functions

 MNEMshLight ()
 MNEMshLight (const MNEMshLight &p_mneMshLight)
 MNEMshLight (int state, float posX, float posY, float posZ, float diffX, float diffY, float diffZ)
 ~MNEMshLight ()

Public Attributes

int state
float pos [3]
float diff [3]

Detailed Description

Single light source with position, color, and state for 3-D surface rendering.

Replaces *mshLight,mshLightRec struct (analyze_types.c).

Definition at line 76 of file mne_msh_light.h.

Member Typedef Documentation

◆ ConstSPtr

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

Const shared pointer type for MNEMshLight.

Definition at line 80 of file mne_msh_light.h.

◆ SPtr

typedef QSharedPointer<MNEMshLight> MNELIB::MNEMshLight::SPtr

Shared pointer type for MNEMshLight.

Definition at line 79 of file mne_msh_light.h.

Constructor & Destructor Documentation

◆ MNEMshLight() [1/3]

MNEMshLight::MNEMshLight ( )

Constructs the MNEMshLight.

Definition at line 52 of file mne_msh_light.cpp.

◆ MNEMshLight() [2/3]

MNEMshLight::MNEMshLight ( const MNEMshLight & p_mneMshLight)

Copy Constructs of the MNEMshLight.

Definition at line 58 of file mne_msh_light.cpp.

◆ MNEMshLight() [3/3]

MNEMshLight::MNEMshLight ( int state,
float posX,
float posY,
float posZ,
float diffX,
float diffY,
float diffZ )

Constructs the MNEMshLight.

Definition at line 71 of file mne_msh_light.cpp.

◆ ~MNEMshLight()

MNEMshLight::~MNEMshLight ( )

Destroys the MNEMshLight.

Definition at line 84 of file mne_msh_light.cpp.

Member Data Documentation

◆ diff

float MNELIB::MNEMshLight::diff[3]

Definition at line 109 of file mne_msh_light.h.

◆ pos

float MNELIB::MNEMshLight::pos[3]

Definition at line 108 of file mne_msh_light.h.

◆ state

int MNELIB::MNEMshLight::state

Definition at line 107 of file mne_msh_light.h.


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