TriangleBoundingVolume Class | Qt 3D 5.6

Qt 5.6 | Qt 3D | C++ Classes | TriangleBoundingVolume

Qt 5.6.2 Reference Documentation

# TriangleBoundingVolume Class

(Qt3DRender::Render::TriangleBoundingVolume)

- List of all members, including inherited members

## Public Functions

| TriangleBoundingVolume()
| TriangleBoundingVolume(const Qt3DCore::QNodeId &id, const QVector3D &a, const QVector3D &b, const QVector3D &c)
QVector3D | a() const
QVector3D | b() const
QVector3D | c() const
Qt3DCore::QNodeId | id() const
bool | intersects(const Qt3DCore::QRay3D &ray, QVector3D *q) const
void | setA(const QVector3D &a)
void | setB(const QVector3D &b)
void | setC(const QVector3D &c)
TriangleBoundingVolume & | transform(const QMatrix4x4 &mat)
TriangleBoundingVolume | transformed(const QMatrix4x4 &mat) const
Type | type() const

## Member Function Documentation

### TriangleBoundingVolume::TriangleBoundingVolume()

Default constructs an instance of TriangleBoundingVolume.

### TriangleBoundingVolume::TriangleBoundingVolume(const Qt3DCore::QNodeId &id, const QVector3D &a, const QVector3D &b, const QVector3D &c)

Default constructs an instance of TriangleBoundingVolume.

### QVector3D TriangleBoundingVolume::a() const

See also setA().

### QVector3D TriangleBoundingVolume::b() const

See also setB().

### QVector3D TriangleBoundingVolume::c() const

See also setC().

### Qt3DCore::QNodeId TriangleBoundingVolume::id() const

### bool TriangleBoundingVolume::intersects(const Qt3DCore::QRay3D &ray, QVector3D *q) const

### void TriangleBoundingVolume::setA(const QVector3D &a)

See also a().

### void TriangleBoundingVolume::setB(const QVector3D &b)

See also b().

### void TriangleBoundingVolume::setC(const QVector3D &c)

See also c().

### TriangleBoundingVolume &TriangleBoundingVolume::transform(const QMatrix4x4 &mat)

### TriangleBoundingVolume TriangleBoundingVolume::transformed(const QMatrix4x4 &mat) const

### Type TriangleBoundingVolume::type() const