[][src]Struct qt_3d_extras::QCuboidGeometry

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

The QCuboidGeometry class allows creation of a cuboid in 3D space.

C++ class: Qt3DExtras::QCuboidGeometry.

C++ documentation:

The QCuboidGeometry class allows creation of a cuboid in 3D space.

The QCuboidGeometry class is most commonly used internally by the QCuboidMesh but can also be used in custom Qt3DRender::QGeometryRenderer subclasses.

Methods

impl QCuboidGeometry[src]

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

Holds the x extent of the geometry.

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

C++ documentation:

Holds the x extent of the geometry.

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 geometry.

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

C++ documentation:

Holds the y extent of the geometry.

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 geometry.

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

C++ documentation:

Holds the z extent of the geometry.

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. 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::QCuboidGeometry::setYZMeshResolution that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the y-z resolution. 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. 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::QCuboidGeometry::setXZMeshResolution that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the x-z resolution. 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. 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::QCuboidGeometry::setXYMeshResolution that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the x-y resolution. 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 geometry.

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

C++ documentation:

Holds the x extent of the geometry.

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 geometry.

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

C++ documentation:

Holds the y extent of the geometry.

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 geometry.

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

C++ documentation:

Holds the z extent of the geometry.

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. 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::QCuboidGeometry::yzMeshResolutionChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the y-z resolution. 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. 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::QCuboidGeometry::xzMeshResolutionChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the x-z resolution. 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. 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::QCuboidGeometry::xyMeshResolutionChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the x-y resolution. 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 index_attribute(&self) -> QPtr<QAttribute>[src]

Holds the geometry index attribute.

Calls C++ function: Qt3DRender::QAttribute* Qt3DExtras::QCuboidGeometry::indexAttribute() const.

C++ documentation:

Holds the geometry index attribute.

Access functions:

Qt3DRender::QAttribute *indexAttribute() const

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

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

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

Constructs a new QCuboidGeometry with parent.

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

C++ documentation:

Constructs a new QCuboidGeometry with parent.

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

The QCuboidGeometry class allows creation of a cuboid in 3D space.

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

C++ documentation:

The QCuboidGeometry class allows creation of a cuboid in 3D space.

The QCuboidGeometry class is most commonly used internally by the QCuboidMesh but can also be used in custom Qt3DRender::QGeometryRenderer subclasses.

pub unsafe fn normal_attribute(&self) -> QPtr<QAttribute>[src]

Holds the geometry normal attribute.

Calls C++ function: Qt3DRender::QAttribute* Qt3DExtras::QCuboidGeometry::normalAttribute() const.

C++ documentation:

Holds the geometry normal attribute.

Access functions:

Qt3DRender::QAttribute *normalAttribute() const

pub unsafe fn position_attribute(&self) -> QPtr<QAttribute>[src]

Holds the geometry position attribute.

Calls C++ function: Qt3DRender::QAttribute* Qt3DExtras::QCuboidGeometry::positionAttribute() const.

C++ documentation:

Holds the geometry position attribute.

Access functions:

Qt3DRender::QAttribute *positionAttribute() const

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

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

Holds the x extent of the geometry.

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

C++ documentation:

Holds the x extent of the geometry.

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. 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::QCuboidGeometry::setXYMeshResolution(const QSize& resolution).

C++ documentation:

Holds the x-y resolution. 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. 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::QCuboidGeometry::setXZMeshResolution(const QSize& resolution).

C++ documentation:

Holds the x-z resolution. 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 geometry.

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

C++ documentation:

Holds the y extent of the geometry.

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. 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::QCuboidGeometry::setYZMeshResolution(const QSize& resolution).

C++ documentation:

Holds the y-z resolution. 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 geometry.

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

C++ documentation:

Holds the z extent of the geometry.

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 tangent_attribute(&self) -> QPtr<QAttribute>[src]

Holds the geometry tangent attribute.

Calls C++ function: Qt3DRender::QAttribute* Qt3DExtras::QCuboidGeometry::tangentAttribute() const.

C++ documentation:

Holds the geometry tangent attribute.

Access functions:

Qt3DRender::QAttribute *tangentAttribute() const

pub unsafe fn tex_coord_attribute(&self) -> QPtr<QAttribute>[src]

Holds the geometry texture coordinate attribute.

Calls C++ function: Qt3DRender::QAttribute* Qt3DExtras::QCuboidGeometry::texCoordAttribute() const.

C++ documentation:

Holds the geometry texture coordinate attribute.

Access functions:

Qt3DRender::QAttribute *texCoordAttribute() const

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

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

pub unsafe fn update_indices(&self)[src]

Updates indices based on mesh resolutions.

Calls C++ function: void Qt3DExtras::QCuboidGeometry::updateIndices().

C++ documentation:

Updates indices based on mesh resolutions.

pub unsafe fn update_vertices(&self)[src]

Updates vertices based on mesh resolutions.

Calls C++ function: void Qt3DExtras::QCuboidGeometry::updateVertices().

C++ documentation:

Updates vertices based on mesh resolutions.

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

Holds the x extent of the geometry.

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

C++ documentation:

Holds the x extent of the geometry.

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. 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::QCuboidGeometry::xyMeshResolution() const.

C++ documentation:

Holds the x-y resolution. 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. 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::QCuboidGeometry::xzMeshResolution() const.

C++ documentation:

Holds the x-z resolution. 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 geometry.

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

C++ documentation:

Holds the y extent of the geometry.

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. 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::QCuboidGeometry::yzMeshResolution() const.

C++ documentation:

Holds the y-z resolution. 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 geometry.

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

C++ documentation:

Holds the z extent of the geometry.

Access functions:

float zExtent() const
void setZExtent(float zExtent)

Notifier signal:

void zExtentChanged(float zExtent)

Methods from Deref<Target = QGeometry>

pub fn slot_set_bounding_volume_position_attribute(
    &self
) -> Receiver<(*mut QAttribute,)>
[src]

Holds the attribute used to compute the bounding volume. The bounding volume is used internally for picking and view frustum culling.

Returns a built-in Qt slot Qt3DRender::QGeometry::setBoundingVolumePositionAttribute that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the attribute used to compute the bounding volume. The bounding volume is used internally for picking and view frustum culling.

If unspecified, the system will look for the attribute using the name returned by QAttribute::defaultPositionAttributeName.

Access functions:

QAttribute *boundingVolumePositionAttribute() const
void setBoundingVolumePositionAttribute(QAttribute *boundingVolumePositionAttribute)

Notifier signal:

void boundingVolumePositionAttributeChanged(QAttribute *boundingVolumePositionAttribute)

See also Qt3DRender::QAttribute.

pub fn bounding_volume_position_attribute_changed(
    &self
) -> Signal<(*mut QAttribute,)>
[src]

Holds the attribute used to compute the bounding volume. The bounding volume is used internally for picking and view frustum culling.

Returns a built-in Qt signal Qt3DRender::QGeometry::boundingVolumePositionAttributeChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the attribute used to compute the bounding volume. The bounding volume is used internally for picking and view frustum culling.

If unspecified, the system will look for the attribute using the name returned by QAttribute::defaultPositionAttributeName.

Access functions:

QAttribute *boundingVolumePositionAttribute() const
void setBoundingVolumePositionAttribute(QAttribute *boundingVolumePositionAttribute)

Notifier signal:

void boundingVolumePositionAttributeChanged(QAttribute *boundingVolumePositionAttribute)

See also Qt3DRender::QAttribute.

pub unsafe fn add_attribute(&self, attribute: impl CastInto<Ptr<QAttribute>>)[src]

Adds an attribute to this geometry.

Calls C++ function: void Qt3DRender::QGeometry::addAttribute(Qt3DRender::QAttribute* attribute).

C++ documentation:

Adds an attribute to this geometry.

pub unsafe fn attributes(&self) -> CppBox<QVectorOfQAttribute>[src]

Returns the list of attributes in this geometry.

Calls C++ function: QVector<Qt3DRender::QAttribute*> Qt3DRender::QGeometry::attributes() const.

C++ documentation:

Returns the list of attributes in this geometry.

pub unsafe fn bounding_volume_position_attribute(&self) -> QPtr<QAttribute>[src]

Holds the attribute used to compute the bounding volume. The bounding volume is used internally for picking and view frustum culling.

Calls C++ function: Qt3DRender::QAttribute* Qt3DRender::QGeometry::boundingVolumePositionAttribute() const.

C++ documentation:

Holds the attribute used to compute the bounding volume. The bounding volume is used internally for picking and view frustum culling.

If unspecified, the system will look for the attribute using the name returned by QAttribute::defaultPositionAttributeName.

Access functions:

QAttribute *boundingVolumePositionAttribute() const
void setBoundingVolumePositionAttribute(QAttribute *boundingVolumePositionAttribute)

Notifier signal:

void boundingVolumePositionAttributeChanged(QAttribute *boundingVolumePositionAttribute)

See also Qt3DRender::QAttribute.

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

This is supported on cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Holds the vertex with the highest x, y, z position values.

Calls C++ function: QVector3D Qt3DRender::QGeometry::maxExtent() const.

C++ documentation:

Holds the vertex with the highest x, y, z position values.

Access functions:

QVector3D maxExtent() const

Notifier signal:

void maxExtentChanged(const QVector3D &maxExtent)

pub unsafe fn max_extent_changed(
    &self,
    max_extent: impl CastInto<Ref<QVector3D>>
)
[src]

This is supported on cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Holds the vertex with the highest x, y, z position values.

Calls C++ function: void Qt3DRender::QGeometry::maxExtentChanged(const QVector3D& maxExtent).

C++ documentation:

Holds the vertex with the highest x, y, z position values.

Access functions:

QVector3D maxExtent() const

Notifier signal:

void maxExtentChanged(const QVector3D &maxExtent)

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

Calls C++ function: virtual const QMetaObject* Qt3DRender::QGeometry::metaObject() const.

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

This is supported on cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Holds the vertex with the lowest x, y, z position values.

Calls C++ function: QVector3D Qt3DRender::QGeometry::minExtent() const.

C++ documentation:

Holds the vertex with the lowest x, y, z position values.

Access functions:

QVector3D minExtent() const

Notifier signal:

void minExtentChanged(const QVector3D &minExtent)

pub unsafe fn min_extent_changed(
    &self,
    min_extent: impl CastInto<Ref<QVector3D>>
)
[src]

This is supported on cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Holds the vertex with the lowest x, y, z position values.

Calls C++ function: void Qt3DRender::QGeometry::minExtentChanged(const QVector3D& minExtent).

C++ documentation:

Holds the vertex with the lowest x, y, z position values.

Access functions:

QVector3D minExtent() const

Notifier signal:

void minExtentChanged(const QVector3D &minExtent)

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

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

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

Calls C++ function: virtual void* Qt3DRender::QGeometry::qt_metacast(const char* arg1).

pub unsafe fn remove_attribute(&self, attribute: impl CastInto<Ptr<QAttribute>>)[src]

Removes the given attribute from this geometry.

Calls C++ function: void Qt3DRender::QGeometry::removeAttribute(Qt3DRender::QAttribute* attribute).

C++ documentation:

Removes the given attribute from this geometry.

pub unsafe fn set_bounding_volume_position_attribute(
    &self,
    bounding_volume_position_attribute: impl CastInto<Ptr<QAttribute>>
)
[src]

Holds the attribute used to compute the bounding volume. The bounding volume is used internally for picking and view frustum culling.

Calls C++ function: [slot] void Qt3DRender::QGeometry::setBoundingVolumePositionAttribute(Qt3DRender::QAttribute* boundingVolumePositionAttribute).

C++ documentation:

Holds the attribute used to compute the bounding volume. The bounding volume is used internally for picking and view frustum culling.

If unspecified, the system will look for the attribute using the name returned by QAttribute::defaultPositionAttributeName.

Access functions:

QAttribute *boundingVolumePositionAttribute() const
void setBoundingVolumePositionAttribute(QAttribute *boundingVolumePositionAttribute)

Notifier signal:

void boundingVolumePositionAttributeChanged(QAttribute *boundingVolumePositionAttribute)

See also Qt3DRender::QAttribute.

Trait Implementations

impl CppDeletable for QCuboidGeometry[src]

unsafe fn delete(&self)[src]

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

impl Deref for QCuboidGeometry[src]

type Target = QGeometry

The resulting type after dereferencing.

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

Calls C++ function: Qt3DRender::QGeometry* static_cast<Qt3DRender::QGeometry*>(Qt3DExtras::QCuboidGeometry* ptr).

impl DynamicCast<QCuboidGeometry> for QGeometry[src]

unsafe fn dynamic_cast(ptr: Ptr<QGeometry>) -> Ptr<QCuboidGeometry>[src]

Calls C++ function: Qt3DExtras::QCuboidGeometry* dynamic_cast<Qt3DExtras::QCuboidGeometry*>(Qt3DRender::QGeometry* ptr).

impl DynamicCast<QCuboidGeometry> for QNode[src]

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

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

impl DynamicCast<QCuboidGeometry> for QObject[src]

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

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

impl StaticDowncast<QCuboidGeometry> for QGeometry[src]

unsafe fn static_downcast(ptr: Ptr<QGeometry>) -> Ptr<QCuboidGeometry>[src]

Calls C++ function: Qt3DExtras::QCuboidGeometry* static_cast<Qt3DExtras::QCuboidGeometry*>(Qt3DRender::QGeometry* ptr).

impl StaticDowncast<QCuboidGeometry> for QNode[src]

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

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

impl StaticDowncast<QCuboidGeometry> for QObject[src]

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

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

impl StaticUpcast<QGeometry> for QCuboidGeometry[src]

unsafe fn static_upcast(ptr: Ptr<QCuboidGeometry>) -> Ptr<QGeometry>[src]

Calls C++ function: Qt3DRender::QGeometry* static_cast<Qt3DRender::QGeometry*>(Qt3DExtras::QCuboidGeometry* ptr).

impl StaticUpcast<QNode> for QCuboidGeometry[src]

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

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

impl StaticUpcast<QObject> for QCuboidGeometry[src]

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

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