QLevelOfDetailBoundingSphere Class

( Qt3DRender::QLevelOfDetailBoundingSphere )

The QLevelOfDetailBoundingSphere class provides a simple spherical volume, defined by it's center and radius. 更多...

頭: #include <QLevelOfDetailBoundingSphere>
qmake: QT += 3drender
Since: Qt 5.9
實例化: LevelOfDetail

特性

公共函數

QLevelOfDetailBoundingSphere (QVector3D center = QVector3D(), float radius = 1.0f)
QLevelOfDetailBoundingSphere (const QLevelOfDetailBoundingSphere & other )
~QLevelOfDetailBoundingSphere ()
QVector3D center () const
bool isEmpty () const
float radius () const
bool operator!= (const QLevelOfDetailBoundingSphere & other ) const
QLevelOfDetailBoundingSphere & operator= (const QLevelOfDetailBoundingSphere & other )
bool operator== (const QLevelOfDetailBoundingSphere & other ) const

詳細描述

The QLevelOfDetailBoundingSphere class provides a simple spherical volume, defined by it's center and radius.

特性文檔編製

center : const QVector3D

Specifies the center of the bounding sphere

訪問函數:

QVector3D center () const

radius : const float

Specifies the radius of the bounding sphere

訪問函數:

float radius () const

成員函數文檔編製

QLevelOfDetailBoundingSphere:: QLevelOfDetailBoundingSphere ( QVector3D center = QVector3D(), float radius = 1.0f)

Default constructs an instance of QLevelOfDetailBoundingSphere.

QLevelOfDetailBoundingSphere:: QLevelOfDetailBoundingSphere (const QLevelOfDetailBoundingSphere & other )

Copy constructor.

QLevelOfDetailBoundingSphere:: ~QLevelOfDetailBoundingSphere ()

Destroys the instance of QLevelOfDetailBoundingSphere.

bool QLevelOfDetailBoundingSphere:: isEmpty () const

bool QLevelOfDetailBoundingSphere:: operator!= (const QLevelOfDetailBoundingSphere & other ) const

QLevelOfDetailBoundingSphere &QLevelOfDetailBoundingSphere:: operator= (const QLevelOfDetailBoundingSphere & other )

拷貝賦值運算符。

bool QLevelOfDetailBoundingSphere:: operator== (const QLevelOfDetailBoundingSphere & other ) const