[][src]Struct qt_3d_render::QLevelOfDetailBoundingSphere

#[repr(C)]pub struct QLevelOfDetailBoundingSphere { /* fields omitted */ }

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

C++ class: Qt3DRender::QLevelOfDetailBoundingSphere.

C++ documentation:

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

Methods

impl QLevelOfDetailBoundingSphere[src]

pub unsafe fn center(&self) -> CppBox<QVector3D>[src]

Specifies the center of the bounding sphere

Calls C++ function: QVector3D Qt3DRender::QLevelOfDetailBoundingSphere::center() const.

C++ documentation:

Specifies the center of the bounding sphere

Access functions:

QVector3D center() const

pub unsafe fn copy_from(
    &self,
    other: impl CastInto<Ref<QLevelOfDetailBoundingSphere>>
) -> Ref<QLevelOfDetailBoundingSphere>
[src]

Copy-assignment operator.

Calls C++ function: Qt3DRender::QLevelOfDetailBoundingSphere& Qt3DRender::QLevelOfDetailBoundingSphere::operator=(const Qt3DRender::QLevelOfDetailBoundingSphere& other).

C++ documentation:

Copy-assignment operator.

pub unsafe fn is_empty(&self) -> bool[src]

Calls C++ function: bool Qt3DRender::QLevelOfDetailBoundingSphere::isEmpty() const.

pub unsafe fn new_2a(
    center: impl CastInto<Ref<QVector3D>>,
    radius: c_float
) -> CppBox<QLevelOfDetailBoundingSphere>
[src]

Default constructs an instance of QLevelOfDetailBoundingSphere.

Calls C++ function: [constructor] void Qt3DRender::QLevelOfDetailBoundingSphere::QLevelOfDetailBoundingSphere(QVector3D center = …, float radius = …).

C++ documentation:

Default constructs an instance of QLevelOfDetailBoundingSphere.

pub unsafe fn new_0a() -> CppBox<QLevelOfDetailBoundingSphere>[src]

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

Calls C++ function: [constructor] void Qt3DRender::QLevelOfDetailBoundingSphere::QLevelOfDetailBoundingSphere().

C++ documentation:

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

pub unsafe fn new_1a(
    center: impl CastInto<Ref<QVector3D>>
) -> CppBox<QLevelOfDetailBoundingSphere>
[src]

Default constructs an instance of QLevelOfDetailBoundingSphere.

Calls C++ function: [constructor] void Qt3DRender::QLevelOfDetailBoundingSphere::QLevelOfDetailBoundingSphere(QVector3D center = …).

C++ documentation:

Default constructs an instance of QLevelOfDetailBoundingSphere.

pub unsafe fn new_copy(
    other: impl CastInto<Ref<QLevelOfDetailBoundingSphere>>
) -> CppBox<QLevelOfDetailBoundingSphere>
[src]

Copy constructor.

Calls C++ function: [constructor] void Qt3DRender::QLevelOfDetailBoundingSphere::QLevelOfDetailBoundingSphere(const Qt3DRender::QLevelOfDetailBoundingSphere& other).

C++ documentation:

Copy constructor.

pub unsafe fn radius(&self) -> c_float[src]

Specifies the radius of the bounding sphere

Calls C++ function: float Qt3DRender::QLevelOfDetailBoundingSphere::radius() const.

C++ documentation:

Specifies the radius of the bounding sphere

Access functions:

float radius() const

pub unsafe fn static_meta_object() -> Ref<QMetaObject>[src]

Returns a reference to the staticMetaObject field.

Trait Implementations

impl CppDeletable for QLevelOfDetailBoundingSphere[src]

unsafe fn delete(&self)[src]

Destroys the instance of QLevelOfDetailBoundingSphere.

Calls C++ function: [destructor] void Qt3DRender::QLevelOfDetailBoundingSphere::~QLevelOfDetailBoundingSphere().

C++ documentation:

Destroys the instance of QLevelOfDetailBoundingSphere.

impl PartialEq<Ref<QLevelOfDetailBoundingSphere>> for QLevelOfDetailBoundingSphere[src]

fn eq(&self, other: &Ref<QLevelOfDetailBoundingSphere>) -> bool[src]

Calls C++ function: bool Qt3DRender::QLevelOfDetailBoundingSphere::operator==(const Qt3DRender::QLevelOfDetailBoundingSphere& other) const.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> StaticUpcast<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.