[−][src]Struct qt_3d_extras::QSphereMesh
Methods
impl QSphereMesh
[src]
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::QSphereMesh::setRings
that can be passed to qt_core::Signal::connect
.
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::QSphereMesh::setSlices
that can be passed to qt_core::Signal::connect
.
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_radius(&self) -> Receiver<(c_float,)>
[src]
Holds the radius of the sphere.
Returns a built-in Qt slot Qt3DExtras::QSphereMesh::setRadius
that can be passed to qt_core::Signal::connect
.
Holds the radius of the sphere.
Access functions:
float | radius() const |
void | setRadius(float radius) |
Notifier signal:
void | radiusChanged(float radius) |
pub fn slot_set_generate_tangents(&self) -> Receiver<(bool,)>
[src]
Holds the value of the automatic tangent vectors generation flag. Tangent vectors are orthogonal to normal vectors.
Returns a built-in Qt slot Qt3DExtras::QSphereMesh::setGenerateTangents
that can be passed to qt_core::Signal::connect
.
Holds the value of the automatic tangent vectors generation flag. Tangent vectors are orthogonal to normal vectors.
Access functions:
bool | generateTangents() const |
void | setGenerateTangents(bool gen) |
Notifier signal:
void | generateTangentsChanged(bool generateTangents) |
pub fn radius_changed(&self) -> Signal<(c_float,)>
[src]
Holds the radius of the sphere.
Returns a built-in Qt signal Qt3DExtras::QSphereMesh::radiusChanged
that can be passed to qt_core::Signal::connect
.
Holds the radius of the sphere.
Access functions:
float | radius() const |
void | setRadius(float radius) |
Notifier signal:
void | radiusChanged(float radius) |
pub fn rings_changed(&self) -> Signal<(c_int,)>
[src]
Holds the number of rings in the mesh.
Returns a built-in Qt signal Qt3DExtras::QSphereMesh::ringsChanged
that can be passed to qt_core::Signal::connect
.
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::QSphereMesh::slicesChanged
that can be passed to qt_core::Signal::connect
.
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 generate_tangents_changed(&self) -> Signal<(bool,)>
[src]
Holds the value of the automatic tangent vectors generation flag. Tangent vectors are orthogonal to normal vectors.
Returns a built-in Qt signal Qt3DExtras::QSphereMesh::generateTangentsChanged
that can be passed to qt_core::Signal::connect
.
Holds the value of the automatic tangent vectors generation flag. Tangent vectors are orthogonal to normal vectors.
Access functions:
bool | generateTangents() const |
void | setGenerateTangents(bool gen) |
Notifier signal:
void | generateTangentsChanged(bool generateTangents) |
pub unsafe fn generate_tangents(&self) -> bool
[src]
Holds the value of the automatic tangent vectors generation flag. Tangent vectors are orthogonal to normal vectors.
Calls C++ function: bool Qt3DExtras::QSphereMesh::generateTangents() const
.
Holds the value of the automatic tangent vectors generation flag. Tangent vectors are orthogonal to normal vectors.
Access functions:
bool | generateTangents() const |
void | setGenerateTangents(bool gen) |
Notifier signal:
void | generateTangentsChanged(bool generateTangents) |
pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>
[src]
Calls C++ function: virtual const QMetaObject* Qt3DExtras::QSphereMesh::metaObject() const
.
pub unsafe fn new_1a(parent: impl CastInto<Ptr<QNode>>) -> QBox<QSphereMesh>
[src]
Default constructs an instance of QSphereMesh.
Calls C++ function: [constructor] void Qt3DExtras::QSphereMesh::QSphereMesh(Qt3DCore::QNode* parent = …)
.
Default constructs an instance of QSphereMesh.
pub unsafe fn new_0a() -> QBox<QSphereMesh>
[src]
A spherical mesh.
Calls C++ function: [constructor] void Qt3DExtras::QSphereMesh::QSphereMesh()
.
A spherical mesh.
pub unsafe fn qt_metacall(
&self,
arg1: Call,
arg2: c_int,
arg3: *mut *mut c_void
) -> c_int
[src]
&self,
arg1: Call,
arg2: c_int,
arg3: *mut *mut c_void
) -> c_int
Calls C++ function: virtual int Qt3DExtras::QSphereMesh::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::QSphereMesh::qt_metacast(const char* arg1)
.
pub unsafe fn radius(&self) -> c_float
[src]
Holds the radius of the sphere.
Calls C++ function: float Qt3DExtras::QSphereMesh::radius() const
.
Holds the radius of the sphere.
Access functions:
float | radius() const |
void | setRadius(float radius) |
Notifier signal:
void | radiusChanged(float radius) |
pub unsafe fn rings(&self) -> c_int
[src]
Holds the number of rings in the mesh.
Calls C++ function: int Qt3DExtras::QSphereMesh::rings() const
.
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_generate_tangents(&self, gen: bool)
[src]
Holds the value of the automatic tangent vectors generation flag. Tangent vectors are orthogonal to normal vectors.
Calls C++ function: [slot] void Qt3DExtras::QSphereMesh::setGenerateTangents(bool gen)
.
Holds the value of the automatic tangent vectors generation flag. Tangent vectors are orthogonal to normal vectors.
Access functions:
bool | generateTangents() const |
void | setGenerateTangents(bool gen) |
Notifier signal:
void | generateTangentsChanged(bool generateTangents) |
pub unsafe fn set_radius(&self, radius: c_float)
[src]
Holds the radius of the sphere.
Calls C++ function: [slot] void Qt3DExtras::QSphereMesh::setRadius(float radius)
.
Holds the radius of the sphere.
Access functions:
float | radius() const |
void | setRadius(float radius) |
Notifier signal:
void | radiusChanged(float radius) |
pub unsafe fn set_rings(&self, rings: c_int)
[src]
Holds the number of rings in the mesh.
Calls C++ function: [slot] void Qt3DExtras::QSphereMesh::setRings(int rings)
.
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::QSphereMesh::setSlices(int slices)
.
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 slices(&self) -> c_int
[src]
Holds the number of slices in the mesh.
Calls C++ function: int Qt3DExtras::QSphereMesh::slices() const
.
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 tr(
s: *const c_char,
c: *const c_char,
n: c_int
) -> CppBox<QString>
[src]
s: *const c_char,
c: *const c_char,
n: c_int
) -> CppBox<QString>
Calls C++ function: static QString Qt3DExtras::QSphereMesh::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]
s: *const c_char,
c: *const c_char,
n: c_int
) -> CppBox<QString>
Calls C++ function: static QString Qt3DExtras::QSphereMesh::trUtf8(const char* s, const char* c, int n)
.
Trait Implementations
impl CppDeletable for QSphereMesh
[src]
unsafe fn delete(&self)
[src]
Calls C++ function: virtual [destructor] void Qt3DExtras::QSphereMesh::~QSphereMesh()
.
impl Deref for QSphereMesh
[src]
type Target = QGeometryRenderer
The resulting type after dereferencing.
fn deref(&self) -> &QGeometryRenderer
[src]
Calls C++ function: Qt3DRender::QGeometryRenderer* static_cast<Qt3DRender::QGeometryRenderer*>(Qt3DExtras::QSphereMesh* ptr)
.
impl DynamicCast<QSphereMesh> for QGeometryRenderer
[src]
unsafe fn dynamic_cast(ptr: Ptr<QGeometryRenderer>) -> Ptr<QSphereMesh>
[src]
Calls C++ function: Qt3DExtras::QSphereMesh* dynamic_cast<Qt3DExtras::QSphereMesh*>(Qt3DRender::QGeometryRenderer* ptr)
.
impl DynamicCast<QSphereMesh> for QComponent
[src]
unsafe fn dynamic_cast(ptr: Ptr<QComponent>) -> Ptr<QSphereMesh>
[src]
Calls C++ function: Qt3DExtras::QSphereMesh* dynamic_cast<Qt3DExtras::QSphereMesh*>(Qt3DCore::QComponent* ptr)
.
impl DynamicCast<QSphereMesh> for QNode
[src]
unsafe fn dynamic_cast(ptr: Ptr<QNode>) -> Ptr<QSphereMesh>
[src]
Calls C++ function: Qt3DExtras::QSphereMesh* dynamic_cast<Qt3DExtras::QSphereMesh*>(Qt3DCore::QNode* ptr)
.
impl DynamicCast<QSphereMesh> for QObject
[src]
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QSphereMesh>
[src]
Calls C++ function: Qt3DExtras::QSphereMesh* dynamic_cast<Qt3DExtras::QSphereMesh*>(QObject* ptr)
.
impl StaticDowncast<QSphereMesh> for QGeometryRenderer
[src]
unsafe fn static_downcast(ptr: Ptr<QGeometryRenderer>) -> Ptr<QSphereMesh>
[src]
Calls C++ function: Qt3DExtras::QSphereMesh* static_cast<Qt3DExtras::QSphereMesh*>(Qt3DRender::QGeometryRenderer* ptr)
.
impl StaticDowncast<QSphereMesh> for QComponent
[src]
unsafe fn static_downcast(ptr: Ptr<QComponent>) -> Ptr<QSphereMesh>
[src]
Calls C++ function: Qt3DExtras::QSphereMesh* static_cast<Qt3DExtras::QSphereMesh*>(Qt3DCore::QComponent* ptr)
.
impl StaticDowncast<QSphereMesh> for QNode
[src]
unsafe fn static_downcast(ptr: Ptr<QNode>) -> Ptr<QSphereMesh>
[src]
Calls C++ function: Qt3DExtras::QSphereMesh* static_cast<Qt3DExtras::QSphereMesh*>(Qt3DCore::QNode* ptr)
.
impl StaticDowncast<QSphereMesh> for QObject
[src]
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QSphereMesh>
[src]
Calls C++ function: Qt3DExtras::QSphereMesh* static_cast<Qt3DExtras::QSphereMesh*>(QObject* ptr)
.
impl StaticUpcast<QComponent> for QSphereMesh
[src]
unsafe fn static_upcast(ptr: Ptr<QSphereMesh>) -> Ptr<QComponent>
[src]
Calls C++ function: Qt3DCore::QComponent* static_cast<Qt3DCore::QComponent*>(Qt3DExtras::QSphereMesh* ptr)
.
impl StaticUpcast<QGeometryRenderer> for QSphereMesh
[src]
unsafe fn static_upcast(ptr: Ptr<QSphereMesh>) -> Ptr<QGeometryRenderer>
[src]
Calls C++ function: Qt3DRender::QGeometryRenderer* static_cast<Qt3DRender::QGeometryRenderer*>(Qt3DExtras::QSphereMesh* ptr)
.
impl StaticUpcast<QNode> for QSphereMesh
[src]
unsafe fn static_upcast(ptr: Ptr<QSphereMesh>) -> Ptr<QNode>
[src]
Calls C++ function: Qt3DCore::QNode* static_cast<Qt3DCore::QNode*>(Qt3DExtras::QSphereMesh* ptr)
.
impl StaticUpcast<QObject> for QSphereMesh
[src]
unsafe fn static_upcast(ptr: Ptr<QSphereMesh>) -> Ptr<QObject>
[src]
Calls C++ function: QObject* static_cast<QObject*>(Qt3DExtras::QSphereMesh* ptr)
.
Auto Trait Implementations
impl RefUnwindSafe for QSphereMesh
impl Send for QSphereMesh
impl Sync for QSphereMesh
impl Unpin for QSphereMesh
impl UnwindSafe for QSphereMesh
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]
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>,