QBoundingVolume Class | Qt 3D 5.6

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

Qt 5.6.2 Reference Documentation

# QBoundingVolume Class

(Qt3DRender::QBoundingVolume)

- List of all members, including inherited members

## Public Types

enum | Type { Sphere, Triangle }

## Public Functions

| QBoundingVolume()
virtual | ~QBoundingVolume()
virtual Qt3DCore::QNodeId | id() const = 0
virtual bool | intersects(const Qt3DCore::QRay3D &ray, QVector3D *q = Q_NULLPTR) const = 0
virtual Type | type() const = 0

## Member Type Documentation

### enum QBoundingVolume::Type

## Member Function Documentation

### QBoundingVolume::QBoundingVolume()

Default constructs an instance of QBoundingVolume.

### `[virtual]` QBoundingVolume::~QBoundingVolume()

Destroys the instance of QBoundingVolume. The destructor is virtual.

### `[pure virtual]` Qt3DCore::QNodeId QBoundingVolume::id() const

### `[pure virtual]` bool QBoundingVolume::intersects(const Qt3DCore::QRay3D &ray, QVector3D *q = Q_NULLPTR) const

### `[pure virtual]` Type QBoundingVolume::type() const