[][src]Struct qt_3d_extras::QConeMesh

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

A conical mesh.

C++ class: Qt3DExtras::QConeMesh.

C++ documentation:

A conical mesh.

Methods

impl QConeMesh[src]

pub fn slot_set_has_top_endcap(&self) -> Receiver<(bool,)>[src]

Determines if the cone top is capped or open.

Returns a built-in Qt slot Qt3DExtras::QConeMesh::setHasTopEndcap that can be passed to qt_core::Signal::connect.

C++ documentation:

Determines if the cone top is capped or open.

Access functions:

bool hasTopEndcap() const
void setHasTopEndcap(bool hasTopEndcap)

Notifier signal:

void hasTopEndcapChanged(bool hasTopEndcap)

pub fn slot_set_has_bottom_endcap(&self) -> Receiver<(bool,)>[src]

Determines if the cone bottom is capped or open.

Returns a built-in Qt slot Qt3DExtras::QConeMesh::setHasBottomEndcap that can be passed to qt_core::Signal::connect.

C++ documentation:

Determines if the cone bottom is capped or open.

Access functions:

bool hasBottomEndcap() const
void setHasBottomEndcap(bool hasBottomEndcap)

Notifier signal:

void hasBottomEndcapChanged(bool hasBottomEndcap)

pub fn slot_set_top_radius(&self) -> Receiver<(c_float,)>[src]

Holds the top radius of the cone.

Returns a built-in Qt slot Qt3DExtras::QConeMesh::setTopRadius that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the top radius of the cone.

Access functions:

float topRadius() const
void setTopRadius(float topRadius)

Notifier signal:

void topRadiusChanged(float topRadius)

pub fn slot_set_bottom_radius(&self) -> Receiver<(c_float,)>[src]

Holds the bottom radius of the cone.

Returns a built-in Qt slot Qt3DExtras::QConeMesh::setBottomRadius that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the bottom radius of the cone.

Access functions:

float bottomRadius() const
void setBottomRadius(float bottomRadius)

Notifier signal:

void bottomRadiusChanged(float bottomRadius)

pub fn slot_set_rings(&self) -> Receiver<(c_int,)>[src]

Holds the number of rings in the mesh.

Returns a built-in Qt slot Qt3DExtras::QConeMesh::setRings that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the number of rings in the mesh.

Access functions:

int rings() const
void setRings(int rings)

Notifier signal:

void ringsChanged(int rings)

pub fn slot_set_slices(&self) -> Receiver<(c_int,)>[src]

Holds the number of slices in the mesh.

Returns a built-in Qt slot Qt3DExtras::QConeMesh::setSlices that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the number of slices in the mesh.

Access functions:

int slices() const
void setSlices(int slices)

Notifier signal:

void slicesChanged(int slices)

pub fn slot_set_length(&self) -> Receiver<(c_float,)>[src]

Holds the length of the cone.

Returns a built-in Qt slot Qt3DExtras::QConeMesh::setLength that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the length of the cone.

Access functions:

float length() const
void setLength(float length)

Notifier signal:

void lengthChanged(float length)

pub fn has_top_endcap_changed(&self) -> Signal<(bool,)>[src]

Determines if the cone top is capped or open.

Returns a built-in Qt signal Qt3DExtras::QConeMesh::hasTopEndcapChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Determines if the cone top is capped or open.

Access functions:

bool hasTopEndcap() const
void setHasTopEndcap(bool hasTopEndcap)

Notifier signal:

void hasTopEndcapChanged(bool hasTopEndcap)

pub fn has_bottom_endcap_changed(&self) -> Signal<(bool,)>[src]

Determines if the cone bottom is capped or open.

Returns a built-in Qt signal Qt3DExtras::QConeMesh::hasBottomEndcapChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Determines if the cone bottom is capped or open.

Access functions:

bool hasBottomEndcap() const
void setHasBottomEndcap(bool hasBottomEndcap)

Notifier signal:

void hasBottomEndcapChanged(bool hasBottomEndcap)

pub fn top_radius_changed(&self) -> Signal<(c_float,)>[src]

Holds the top radius of the cone.

Returns a built-in Qt signal Qt3DExtras::QConeMesh::topRadiusChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the top radius of the cone.

Access functions:

float topRadius() const
void setTopRadius(float topRadius)

Notifier signal:

void topRadiusChanged(float topRadius)

pub fn bottom_radius_changed(&self) -> Signal<(c_float,)>[src]

Holds the bottom radius of the cone.

Returns a built-in Qt signal Qt3DExtras::QConeMesh::bottomRadiusChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the bottom radius of the cone.

Access functions:

float bottomRadius() const
void setBottomRadius(float bottomRadius)

Notifier signal:

void bottomRadiusChanged(float bottomRadius)

pub fn rings_changed(&self) -> Signal<(c_int,)>[src]

Holds the number of rings in the mesh.

Returns a built-in Qt signal Qt3DExtras::QConeMesh::ringsChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the number of rings in the mesh.

Access functions:

int rings() const
void setRings(int rings)

Notifier signal:

void ringsChanged(int rings)

pub fn slices_changed(&self) -> Signal<(c_int,)>[src]

Holds the number of slices in the mesh.

Returns a built-in Qt signal Qt3DExtras::QConeMesh::slicesChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the number of slices in the mesh.

Access functions:

int slices() const
void setSlices(int slices)

Notifier signal:

void slicesChanged(int slices)

pub fn length_changed(&self) -> Signal<(c_float,)>[src]

Holds the length of the cone.

Returns a built-in Qt signal Qt3DExtras::QConeMesh::lengthChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the length of the cone.

Access functions:

float length() const
void setLength(float length)

Notifier signal:

void lengthChanged(float length)

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

Holds the bottom radius of the cone.

Calls C++ function: float Qt3DExtras::QConeMesh::bottomRadius() const.

C++ documentation:

Holds the bottom radius of the cone.

Access functions:

float bottomRadius() const
void setBottomRadius(float bottomRadius)

Notifier signal:

void bottomRadiusChanged(float bottomRadius)

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

Determines if the cone bottom is capped or open.

Calls C++ function: bool Qt3DExtras::QConeMesh::hasBottomEndcap() const.

C++ documentation:

Determines if the cone bottom is capped or open.

Access functions:

bool hasBottomEndcap() const
void setHasBottomEndcap(bool hasBottomEndcap)

Notifier signal:

void hasBottomEndcapChanged(bool hasBottomEndcap)

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

Determines if the cone top is capped or open.

Calls C++ function: bool Qt3DExtras::QConeMesh::hasTopEndcap() const.

C++ documentation:

Determines if the cone top is capped or open.

Access functions:

bool hasTopEndcap() const
void setHasTopEndcap(bool hasTopEndcap)

Notifier signal:

void hasTopEndcapChanged(bool hasTopEndcap)

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

Holds the length of the cone.

Calls C++ function: float Qt3DExtras::QConeMesh::length() const.

C++ documentation:

Holds the length of the cone.

Access functions:

float length() const
void setLength(float length)

Notifier signal:

void lengthChanged(float length)

pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>[src]

Calls C++ function: virtual const QMetaObject* Qt3DExtras::QConeMesh::metaObject() const.

pub unsafe fn new_1a(parent: impl CastInto<Ptr<QNode>>) -> QBox<QConeMesh>[src]

Default constructs an instance of QConeMesh.

Calls C++ function: [constructor] void Qt3DExtras::QConeMesh::QConeMesh(Qt3DCore::QNode* parent = …).

C++ documentation:

Default constructs an instance of QConeMesh.

pub unsafe fn new_0a() -> QBox<QConeMesh>[src]

A conical mesh.

Calls C++ function: [constructor] void Qt3DExtras::QConeMesh::QConeMesh().

C++ documentation:

A conical mesh.

pub unsafe fn qt_metacall(
    &self,
    arg1: Call,
    arg2: c_int,
    arg3: *mut *mut c_void
) -> c_int
[src]

Calls C++ function: virtual int Qt3DExtras::QConeMesh::qt_metacall(QMetaObject::Call arg1, int arg2, void** arg3).

pub unsafe fn qt_metacast(&self, arg1: *const c_char) -> *mut c_void[src]

Calls C++ function: virtual void* Qt3DExtras::QConeMesh::qt_metacast(const char* arg1).

pub unsafe fn rings(&self) -> c_int[src]

Holds the number of rings in the mesh.

Calls C++ function: int Qt3DExtras::QConeMesh::rings() const.

C++ documentation:

Holds the number of rings in the mesh.

Access functions:

int rings() const
void setRings(int rings)

Notifier signal:

void ringsChanged(int rings)

pub unsafe fn set_bottom_radius(&self, bottom_radius: c_float)[src]

Holds the bottom radius of the cone.

Calls C++ function: [slot] void Qt3DExtras::QConeMesh::setBottomRadius(float bottomRadius).

C++ documentation:

Holds the bottom radius of the cone.

Access functions:

float bottomRadius() const
void setBottomRadius(float bottomRadius)

Notifier signal:

void bottomRadiusChanged(float bottomRadius)

pub unsafe fn set_has_bottom_endcap(&self, has_bottom_endcap: bool)[src]

Determines if the cone bottom is capped or open.

Calls C++ function: [slot] void Qt3DExtras::QConeMesh::setHasBottomEndcap(bool hasBottomEndcap).

C++ documentation:

Determines if the cone bottom is capped or open.

Access functions:

bool hasBottomEndcap() const
void setHasBottomEndcap(bool hasBottomEndcap)

Notifier signal:

void hasBottomEndcapChanged(bool hasBottomEndcap)

pub unsafe fn set_has_top_endcap(&self, has_top_endcap: bool)[src]

Determines if the cone top is capped or open.

Calls C++ function: [slot] void Qt3DExtras::QConeMesh::setHasTopEndcap(bool hasTopEndcap).

C++ documentation:

Determines if the cone top is capped or open.

Access functions:

bool hasTopEndcap() const
void setHasTopEndcap(bool hasTopEndcap)

Notifier signal:

void hasTopEndcapChanged(bool hasTopEndcap)

pub unsafe fn set_length(&self, length: c_float)[src]

Holds the length of the cone.

Calls C++ function: [slot] void Qt3DExtras::QConeMesh::setLength(float length).

C++ documentation:

Holds the length of the cone.

Access functions:

float length() const
void setLength(float length)

Notifier signal:

void lengthChanged(float length)

pub unsafe fn set_rings(&self, rings: c_int)[src]

Holds the number of rings in the mesh.

Calls C++ function: [slot] void Qt3DExtras::QConeMesh::setRings(int rings).

C++ documentation:

Holds the number of rings in the mesh.

Access functions:

int rings() const
void setRings(int rings)

Notifier signal:

void ringsChanged(int rings)

pub unsafe fn set_slices(&self, slices: c_int)[src]

Holds the number of slices in the mesh.

Calls C++ function: [slot] void Qt3DExtras::QConeMesh::setSlices(int slices).

C++ documentation:

Holds the number of slices in the mesh.

Access functions:

int slices() const
void setSlices(int slices)

Notifier signal:

void slicesChanged(int slices)

pub unsafe fn set_top_radius(&self, top_radius: c_float)[src]

Holds the top radius of the cone.

Calls C++ function: [slot] void Qt3DExtras::QConeMesh::setTopRadius(float topRadius).

C++ documentation:

Holds the top radius of the cone.

Access functions:

float topRadius() const
void setTopRadius(float topRadius)

Notifier signal:

void topRadiusChanged(float topRadius)

pub unsafe fn slices(&self) -> c_int[src]

Holds the number of slices in the mesh.

Calls C++ function: int Qt3DExtras::QConeMesh::slices() const.

C++ documentation:

Holds the number of slices in the mesh.

Access functions:

int slices() const
void setSlices(int slices)

Notifier signal:

void slicesChanged(int slices)

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

Returns a reference to the staticMetaObject field.

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

Holds the top radius of the cone.

Calls C++ function: float Qt3DExtras::QConeMesh::topRadius() const.

C++ documentation:

Holds the top radius of the cone.

Access functions:

float topRadius() const
void setTopRadius(float topRadius)

Notifier signal:

void topRadiusChanged(float topRadius)

pub unsafe fn tr(
    s: *const c_char,
    c: *const c_char,
    n: c_int
) -> CppBox<QString>
[src]

Calls C++ function: static QString Qt3DExtras::QConeMesh::tr(const char* s, const char* c, int n).

pub unsafe fn tr_utf8(
    s: *const c_char,
    c: *const c_char,
    n: c_int
) -> CppBox<QString>
[src]

Calls C++ function: static QString Qt3DExtras::QConeMesh::trUtf8(const char* s, const char* c, int n).

Trait Implementations

impl CppDeletable for QConeMesh[src]

unsafe fn delete(&self)[src]

Calls C++ function: virtual [destructor] void Qt3DExtras::QConeMesh::~QConeMesh().

impl Deref for QConeMesh[src]

type Target = QGeometryRenderer

The resulting type after dereferencing.

fn deref(&self) -> &QGeometryRenderer[src]

Calls C++ function: Qt3DRender::QGeometryRenderer* static_cast<Qt3DRender::QGeometryRenderer*>(Qt3DExtras::QConeMesh* ptr).

impl DynamicCast<QConeMesh> for QGeometryRenderer[src]

unsafe fn dynamic_cast(ptr: Ptr<QGeometryRenderer>) -> Ptr<QConeMesh>[src]

Calls C++ function: Qt3DExtras::QConeMesh* dynamic_cast<Qt3DExtras::QConeMesh*>(Qt3DRender::QGeometryRenderer* ptr).

impl DynamicCast<QConeMesh> for QComponent[src]

unsafe fn dynamic_cast(ptr: Ptr<QComponent>) -> Ptr<QConeMesh>[src]

Calls C++ function: Qt3DExtras::QConeMesh* dynamic_cast<Qt3DExtras::QConeMesh*>(Qt3DCore::QComponent* ptr).

impl DynamicCast<QConeMesh> for QNode[src]

unsafe fn dynamic_cast(ptr: Ptr<QNode>) -> Ptr<QConeMesh>[src]

Calls C++ function: Qt3DExtras::QConeMesh* dynamic_cast<Qt3DExtras::QConeMesh*>(Qt3DCore::QNode* ptr).

impl DynamicCast<QConeMesh> for QObject[src]

unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QConeMesh>[src]

Calls C++ function: Qt3DExtras::QConeMesh* dynamic_cast<Qt3DExtras::QConeMesh*>(QObject* ptr).

impl StaticDowncast<QConeMesh> for QGeometryRenderer[src]

unsafe fn static_downcast(ptr: Ptr<QGeometryRenderer>) -> Ptr<QConeMesh>[src]

Calls C++ function: Qt3DExtras::QConeMesh* static_cast<Qt3DExtras::QConeMesh*>(Qt3DRender::QGeometryRenderer* ptr).

impl StaticDowncast<QConeMesh> for QComponent[src]

unsafe fn static_downcast(ptr: Ptr<QComponent>) -> Ptr<QConeMesh>[src]

Calls C++ function: Qt3DExtras::QConeMesh* static_cast<Qt3DExtras::QConeMesh*>(Qt3DCore::QComponent* ptr).

impl StaticDowncast<QConeMesh> for QNode[src]

unsafe fn static_downcast(ptr: Ptr<QNode>) -> Ptr<QConeMesh>[src]

Calls C++ function: Qt3DExtras::QConeMesh* static_cast<Qt3DExtras::QConeMesh*>(Qt3DCore::QNode* ptr).

impl StaticDowncast<QConeMesh> for QObject[src]

unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QConeMesh>[src]

Calls C++ function: Qt3DExtras::QConeMesh* static_cast<Qt3DExtras::QConeMesh*>(QObject* ptr).

impl StaticUpcast<QComponent> for QConeMesh[src]

unsafe fn static_upcast(ptr: Ptr<QConeMesh>) -> Ptr<QComponent>[src]

Calls C++ function: Qt3DCore::QComponent* static_cast<Qt3DCore::QComponent*>(Qt3DExtras::QConeMesh* ptr).

impl StaticUpcast<QGeometryRenderer> for QConeMesh[src]

unsafe fn static_upcast(ptr: Ptr<QConeMesh>) -> Ptr<QGeometryRenderer>[src]

Calls C++ function: Qt3DRender::QGeometryRenderer* static_cast<Qt3DRender::QGeometryRenderer*>(Qt3DExtras::QConeMesh* ptr).

impl StaticUpcast<QNode> for QConeMesh[src]

unsafe fn static_upcast(ptr: Ptr<QConeMesh>) -> Ptr<QNode>[src]

Calls C++ function: Qt3DCore::QNode* static_cast<Qt3DCore::QNode*>(Qt3DExtras::QConeMesh* ptr).

impl StaticUpcast<QObject> for QConeMesh[src]

unsafe fn static_upcast(ptr: Ptr<QConeMesh>) -> Ptr<QObject>[src]

Calls C++ function: QObject* static_cast<QObject*>(Qt3DExtras::QConeMesh* ptr).

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.