MNE-CPP  0.1.9
A Framework for Electrophysiology
Public Member Functions | List of all members
DISP3DLIB::GeometryMultiplierMaterial Class Reference

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< AbstractPhongAlphaMaterialSPtr
 
typedef QSharedPointer< const AbstractPhongAlphaMaterialConstSPtr
 
- 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
 

Detailed Description

Custom phong alpha material for instanced rendering.

Custom phong alpha material for instanced rendering.

Definition at line 90 of file geometrymultipliermaterial.h.

Inheritance diagram for DISP3DLIB::GeometryMultiplierMaterial:
Inheritance graph

Constructor & Destructor Documentation

◆ GeometryMultiplierMaterial()

GeometryMultiplierMaterial::GeometryMultiplierMaterial ( bool  bUseSortPolicy = false,
Qt3DCore::QNode *  parent = nullptr 
)
explicit

Default constructor.

Parameters
[in]bUseSortPolicyWhether to use the sort policy in the framegraph.
[in]parentThe parent of this object.

Definition at line 72 of file geometrymultipliermaterial.cpp.

◆ ~GeometryMultiplierMaterial()

virtual DISP3DLIB::GeometryMultiplierMaterial::~GeometryMultiplierMaterial ( )
virtualdefault

Default destructor.

Member Function Documentation

◆ setAmbient()

void GeometryMultiplierMaterial::setAmbient ( const QColor &  ambientColor)

Sets the color for the ambient color parameter.

Parameters
[in]Thenew ambient color.

Definition at line 100 of file geometrymultipliermaterial.cpp.


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