MNE-CPP
0.1.9
A Framework for Electrophysiology
|
Custom phong alpha material for instanced rendering. More...
#include <geometrymultipliermaterial.h>
Public Member Functions | |
GeometryMultiplierMaterial (bool bUseSortPolicy=false, Qt3DCore::QNode *parent=nullptr) | |
virtual | ~GeometryMultiplierMaterial ()=default |
void | setAmbient (const QColor &ambientColor) |
Public Member Functions inherited from DISP3DLIB::AbstractPhongAlphaMaterial | |
AbstractPhongAlphaMaterial (bool bUseSortPolicy, QNode *parent) | |
virtual | ~AbstractPhongAlphaMaterial ()=default |
virtual float | alpha () const |
virtual void | setAlpha (float fAlpha) |
Additional Inherited Members | |
Public Types inherited from DISP3DLIB::AbstractPhongAlphaMaterial | |
typedef QSharedPointer< AbstractPhongAlphaMaterial > | SPtr |
typedef QSharedPointer< const AbstractPhongAlphaMaterial > | ConstSPtr |
Protected Member Functions inherited from DISP3DLIB::AbstractPhongAlphaMaterial | |
virtual void | init () |
virtual void | addShaderToRenderPass (const QString &sObjectName, Qt3DRender::QShaderProgram *pShaderProgramm) |
virtual void | onAlphaChanged (const QVariant &fAlpha) |
Protected Attributes inherited from DISP3DLIB::AbstractPhongAlphaMaterial | |
QPointer< Qt3DRender::QEffect > | m_pEffect |
QPointer< Qt3DRender::QParameter > | m_pDiffuseParameter |
QPointer< Qt3DRender::QParameter > | m_pSpecularParameter |
QPointer< Qt3DRender::QParameter > | m_pShininessParameter |
QPointer< Qt3DRender::QParameter > | m_pAlphaParameter |
QPointer< Qt3DRender::QFilterKey > | m_pDrawFilterKey |
bool | m_bUseSortPolicy |
Custom phong alpha material for instanced rendering.
Custom phong alpha material for instanced rendering.
Definition at line 90 of file geometrymultipliermaterial.h.
|
explicit |
Default constructor.
[in] | bUseSortPolicy | Whether to use the sort policy in the framegraph. |
[in] | parent | The parent of this object. |
Definition at line 72 of file geometrymultipliermaterial.cpp.
|
virtualdefault |
Default destructor.
void GeometryMultiplierMaterial::setAmbient | ( | const QColor & | ambientColor | ) |
Sets the color for the ambient color parameter.
[in] | The | new ambient color. |
Definition at line 100 of file geometrymultipliermaterial.cpp.