[][src]Struct qt_3d_extras::QPlaneMesh

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

A square planar mesh.

C++ class: Qt3DExtras::QPlaneMesh.

C++ documentation:

A square planar mesh.

Methods

impl QPlaneMesh[src]

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

Holds the plane width.

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

C++ documentation:

Holds the plane width.

Access functions:

float width() const
void setWidth(float width)

Notifier signal:

void widthChanged(float width)

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

Holds the plane height.

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

C++ documentation:

Holds the plane height.

Access functions:

float height() const
void setHeight(float height)

Notifier signal:

void heightChanged(float height)

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

Holds the plane resolution. The width and height values of this property specify the number of vertices generated for the mesh in the respective dimensions.

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

C++ documentation:

Holds the plane resolution. The width and height values of this property specify the number of vertices generated for the mesh in the respective dimensions.

Access functions:

QSize meshResolution() const
void setMeshResolution(const QSize &resolution)

Notifier signal:

void meshResolutionChanged(const QSize &meshResolution)

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

Controls if the UV coordinates of the plane should be flipped vertically.

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

C++ documentation:

Controls if the UV coordinates of the plane should be flipped vertically.

This property was introduced in Qt 5.9.

Access functions:

bool mirrored() const
void setMirrored(bool mirrored)

Notifier signal:

void mirroredChanged(bool mirrored)

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

Holds the plane resolution. The width and height values of this property specify the number of vertices generated for the mesh in the respective dimensions.

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

C++ documentation:

Holds the plane resolution. The width and height values of this property specify the number of vertices generated for the mesh in the respective dimensions.

Access functions:

QSize meshResolution() const
void setMeshResolution(const QSize &resolution)

Notifier signal:

void meshResolutionChanged(const QSize &meshResolution)

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

Holds the plane width.

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

C++ documentation:

Holds the plane width.

Access functions:

float width() const
void setWidth(float width)

Notifier signal:

void widthChanged(float width)

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

Holds the plane height.

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

C++ documentation:

Holds the plane height.

Access functions:

float height() const
void setHeight(float height)

Notifier signal:

void heightChanged(float height)

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

Controls if the UV coordinates of the plane should be flipped vertically.

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

C++ documentation:

Controls if the UV coordinates of the plane should be flipped vertically.

This property was introduced in Qt 5.9.

Access functions:

bool mirrored() const
void setMirrored(bool mirrored)

Notifier signal:

void mirroredChanged(bool mirrored)

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

Holds the plane height.

Calls C++ function: float Qt3DExtras::QPlaneMesh::height() const.

C++ documentation:

Holds the plane height.

Access functions:

float height() const
void setHeight(float height)

Notifier signal:

void heightChanged(float height)

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

Holds the plane resolution. The width and height values of this property specify the number of vertices generated for the mesh in the respective dimensions.

Calls C++ function: QSize Qt3DExtras::QPlaneMesh::meshResolution() const.

C++ documentation:

Holds the plane resolution. The width and height values of this property specify the number of vertices generated for the mesh in the respective dimensions.

Access functions:

QSize meshResolution() const
void setMeshResolution(const QSize &resolution)

Notifier signal:

void meshResolutionChanged(const QSize &meshResolution)

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

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

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

Controls if the UV coordinates of the plane should be flipped vertically.

Calls C++ function: bool Qt3DExtras::QPlaneMesh::mirrored() const.

C++ documentation:

Controls if the UV coordinates of the plane should be flipped vertically.

This property was introduced in Qt 5.9.

Access functions:

bool mirrored() const
void setMirrored(bool mirrored)

Notifier signal:

void mirroredChanged(bool mirrored)

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

Default constructs an instance of QPlaneMesh.

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

C++ documentation:

Default constructs an instance of QPlaneMesh.

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

A square planar mesh.

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

C++ documentation:

A square planar 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::QPlaneMesh::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::QPlaneMesh::qt_metacast(const char* arg1).

pub unsafe fn set_height(&self, height: c_float)[src]

Holds the plane height.

Calls C++ function: [slot] void Qt3DExtras::QPlaneMesh::setHeight(float height).

C++ documentation:

Holds the plane height.

Access functions:

float height() const
void setHeight(float height)

Notifier signal:

void heightChanged(float height)

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

Holds the plane resolution. The width and height values of this property specify the number of vertices generated for the mesh in the respective dimensions.

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

C++ documentation:

Holds the plane resolution. The width and height values of this property specify the number of vertices generated for the mesh in the respective dimensions.

Access functions:

QSize meshResolution() const
void setMeshResolution(const QSize &resolution)

Notifier signal:

void meshResolutionChanged(const QSize &meshResolution)

pub unsafe fn set_mirrored(&self, mirrored: bool)[src]

Controls if the UV coordinates of the plane should be flipped vertically.

Calls C++ function: [slot] void Qt3DExtras::QPlaneMesh::setMirrored(bool mirrored).

C++ documentation:

Controls if the UV coordinates of the plane should be flipped vertically.

This property was introduced in Qt 5.9.

Access functions:

bool mirrored() const
void setMirrored(bool mirrored)

Notifier signal:

void mirroredChanged(bool mirrored)

pub unsafe fn set_width(&self, width: c_float)[src]

Holds the plane width.

Calls C++ function: [slot] void Qt3DExtras::QPlaneMesh::setWidth(float width).

C++ documentation:

Holds the plane width.

Access functions:

float width() const
void setWidth(float width)

Notifier signal:

void widthChanged(float width)

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::QPlaneMesh::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::QPlaneMesh::trUtf8(const char* s, const char* c, int n).

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

Holds the plane width.

Calls C++ function: float Qt3DExtras::QPlaneMesh::width() const.

C++ documentation:

Holds the plane width.

Access functions:

float width() const
void setWidth(float width)

Notifier signal:

void widthChanged(float width)

Trait Implementations

impl CppDeletable for QPlaneMesh[src]

unsafe fn delete(&self)[src]

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

impl Deref for QPlaneMesh[src]

type Target = QGeometryRenderer

The resulting type after dereferencing.

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

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

impl DynamicCast<QPlaneMesh> for QGeometryRenderer[src]

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

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

impl DynamicCast<QPlaneMesh> for QComponent[src]

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

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

impl DynamicCast<QPlaneMesh> for QNode[src]

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

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

impl DynamicCast<QPlaneMesh> for QObject[src]

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

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

impl StaticDowncast<QPlaneMesh> for QGeometryRenderer[src]

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

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

impl StaticDowncast<QPlaneMesh> for QComponent[src]

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

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

impl StaticDowncast<QPlaneMesh> for QNode[src]

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

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

impl StaticDowncast<QPlaneMesh> for QObject[src]

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

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

impl StaticUpcast<QComponent> for QPlaneMesh[src]

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

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

impl StaticUpcast<QGeometryRenderer> for QPlaneMesh[src]

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

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

impl StaticUpcast<QNode> for QPlaneMesh[src]

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

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

impl StaticUpcast<QObject> for QPlaneMesh[src]

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

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