MNE-CPP
0.1.9
A Framework for Electrophysiology
|
Instaced based renderer. More...
#include <geometrymultiplier.h>
Public Types | |
typedef QSharedPointer< GeometryMultiplier > | SPtr |
typedef QSharedPointer< const GeometryMultiplier > | ConstSPtr |
Public Member Functions | |
GeometryMultiplier (QSharedPointer< QT_COMPATIBILITY_3D::QGeometry > tGeometry, Qt3DCore::QNode *tParent=nullptr) | |
GeometryMultiplier (const GeometryMultiplier &other)=delete | |
GeometryMultiplier & | operator= (const GeometryMultiplier &other)=delete |
~GeometryMultiplier () | |
void | setTransforms (const QVector< QMatrix4x4 > &tInstanceTansform) |
void | setColors (const QVector< QColor > &tInstanceColors) |
Instaced based renderer.
This classes uses instanced rendering to draw the same Gemometry multiple at multiple positions. For example it can be used with QSphereGeometry
Definition at line 99 of file geometrymultiplier.h.
typedef QSharedPointer<const GeometryMultiplier> DISP3DLIB::GeometryMultiplier::ConstSPtr |
Const shared pointer type for GeometryMultiplier.
Definition at line 105 of file geometrymultiplier.h.
typedef QSharedPointer<GeometryMultiplier> DISP3DLIB::GeometryMultiplier::SPtr |
Shared pointer type for GeometryMultiplier.
Definition at line 104 of file geometrymultiplier.h.
|
explicit |
Constructs a GeometryMultiplier object.
Definition at line 71 of file geometrymultiplier.cpp.
|
delete |
Copy Constructor disabled
GeometryMultiplier::~GeometryMultiplier | ( | ) |
Destructor
Definition at line 85 of file geometrymultiplier.cpp.
|
delete |
Copy operator disabled
void GeometryMultiplier::setColors | ( | const QVector< QColor > & | tInstanceColors | ) |
Sets the color for each instance of the geometry.
[in] | tInstanceColors | Color of the geometry;. |
Definition at line 106 of file geometrymultiplier.cpp.
void GeometryMultiplier::setTransforms | ( | const QVector< QMatrix4x4 > & | tInstanceTansform | ) |
Sets the transformation matrix for each instance of the geometry. It can be used to translate, scale and rotate each instance individually.
[in] | tInstanceTansform | Transformation matrix. |
Definition at line 96 of file geometrymultiplier.cpp.