MNE-CPP
0.1.9
A Framework for Electrophysiology
|
Custom framegaph class. More...
#include <customframegraph.h>
Public Types | |
typedef QSharedPointer< CustomFrameGraph > | SPtr |
typedef QSharedPointer< const CustomFrameGraph > | ConstSPtr |
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 () |
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.
typedef QSharedPointer<const CustomFrameGraph> DISP3DLIB::CustomFrameGraph::ConstSPtr |
Const shared pointer type for CustomFrameGraph.
Definition at line 106 of file customframegraph.h.
typedef QSharedPointer<CustomFrameGraph> DISP3DLIB::CustomFrameGraph::SPtr |
Shared pointer type for CustomFrameGraph.
Definition at line 105 of file customframegraph.h.
|
explicit |
Constructs a CustomFrameGraph object.
[in] | parent | Pointer to parent node. |
Definition at line 85 of file customframegraph.cpp.
CustomFrameGraph::~CustomFrameGraph | ( | ) |
Destructor.
Definition at line 110 of file customframegraph.cpp.
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.
void CustomFrameGraph::setCamera | ( | Qt3DRender::QCamera * | tCamera | ) |
This function sets active camera for use in the framegraphs camera selector.
[in] | tCamera | Pointer to QCamera object. |
Definition at line 140 of file customframegraph.cpp.
void CustomFrameGraph::setClearColor | ( | const QColor & | tColor | ) |
Sets the clear color of the framegraph.
[in] | tColor | New clear color. |
Definition at line 156 of file customframegraph.cpp.
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.
[in] | tX | Size of X work group. |
[in] | tY | Size of Y work group. |
[in] | tZ | Size of Z work group. |
Definition at line 147 of file customframegraph.cpp.