MNE-CPP
0.1.9
A Framework for Electrophysiology
|
Compute shader interpolation material. More...
#include <gpuinterpolationmaterial.h>
Public Types | |
typedef QSharedPointer< GpuInterpolationMaterial > | SPtr |
typedef QSharedPointer< const GpuInterpolationMaterial > | ConstSPtr |
Public Types inherited from DISP3DLIB::AbstractPhongAlphaMaterial | |
typedef QSharedPointer< AbstractPhongAlphaMaterial > | SPtr |
typedef QSharedPointer< const AbstractPhongAlphaMaterial > | ConstSPtr |
Public Member Functions | |
GpuInterpolationMaterial (bool bUseSortPolicy=false, Qt3DCore::QNode *parent=nullptr) | |
virtual | ~GpuInterpolationMaterial ()=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) |
Protected Member Functions | |
void | init () override |
void | setShaderCode () override |
Protected Member Functions inherited from DISP3DLIB::AbstractPhongAlphaMaterial | |
virtual void | addShaderToRenderPass (const QString &sObjectName, Qt3DRender::QShaderProgram *pShaderProgramm) |
virtual void | onAlphaChanged (const QVariant &fAlpha) |
Protected Attributes | |
QPointer< Qt3DRender::QShaderProgram > | m_pComputeShader |
QPointer< Qt3DRender::QRenderPass > | m_pComputeRenderPass |
QPointer< Qt3DRender::QFilterKey > | m_pComputeFilterKey |
QPointer< Qt3DRender::QTechnique > | m_pComputeTechnique |
QPointer< Qt3DRender::QShaderProgram > | m_pDrawShader |
QPointer< Qt3DRender::QRenderPass > | m_pDrawRenderPass |
QPointer< Qt3DRender::QTechnique > | m_pDrawTechnique |
QPointer< Qt3DRender::QParameter > | m_pSignalDataParameter |
QPointer< Qt3DRender::QParameter > | m_pColsParameter |
QPointer< Qt3DRender::QParameter > | m_pRowsParameter |
QPointer< Qt3DRender::QParameter > | m_pInterpolationMatParameter |
QPointer< Qt3DRender::QParameter > | m_pOutputColorParameter |
QPointer< Qt3DRender::QParameter > | m_pThresholdXParameter |
QPointer< Qt3DRender::QParameter > | m_pThresholdZParameter |
QPointer< Qt3DRender::QParameter > | m_pColormapParameter |
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 |
Compute shader interpolation material.
This class stores the material used for interpolation with a compute shader.
Definition at line 90 of file gpuinterpolationmaterial.h.
typedef QSharedPointer<const GpuInterpolationMaterial> DISP3DLIB::GpuInterpolationMaterial::ConstSPtr |
Const shared pointer type for GpuInterpolationMaterial.
Definition at line 96 of file gpuinterpolationmaterial.h.
typedef QSharedPointer<GpuInterpolationMaterial> DISP3DLIB::GpuInterpolationMaterial::SPtr |
Shared pointer type for GpuInterpolationMaterial.
Definition at line 95 of file gpuinterpolationmaterial.h.
|
explicit |
Default constructor.
[in] | bUseSortPolicy | Whether to use the sort policy in the framegraph. |
[in] | parent | The parent of this class. |
Definition at line 74 of file gpuinterpolationmaterial.cpp.
|
virtualdefault |
Default destructor.
|
overrideprotectedvirtual |
Init GpuInterpolationMaterial class.
Reimplemented from DISP3DLIB::AbstractPhongAlphaMaterial.
Definition at line 98 of file gpuinterpolationmaterial.cpp.
|
overrideprotectedvirtual |
Add the shader code to the material.
Implements DISP3DLIB::AbstractPhongAlphaMaterial.
Definition at line 170 of file gpuinterpolationmaterial.cpp.
|
protected |
This parameter stores the colormap type.
Definition at line 153 of file gpuinterpolationmaterial.h.
|
protected |
This parameter holds the number of columns in the Interpolation matrix.
Definition at line 141 of file gpuinterpolationmaterial.h.
|
protected |
The compute filter key.
Definition at line 129 of file gpuinterpolationmaterial.h.
|
protected |
The render pass for the compute run.
Definition at line 128 of file gpuinterpolationmaterial.h.
|
protected |
Stores the shader program of the compute shader.
Definition at line 127 of file gpuinterpolationmaterial.h.
|
protected |
The technique of the compute shader. This should match with the frame graph.
Definition at line 130 of file gpuinterpolationmaterial.h.
|
protected |
The render pass for the draw run.
Definition at line 134 of file gpuinterpolationmaterial.h.
|
protected |
Stores the shader program of the draw shader.
Definition at line 133 of file gpuinterpolationmaterial.h.
|
protected |
The technique of the draw shader. This should match with the frame graph.
Definition at line 135 of file gpuinterpolationmaterial.h.
|
protected |
This parameter holds the Interpolation matrix buffer.
Definition at line 143 of file gpuinterpolationmaterial.h.
|
protected |
This parameter holds the output color buffer.
Definition at line 146 of file gpuinterpolationmaterial.h.
|
protected |
This parameter holds the number of rows in the Interpolation matrix.
Definition at line 142 of file gpuinterpolationmaterial.h.
|
protected |
This parameter holds the signal data buffer.
Definition at line 138 of file gpuinterpolationmaterial.h.
|
protected |
This parameter holds the lower threshold value.
Definition at line 149 of file gpuinterpolationmaterial.h.
|
protected |
This parameter holds the upper threshold value.
Definition at line 150 of file gpuinterpolationmaterial.h.