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

PerVertexPhongAlphaMaterial is provides a Qt3D material with own shader support. More...

#include <pervertexphongalphamaterial.h>

Public Member Functions

 PerVertexPhongAlphaMaterial (bool bUseSortPolicy=false, Qt3DCore::QNode *parent=nullptr)
 
 ~PerVertexPhongAlphaMaterial ()=default
 
- 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

PerVertexPhongAlphaMaterial is provides a Qt3D material with own shader support.

PerVertexPhongAlphaMaterial is provides a Qt3D material with own shader support.

Definition at line 80 of file pervertexphongalphamaterial.h.

Inheritance diagram for DISP3DLIB::PerVertexPhongAlphaMaterial:
Inheritance graph

Constructor & Destructor Documentation

◆ PerVertexPhongAlphaMaterial()

PerVertexPhongAlphaMaterial::PerVertexPhongAlphaMaterial ( 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 59 of file pervertexphongalphamaterial.cpp.

◆ ~PerVertexPhongAlphaMaterial()

DISP3DLIB::PerVertexPhongAlphaMaterial::~PerVertexPhongAlphaMaterial ( )
default

Default destructor.


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