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

Custom framegaph class. More...

#include <customframegraph.h>

Public Types

typedef QSharedPointer< CustomFrameGraphSPtr
 
typedef QSharedPointer< const CustomFrameGraphConstSPtr
 

Public Member Functions

 CustomFrameGraph (Qt3DCore::QNode *parent=0)
 
 ~CustomFrameGraph ()
 
void setCamera (Qt3DRender::QCamera *tCamera)
 
void setWorkGroupSize (const uint tX, const uint tY, const uint tZ)
 
void setClearColor (const QColor &tColor)
 
Qt3DRender::QRenderCaptureReply * requestRenderCaptureReply ()
 

Detailed Description

Custom framegaph class.

This class holds a custom framegraph that can be used for computations with OpenGL compute shader.

Definition at line 100 of file customframegraph.h.

Inheritance diagram for DISP3DLIB::CustomFrameGraph:
Inheritance graph

Member Typedef Documentation

◆ ConstSPtr

Const shared pointer type for CustomFrameGraph.

Definition at line 106 of file customframegraph.h.

◆ SPtr

Shared pointer type for CustomFrameGraph.

Definition at line 105 of file customframegraph.h.

Constructor & Destructor Documentation

◆ CustomFrameGraph()

CustomFrameGraph::CustomFrameGraph ( Qt3DCore::QNode *  parent = 0)
explicit

Constructs a CustomFrameGraph object.

Parameters
[in]parentPointer to parent node.

Definition at line 85 of file customframegraph.cpp.

◆ ~CustomFrameGraph()

CustomFrameGraph::~CustomFrameGraph ( )

Destructor.

Definition at line 110 of file customframegraph.cpp.

Member Function Documentation

◆ requestRenderCaptureReply()

QRenderCaptureReply * CustomFrameGraph::requestRenderCaptureReply ( )

Used to request render capture. Only one render capture result is produced per requestCapture call. The function returns a QRenderCaptureReply object, which receives the captured image when it is done. The user is responsible for deallocating the returned object.

Definition at line 163 of file customframegraph.cpp.

◆ setCamera()

void CustomFrameGraph::setCamera ( Qt3DRender::QCamera *  tCamera)

This function sets active camera for use in the framegraphs camera selector.

Parameters
[in]tCameraPointer to QCamera object.

Definition at line 140 of file customframegraph.cpp.

◆ setClearColor()

void CustomFrameGraph::setClearColor ( const QColor &  tColor)

Sets the clear color of the framegraph.

Parameters
[in]tColorNew clear color.

Definition at line 156 of file customframegraph.cpp.

◆ setWorkGroupSize()

void CustomFrameGraph::setWorkGroupSize ( const uint  tX,
const uint  tY,
const uint  tZ 
)

This function sets the work group size for the computation in each dimension.

Parameters
[in]tXSize of X work group.
[in]tYSize of Y work group.
[in]tZSize of Z work group.

Definition at line 147 of file customframegraph.cpp.


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