#include <dipoleobject.h>
Definition at line 55 of file dipoleobject.h.
◆ DipoleObject()
| DipoleObject::DipoleObject |
( |
| ) |
|
◆ ~DipoleObject()
| DipoleObject::~DipoleObject |
( |
| ) |
|
|
default |
◆ applyTransform()
| void DipoleObject::applyTransform |
( |
const QMatrix4x4 & | trans | ) |
|
◆ debugFirstDipolePosition()
| QVector3D DipoleObject::debugFirstDipolePosition |
( |
| ) |
const |
◆ indexBuffer()
| QRhiBuffer * DipoleObject::indexBuffer |
( |
| ) |
const |
◆ indexCount()
| int DipoleObject::indexCount |
( |
| ) |
const |
|
inline |
◆ instanceBuffer()
| QRhiBuffer * DipoleObject::instanceBuffer |
( |
| ) |
const |
◆ instanceCount()
| int DipoleObject::instanceCount |
( |
| ) |
const |
|
inline |
◆ intersect()
| int DipoleObject::intersect |
( |
const QVector3D & | rayOrigin, |
|
|
const QVector3D & | rayDir, |
|
|
float & | dist ) const |
Test ray intersection with dipoles.
- Parameters
-
| [in] | rayOrigin | Ray origin in world space. |
| [in] | rayDir | Ray direction (normalized). |
| [out] | dist | Distance to intersection. |
- Returns
- Index of intersected dipole, or -1 if none.
Definition at line 351 of file dipoleobject.cpp.
◆ isVisible()
| bool DipoleObject::isVisible |
( |
| ) |
const |
|
inline |
◆ load()
◆ setSelected()
| void DipoleObject::setSelected |
( |
int | index, |
|
|
bool | selected ) |
◆ setVisible()
| void DipoleObject::setVisible |
( |
bool | visible | ) |
|
|
inline |
◆ updateBuffers()
| void DipoleObject::updateBuffers |
( |
QRhi * | rhi, |
|
|
QRhiResourceUpdateBatch * | u ) |
◆ vertexBuffer()
| QRhiBuffer * DipoleObject::vertexBuffer |
( |
| ) |
const |
The documentation for this class was generated from the following files: