The LightRayData class stores data of a LightRay. The LightRayData doesn't inherit from QObject, so it can be stored in Qt-Containers (currently only those require == or qHash) by Value. Also the data can be copied easily.
More...
#include <lightraydata.h>
The LightRayData class stores data of a LightRay. The LightRayData doesn't inherit from QObject, so it can be stored in Qt-Containers (currently only those require == or qHash) by Value. Also the data can be copied easily.
LightRayData::LightRayData |
( |
| ) |
|
LightRayData::LightRayData |
( |
const LightRay & |
lightRay | ) |
|
LightRayData::~LightRayData |
( |
| ) |
|
const QVector3D & LightRayData::color |
( |
| ) |
const |
const QVector3D & LightRayData::direction |
( |
| ) |
const |
const QVector3D & LightRayData::endPosition |
( |
| ) |
const |
const QVector3D & LightRayData::normalizedDirection |
( |
| ) |
const |
QVector3D LightRayData::normalizedOrthogonalVector |
( |
| ) |
const |
Calculates a normalized vector, that is orthogonal to direction().
- Returns
void LightRayData::setColor |
( |
const QVector3D & |
color | ) |
|
void LightRayData::setEndPosition |
( |
const QVector3D & |
position | ) |
|
void LightRayData::setStartPosition |
( |
const QVector3D & |
position | ) |
|
const QVector3D & LightRayData::startPosition |
( |
| ) |
const |
QVector3D* LightRayData::m_color |
|
protected |
QVector3D* LightRayData::m_direction |
|
protected |
QVector3D* LightRayData::m_directionNormalized |
|
protected |
QVector3D* LightRayData::m_endPosition |
|
protected |
QVector3D* LightRayData::m_startPosition |
|
protected |
The documentation for this class was generated from the following files: