[−][src]Struct qt_3d_extras::QCuboidGeometry
The QCuboidGeometry class allows creation of a cuboid in 3D space.
C++ class: Qt3DExtras::QCuboidGeometry
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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) -> QMutPtr<QAttribute>
[src]
Holds the geometry index attribute.
Calls C++ function: Qt3DRender::QAttribute* Qt3DExtras::QCuboidGeometry::indexAttribute() const
.
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<MutPtr<QNode>>
) -> QBox<QCuboidGeometry>
[src]
parent: impl CastInto<MutPtr<QNode>>
) -> QBox<QCuboidGeometry>
Constructs a new QCuboidGeometry with parent.
Calls C++ function: [constructor] void Qt3DExtras::QCuboidGeometry::QCuboidGeometry(Qt3DCore::QNode* parent = …)
.
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()
.
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) -> QMutPtr<QAttribute>
[src]
Holds the geometry normal attribute.
Calls C++ function: Qt3DRender::QAttribute* Qt3DExtras::QCuboidGeometry::normalAttribute() const
.
Holds the geometry normal attribute.
Access functions:
Qt3DRender::QAttribute * | normalAttribute() const |
pub unsafe fn position_attribute(&self) -> QMutPtr<QAttribute>
[src]
Holds the geometry position attribute.
Calls C++ function: Qt3DRender::QAttribute* Qt3DExtras::QCuboidGeometry::positionAttribute() const
.
Holds the geometry position attribute.
Access functions:
Qt3DRender::QAttribute * | positionAttribute() const |
pub unsafe fn qt_metacall(
&mut self,
arg1: Call,
arg2: c_int,
arg3: impl CastInto<MutPtr<*mut c_void>>
) -> c_int
[src]
&mut self,
arg1: Call,
arg2: c_int,
arg3: impl CastInto<MutPtr<*mut c_void>>
) -> c_int
Calls C++ function: virtual int Qt3DExtras::QCuboidGeometry::qt_metacall(QMetaObject::Call arg1, int arg2, void** arg3)
.
pub unsafe fn qt_metacast(
&mut self,
arg1: impl CastInto<Ptr<c_char>>
) -> MutPtr<c_void>
[src]
&mut self,
arg1: impl CastInto<Ptr<c_char>>
) -> MutPtr<c_void>
Calls C++ function: virtual void* Qt3DExtras::QCuboidGeometry::qt_metacast(const char* arg1)
.
pub unsafe fn set_x_extent(&mut self, x_extent: c_float)
[src]
Holds the x extent of the geometry.
Calls C++ function: [slot] void Qt3DExtras::QCuboidGeometry::setXExtent(float xExtent)
.
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(
&mut self,
resolution: impl CastInto<Ref<QSize>>
)
[src]
&mut self,
resolution: impl CastInto<Ref<QSize>>
)
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)
.
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(
&mut self,
resolution: impl CastInto<Ref<QSize>>
)
[src]
&mut self,
resolution: impl CastInto<Ref<QSize>>
)
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)
.
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(&mut self, y_extent: c_float)
[src]
Holds the y extent of the geometry.
Calls C++ function: [slot] void Qt3DExtras::QCuboidGeometry::setYExtent(float yExtent)
.
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(
&mut self,
resolution: impl CastInto<Ref<QSize>>
)
[src]
&mut self,
resolution: impl CastInto<Ref<QSize>>
)
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)
.
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(&mut self, z_extent: c_float)
[src]
Holds the z extent of the geometry.
Calls C++ function: [slot] void Qt3DExtras::QCuboidGeometry::setZExtent(float zExtent)
.
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) -> QMutPtr<QAttribute>
[src]
Holds the geometry tangent attribute.
Calls C++ function: Qt3DRender::QAttribute* Qt3DExtras::QCuboidGeometry::tangentAttribute() const
.
Holds the geometry tangent attribute.
Access functions:
Qt3DRender::QAttribute * | tangentAttribute() const |
pub unsafe fn tex_coord_attribute(&self) -> QMutPtr<QAttribute>
[src]
Holds the geometry texture coordinate attribute.
Calls C++ function: Qt3DRender::QAttribute* Qt3DExtras::QCuboidGeometry::texCoordAttribute() const
.
Holds the geometry texture coordinate attribute.
Access functions:
Qt3DRender::QAttribute * | texCoordAttribute() const |
pub unsafe fn tr(
s: impl CastInto<Ptr<c_char>>,
c: impl CastInto<Ptr<c_char>>,
n: c_int
) -> CppBox<QString>
[src]
s: impl CastInto<Ptr<c_char>>,
c: impl CastInto<Ptr<c_char>>,
n: c_int
) -> CppBox<QString>
Calls C++ function: static QString Qt3DExtras::QCuboidGeometry::tr(const char* s, const char* c, int n)
.
pub unsafe fn tr_utf8(
s: impl CastInto<Ptr<c_char>>,
c: impl CastInto<Ptr<c_char>>,
n: c_int
) -> CppBox<QString>
[src]
s: impl CastInto<Ptr<c_char>>,
c: impl CastInto<Ptr<c_char>>,
n: c_int
) -> CppBox<QString>
Calls C++ function: static QString Qt3DExtras::QCuboidGeometry::trUtf8(const char* s, const char* c, int n)
.
pub unsafe fn update_indices(&mut self)
[src]
Updates indices based on mesh resolutions.
Calls C++ function: void Qt3DExtras::QCuboidGeometry::updateIndices()
.
Updates indices based on mesh resolutions.
pub unsafe fn update_vertices(&mut self)
[src]
Updates vertices based on mesh resolutions.
Calls C++ function: void Qt3DExtras::QCuboidGeometry::updateVertices()
.
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
.
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
.
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
.
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
.
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
.
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
.
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]
&self
) -> Receiver<(*mut QAttribute,)>
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
.
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]
&self
) -> Signal<(*mut QAttribute,)>
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
.
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(
&mut self,
attribute: impl CastInto<MutPtr<QAttribute>>
)
[src]
&mut self,
attribute: impl CastInto<MutPtr<QAttribute>>
)
Adds an attribute to this geometry.
Calls C++ function: void Qt3DRender::QGeometry::addAttribute(Qt3DRender::QAttribute* attribute)
.
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
.
Returns the list of attributes in this geometry.
pub unsafe fn bounding_volume_position_attribute(&self) -> QMutPtr<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
.
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 meta_object(&self) -> Ptr<QMetaObject>
[src]
Calls C++ function: virtual const QMetaObject* Qt3DRender::QGeometry::metaObject() const
.
pub unsafe fn qt_metacall(
&mut self,
arg1: Call,
arg2: i32,
arg3: impl CastInto<MutPtr<*mut c_void>>
) -> i32
[src]
&mut self,
arg1: Call,
arg2: i32,
arg3: impl CastInto<MutPtr<*mut c_void>>
) -> i32
Calls C++ function: virtual int Qt3DRender::QGeometry::qt_metacall(QMetaObject::Call arg1, int arg2, void** arg3)
.
pub unsafe fn qt_metacast(
&mut self,
arg1: impl CastInto<Ptr<i8>>
) -> MutPtr<c_void>
[src]
&mut self,
arg1: impl CastInto<Ptr<i8>>
) -> MutPtr<c_void>
Calls C++ function: virtual void* Qt3DRender::QGeometry::qt_metacast(const char* arg1)
.
pub unsafe fn remove_attribute(
&mut self,
attribute: impl CastInto<MutPtr<QAttribute>>
)
[src]
&mut self,
attribute: impl CastInto<MutPtr<QAttribute>>
)
Removes the given attribute from this geometry.
Calls C++ function: void Qt3DRender::QGeometry::removeAttribute(Qt3DRender::QAttribute* attribute)
.
Removes the given attribute from this geometry.
pub unsafe fn set_bounding_volume_position_attribute(
&mut self,
bounding_volume_position_attribute: impl CastInto<MutPtr<QAttribute>>
)
[src]
&mut self,
bounding_volume_position_attribute: impl CastInto<MutPtr<QAttribute>>
)
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)
.
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(&mut 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 DerefMut for QCuboidGeometry
[src]
fn deref_mut(&mut self) -> &mut 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)
.
unsafe fn dynamic_cast_mut(ptr: MutPtr<QGeometry>) -> MutPtr<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)
.
unsafe fn dynamic_cast_mut(ptr: MutPtr<QNode>) -> MutPtr<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)
.
unsafe fn dynamic_cast_mut(ptr: MutPtr<QObject>) -> MutPtr<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)
.
unsafe fn static_downcast_mut(ptr: MutPtr<QGeometry>) -> MutPtr<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)
.
unsafe fn static_downcast_mut(ptr: MutPtr<QNode>) -> MutPtr<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)
.
unsafe fn static_downcast_mut(ptr: MutPtr<QObject>) -> MutPtr<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)
.
unsafe fn static_upcast_mut(ptr: MutPtr<QCuboidGeometry>) -> MutPtr<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)
.
unsafe fn static_upcast_mut(ptr: MutPtr<QCuboidGeometry>) -> MutPtr<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)
.
unsafe fn static_upcast_mut(ptr: MutPtr<QCuboidGeometry>) -> MutPtr<QObject>
[src]
Calls C++ function: QObject* static_cast<QObject*>(Qt3DExtras::QCuboidGeometry* ptr)
.
Auto Trait Implementations
impl RefUnwindSafe for QCuboidGeometry
impl Send for QCuboidGeometry
impl Sync for QCuboidGeometry
impl Unpin for QCuboidGeometry
impl UnwindSafe for QCuboidGeometry
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
unsafe fn static_upcast_mut(ptr: MutPtr<T>) -> MutPtr<T>
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,