[][src]Struct qt_3d_extras::QCuboidMesh

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

A cuboid mesh.

C++ class: Qt3DExtras::QCuboidMesh.

C++ documentation:

A cuboid mesh.

Methods

impl QCuboidMesh[src]

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

Holds the x extent of the mesh.

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

C++ documentation:

Holds the x extent of the mesh.

Access functions:

float xExtent() const
void setXExtent(float xExtent)

Notifier signal:

void xExtentChanged(float xExtent)

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

Holds the y extent of the mesh.

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

C++ documentation:

Holds the y extent of the mesh.

Access functions:

float yExtent() const
void setYExtent(float yExtent)

Notifier signal:

void yExtentChanged(float yExtent)

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

Holds the z extent of the mesh.

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

C++ documentation:

Holds the z extent of the mesh.

Access functions:

float zExtent() const
void setZExtent(float zExtent)

Notifier signal:

void zExtentChanged(float zExtent)

pub fn slot_set_y_z_mesh_resolution(&self) -> Receiver<(*const QSize,)>[src]

Holds the y-z resolution of the mesh. The width and height values of this property specify the number of vertices generated for the y-z faces of the mesh.

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

C++ documentation:

Holds the y-z resolution of the mesh. The width and height values of this property specify the number of vertices generated for the y-z faces of the mesh.

Access functions:

QSize yzMeshResolution() const
void setYZMeshResolution(const QSize &resolution)

Notifier signal:

void yzMeshResolutionChanged(const QSize &yzMeshResolution)

pub fn slot_set_x_z_mesh_resolution(&self) -> Receiver<(*const QSize,)>[src]

Holds the x-z resolution of the mesh. The width and height values of this property specify the number of vertices generated for the x-z faces of the mesh.

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

C++ documentation:

Holds the x-z resolution of the mesh. The width and height values of this property specify the number of vertices generated for the x-z faces of the mesh.

Access functions:

QSize xzMeshResolution() const
void setXZMeshResolution(const QSize &resolution)

Notifier signal:

void xzMeshResolutionChanged(const QSize &xzMeshResolution)

pub fn slot_set_x_y_mesh_resolution(&self) -> Receiver<(*const QSize,)>[src]

Holds the x-y resolution of the mesh. The width and height values of this property specify the number of vertices generated for the x-y faces of the mesh.

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

C++ documentation:

Holds the x-y resolution of the mesh. The width and height values of this property specify the number of vertices generated for the x-y faces of the mesh.

Access functions:

QSize xyMeshResolution() const
void setXYMeshResolution(const QSize &resolution)

Notifier signal:

void xyMeshResolutionChanged(const QSize &xyMeshResolution)

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

Holds the x extent of the mesh.

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

C++ documentation:

Holds the x extent of the mesh.

Access functions:

float xExtent() const
void setXExtent(float xExtent)

Notifier signal:

void xExtentChanged(float xExtent)

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

Holds the y extent of the mesh.

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

C++ documentation:

Holds the y extent of the mesh.

Access functions:

float yExtent() const
void setYExtent(float yExtent)

Notifier signal:

void yExtentChanged(float yExtent)

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

Holds the z extent of the mesh.

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

C++ documentation:

Holds the z extent of the mesh.

Access functions:

float zExtent() const
void setZExtent(float zExtent)

Notifier signal:

void zExtentChanged(float zExtent)

pub fn yz_mesh_resolution_changed(&self) -> Signal<(*const QSize,)>[src]

Holds the y-z resolution of the mesh. The width and height values of this property specify the number of vertices generated for the y-z faces of the mesh.

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

C++ documentation:

Holds the y-z resolution of the mesh. The width and height values of this property specify the number of vertices generated for the y-z faces of the mesh.

Access functions:

QSize yzMeshResolution() const
void setYZMeshResolution(const QSize &resolution)

Notifier signal:

void yzMeshResolutionChanged(const QSize &yzMeshResolution)

pub fn xz_mesh_resolution_changed(&self) -> Signal<(*const QSize,)>[src]

Holds the x-z resolution of the mesh. The width and height values of this property specify the number of vertices generated for the x-z faces of the mesh.

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

C++ documentation:

Holds the x-z resolution of the mesh. The width and height values of this property specify the number of vertices generated for the x-z faces of the mesh.

Access functions:

QSize xzMeshResolution() const
void setXZMeshResolution(const QSize &resolution)

Notifier signal:

void xzMeshResolutionChanged(const QSize &xzMeshResolution)

pub fn xy_mesh_resolution_changed(&self) -> Signal<(*const QSize,)>[src]

Holds the x-y resolution of the mesh. The width and height values of this property specify the number of vertices generated for the x-y faces of the mesh.

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

C++ documentation:

Holds the x-y resolution of the mesh. The width and height values of this property specify the number of vertices generated for the x-y faces of the mesh.

Access functions:

QSize xyMeshResolution() const
void setXYMeshResolution(const QSize &resolution)

Notifier signal:

void xyMeshResolutionChanged(const QSize &xyMeshResolution)

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

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

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

Default constructs an instance of QCuboidMesh.

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

C++ documentation:

Default constructs an instance of QCuboidMesh.

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

A cuboid mesh.

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

C++ documentation:

A cuboid 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::QCuboidMesh::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::QCuboidMesh::qt_metacast(const char* arg1).

pub unsafe fn set_x_extent(&self, x_extent: c_float)[src]

Holds the x extent of the mesh.

Calls C++ function: [slot] void Qt3DExtras::QCuboidMesh::setXExtent(float xExtent).

C++ documentation:

Holds the x extent of the mesh.

Access functions:

float xExtent() const
void setXExtent(float xExtent)

Notifier signal:

void xExtentChanged(float xExtent)

pub unsafe fn set_x_y_mesh_resolution(
    &self,
    resolution: impl CastInto<Ref<QSize>>
)
[src]

Holds the x-y resolution of the mesh. The width and height values of this property specify the number of vertices generated for the x-y faces of the mesh.

Calls C++ function: [slot] void Qt3DExtras::QCuboidMesh::setXYMeshResolution(const QSize& resolution).

C++ documentation:

Holds the x-y resolution of the mesh. The width and height values of this property specify the number of vertices generated for the x-y faces of the mesh.

Access functions:

QSize xyMeshResolution() const
void setXYMeshResolution(const QSize &resolution)

Notifier signal:

void xyMeshResolutionChanged(const QSize &xyMeshResolution)

pub unsafe fn set_x_z_mesh_resolution(
    &self,
    resolution: impl CastInto<Ref<QSize>>
)
[src]

Holds the x-z resolution of the mesh. The width and height values of this property specify the number of vertices generated for the x-z faces of the mesh.

Calls C++ function: [slot] void Qt3DExtras::QCuboidMesh::setXZMeshResolution(const QSize& resolution).

C++ documentation:

Holds the x-z resolution of the mesh. The width and height values of this property specify the number of vertices generated for the x-z faces of the mesh.

Access functions:

QSize xzMeshResolution() const
void setXZMeshResolution(const QSize &resolution)

Notifier signal:

void xzMeshResolutionChanged(const QSize &xzMeshResolution)

pub unsafe fn set_y_extent(&self, y_extent: c_float)[src]

Holds the y extent of the mesh.

Calls C++ function: [slot] void Qt3DExtras::QCuboidMesh::setYExtent(float yExtent).

C++ documentation:

Holds the y extent of the mesh.

Access functions:

float yExtent() const
void setYExtent(float yExtent)

Notifier signal:

void yExtentChanged(float yExtent)

pub unsafe fn set_y_z_mesh_resolution(
    &self,
    resolution: impl CastInto<Ref<QSize>>
)
[src]

Holds the y-z resolution of the mesh. The width and height values of this property specify the number of vertices generated for the y-z faces of the mesh.

Calls C++ function: [slot] void Qt3DExtras::QCuboidMesh::setYZMeshResolution(const QSize& resolution).

C++ documentation:

Holds the y-z resolution of the mesh. The width and height values of this property specify the number of vertices generated for the y-z faces of the mesh.

Access functions:

QSize yzMeshResolution() const
void setYZMeshResolution(const QSize &resolution)

Notifier signal:

void yzMeshResolutionChanged(const QSize &yzMeshResolution)

pub unsafe fn set_z_extent(&self, z_extent: c_float)[src]

Holds the z extent of the mesh.

Calls C++ function: [slot] void Qt3DExtras::QCuboidMesh::setZExtent(float zExtent).

C++ documentation:

Holds the z extent of the mesh.

Access functions:

float zExtent() const
void setZExtent(float zExtent)

Notifier signal:

void zExtentChanged(float zExtent)

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

Returns a reference to the staticMetaObject field.

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

Calls C++ function: static QString Qt3DExtras::QCuboidMesh::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::QCuboidMesh::trUtf8(const char* s, const char* c, int n).

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

Holds the x extent of the mesh.

Calls C++ function: float Qt3DExtras::QCuboidMesh::xExtent() const.

C++ documentation:

Holds the x extent of the mesh.

Access functions:

float xExtent() const
void setXExtent(float xExtent)

Notifier signal:

void xExtentChanged(float xExtent)

pub unsafe fn xy_mesh_resolution(&self) -> CppBox<QSize>[src]

Holds the x-y resolution of the mesh. The width and height values of this property specify the number of vertices generated for the x-y faces of the mesh.

Calls C++ function: QSize Qt3DExtras::QCuboidMesh::xyMeshResolution() const.

C++ documentation:

Holds the x-y resolution of the mesh. The width and height values of this property specify the number of vertices generated for the x-y faces of the mesh.

Access functions:

QSize xyMeshResolution() const
void setXYMeshResolution(const QSize &resolution)

Notifier signal:

void xyMeshResolutionChanged(const QSize &xyMeshResolution)

pub unsafe fn xz_mesh_resolution(&self) -> CppBox<QSize>[src]

Holds the x-z resolution of the mesh. The width and height values of this property specify the number of vertices generated for the x-z faces of the mesh.

Calls C++ function: QSize Qt3DExtras::QCuboidMesh::xzMeshResolution() const.

C++ documentation:

Holds the x-z resolution of the mesh. The width and height values of this property specify the number of vertices generated for the x-z faces of the mesh.

Access functions:

QSize xzMeshResolution() const
void setXZMeshResolution(const QSize &resolution)

Notifier signal:

void xzMeshResolutionChanged(const QSize &xzMeshResolution)

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

Holds the y extent of the mesh.

Calls C++ function: float Qt3DExtras::QCuboidMesh::yExtent() const.

C++ documentation:

Holds the y extent of the mesh.

Access functions:

float yExtent() const
void setYExtent(float yExtent)

Notifier signal:

void yExtentChanged(float yExtent)

pub unsafe fn yz_mesh_resolution(&self) -> CppBox<QSize>[src]

Holds the y-z resolution of the mesh. The width and height values of this property specify the number of vertices generated for the y-z faces of the mesh.

Calls C++ function: QSize Qt3DExtras::QCuboidMesh::yzMeshResolution() const.

C++ documentation:

Holds the y-z resolution of the mesh. The width and height values of this property specify the number of vertices generated for the y-z faces of the mesh.

Access functions:

QSize yzMeshResolution() const
void setYZMeshResolution(const QSize &resolution)

Notifier signal:

void yzMeshResolutionChanged(const QSize &yzMeshResolution)

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

Holds the z extent of the mesh.

Calls C++ function: float Qt3DExtras::QCuboidMesh::zExtent() const.

C++ documentation:

Holds the z extent of the mesh.

Access functions:

float zExtent() const
void setZExtent(float zExtent)

Notifier signal:

void zExtentChanged(float zExtent)

Trait Implementations

impl CppDeletable for QCuboidMesh[src]

unsafe fn delete(&self)[src]

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

impl Deref for QCuboidMesh[src]

type Target = QGeometryRenderer

The resulting type after dereferencing.

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

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

impl DynamicCast<QCuboidMesh> for QGeometryRenderer[src]

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

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

impl DynamicCast<QCuboidMesh> for QComponent[src]

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

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

impl DynamicCast<QCuboidMesh> for QNode[src]

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

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

impl DynamicCast<QCuboidMesh> for QObject[src]

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

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

impl StaticDowncast<QCuboidMesh> for QGeometryRenderer[src]

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

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

impl StaticDowncast<QCuboidMesh> for QComponent[src]

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

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

impl StaticDowncast<QCuboidMesh> for QNode[src]

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

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

impl StaticDowncast<QCuboidMesh> for QObject[src]

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

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

impl StaticUpcast<QComponent> for QCuboidMesh[src]

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

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

impl StaticUpcast<QGeometryRenderer> for QCuboidMesh[src]

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

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

impl StaticUpcast<QNode> for QCuboidMesh[src]

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

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

impl StaticUpcast<QObject> for QCuboidMesh[src]

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

Calls C++ function: QObject* static_cast<QObject*>(Qt3DExtras::QCuboidMesh* 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.