QLevelOfDetailBoundingSphere Class

( Qt3DRender::QLevelOfDetailBoundingSphere )

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

头: #include <QLevelOfDetailBoundingSphere>
qmake: QT += 3drender
Since: Qt 5.9
实例化: LevelOfDetailBoundingSphere

特性

公共函数

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

静态公共成员

const QMetaObject staticMetaObject

详细描述

The QLevelOfDetailBoundingSphere class provides a simple spherical volume, defined by its 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)

构造新的 QLevelOfDetailBoundingSphere 采用指定 center and radius .

QLevelOfDetailBoundingSphere:: QLevelOfDetailBoundingSphere (const Qt3DRender::QLevelOfDetailBoundingSphere & other )

Default constructs an instance of QLevelOfDetailBoundingSphere.

QLevelOfDetailBoundingSphere:: ~QLevelOfDetailBoundingSphere ()

Destroys the instance of QLevelOfDetailBoundingSphere.

bool QLevelOfDetailBoundingSphere:: isEmpty () const

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

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

拷贝赋值运算符。

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