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

Compute shader interpolation material. More...

#include <gpuinterpolationmaterial.h>

Public Types

typedef QSharedPointer< GpuInterpolationMaterialSPtr
 
typedef QSharedPointer< const GpuInterpolationMaterialConstSPtr
 
- Public Types inherited from DISP3DLIB::AbstractPhongAlphaMaterial
typedef QSharedPointer< AbstractPhongAlphaMaterialSPtr
 
typedef QSharedPointer< const AbstractPhongAlphaMaterialConstSPtr
 

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
 

Detailed Description

Compute shader interpolation material.

This class stores the material used for interpolation with a compute shader.

Definition at line 90 of file gpuinterpolationmaterial.h.

Inheritance diagram for DISP3DLIB::GpuInterpolationMaterial:
Inheritance graph

Member Typedef Documentation

◆ ConstSPtr

Const shared pointer type for GpuInterpolationMaterial.

Definition at line 96 of file gpuinterpolationmaterial.h.

◆ SPtr

Shared pointer type for GpuInterpolationMaterial.

Definition at line 95 of file gpuinterpolationmaterial.h.

Constructor & Destructor Documentation

◆ GpuInterpolationMaterial()

GpuInterpolationMaterial::GpuInterpolationMaterial ( 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 class.

Definition at line 74 of file gpuinterpolationmaterial.cpp.

◆ ~GpuInterpolationMaterial()

virtual DISP3DLIB::GpuInterpolationMaterial::~GpuInterpolationMaterial ( )
virtualdefault

Default destructor.

Member Function Documentation

◆ init()

void GpuInterpolationMaterial::init ( )
overrideprotectedvirtual

Init GpuInterpolationMaterial class.

Reimplemented from DISP3DLIB::AbstractPhongAlphaMaterial.

Definition at line 98 of file gpuinterpolationmaterial.cpp.

◆ setShaderCode()

void GpuInterpolationMaterial::setShaderCode ( )
overrideprotectedvirtual

Add the shader code to the material.

Implements DISP3DLIB::AbstractPhongAlphaMaterial.

Definition at line 170 of file gpuinterpolationmaterial.cpp.

Member Data Documentation

◆ m_pColormapParameter

QPointer<Qt3DRender::QParameter> DISP3DLIB::GpuInterpolationMaterial::m_pColormapParameter
protected

This parameter stores the colormap type.

Definition at line 153 of file gpuinterpolationmaterial.h.

◆ m_pColsParameter

QPointer<Qt3DRender::QParameter> DISP3DLIB::GpuInterpolationMaterial::m_pColsParameter
protected

This parameter holds the number of columns in the Interpolation matrix.

Definition at line 141 of file gpuinterpolationmaterial.h.

◆ m_pComputeFilterKey

QPointer<Qt3DRender::QFilterKey> DISP3DLIB::GpuInterpolationMaterial::m_pComputeFilterKey
protected

The compute filter key.

Definition at line 129 of file gpuinterpolationmaterial.h.

◆ m_pComputeRenderPass

QPointer<Qt3DRender::QRenderPass> DISP3DLIB::GpuInterpolationMaterial::m_pComputeRenderPass
protected

The render pass for the compute run.

Definition at line 128 of file gpuinterpolationmaterial.h.

◆ m_pComputeShader

QPointer<Qt3DRender::QShaderProgram> DISP3DLIB::GpuInterpolationMaterial::m_pComputeShader
protected

Stores the shader program of the compute shader.

Definition at line 127 of file gpuinterpolationmaterial.h.

◆ m_pComputeTechnique

QPointer<Qt3DRender::QTechnique> DISP3DLIB::GpuInterpolationMaterial::m_pComputeTechnique
protected

The technique of the compute shader. This should match with the frame graph.

Definition at line 130 of file gpuinterpolationmaterial.h.

◆ m_pDrawRenderPass

QPointer<Qt3DRender::QRenderPass> DISP3DLIB::GpuInterpolationMaterial::m_pDrawRenderPass
protected

The render pass for the draw run.

Definition at line 134 of file gpuinterpolationmaterial.h.

◆ m_pDrawShader

QPointer<Qt3DRender::QShaderProgram> DISP3DLIB::GpuInterpolationMaterial::m_pDrawShader
protected

Stores the shader program of the draw shader.

Definition at line 133 of file gpuinterpolationmaterial.h.

◆ m_pDrawTechnique

QPointer<Qt3DRender::QTechnique> DISP3DLIB::GpuInterpolationMaterial::m_pDrawTechnique
protected

The technique of the draw shader. This should match with the frame graph.

Definition at line 135 of file gpuinterpolationmaterial.h.

◆ m_pInterpolationMatParameter

QPointer<Qt3DRender::QParameter> DISP3DLIB::GpuInterpolationMaterial::m_pInterpolationMatParameter
protected

This parameter holds the Interpolation matrix buffer.

Definition at line 143 of file gpuinterpolationmaterial.h.

◆ m_pOutputColorParameter

QPointer<Qt3DRender::QParameter> DISP3DLIB::GpuInterpolationMaterial::m_pOutputColorParameter
protected

This parameter holds the output color buffer.

Definition at line 146 of file gpuinterpolationmaterial.h.

◆ m_pRowsParameter

QPointer<Qt3DRender::QParameter> DISP3DLIB::GpuInterpolationMaterial::m_pRowsParameter
protected

This parameter holds the number of rows in the Interpolation matrix.

Definition at line 142 of file gpuinterpolationmaterial.h.

◆ m_pSignalDataParameter

QPointer<Qt3DRender::QParameter> DISP3DLIB::GpuInterpolationMaterial::m_pSignalDataParameter
protected

This parameter holds the signal data buffer.

Definition at line 138 of file gpuinterpolationmaterial.h.

◆ m_pThresholdXParameter

QPointer<Qt3DRender::QParameter> DISP3DLIB::GpuInterpolationMaterial::m_pThresholdXParameter
protected

This parameter holds the lower threshold value.

Definition at line 149 of file gpuinterpolationmaterial.h.

◆ m_pThresholdZParameter

QPointer<Qt3DRender::QParameter> DISP3DLIB::GpuInterpolationMaterial::m_pThresholdZParameter
protected

This parameter holds the upper threshold value.

Definition at line 150 of file gpuinterpolationmaterial.h.


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