[−][src]Struct qt_3d_extras::QConeMesh
Methods
impl QConeMesh
[src]
pub fn slot_set_has_top_endcap(&self) -> Receiver<(bool,)>
[src]
Determines if the cone top is capped or open.
Returns a built-in Qt slot Qt3DExtras::QConeMesh::setHasTopEndcap
that can be passed to qt_core::Signal::connect
.
Determines if the cone top is capped or open.
Access functions:
bool | hasTopEndcap() const |
void | setHasTopEndcap(bool hasTopEndcap) |
Notifier signal:
void | hasTopEndcapChanged(bool hasTopEndcap) |
pub fn slot_set_has_bottom_endcap(&self) -> Receiver<(bool,)>
[src]
Determines if the cone bottom is capped or open.
Returns a built-in Qt slot Qt3DExtras::QConeMesh::setHasBottomEndcap
that can be passed to qt_core::Signal::connect
.
Determines if the cone bottom is capped or open.
Access functions:
bool | hasBottomEndcap() const |
void | setHasBottomEndcap(bool hasBottomEndcap) |
Notifier signal:
void | hasBottomEndcapChanged(bool hasBottomEndcap) |
pub fn slot_set_top_radius(&self) -> Receiver<(c_float,)>
[src]
Holds the top radius of the cone.
Returns a built-in Qt slot Qt3DExtras::QConeMesh::setTopRadius
that can be passed to qt_core::Signal::connect
.
Holds the top radius of the cone.
Access functions:
float | topRadius() const |
void | setTopRadius(float topRadius) |
Notifier signal:
void | topRadiusChanged(float topRadius) |
pub fn slot_set_bottom_radius(&self) -> Receiver<(c_float,)>
[src]
Holds the bottom radius of the cone.
Returns a built-in Qt slot Qt3DExtras::QConeMesh::setBottomRadius
that can be passed to qt_core::Signal::connect
.
Holds the bottom radius of the cone.
Access functions:
float | bottomRadius() const |
void | setBottomRadius(float bottomRadius) |
Notifier signal:
void | bottomRadiusChanged(float bottomRadius) |
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::QConeMesh::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::QConeMesh::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_length(&self) -> Receiver<(c_float,)>
[src]
Holds the length of the cone.
Returns a built-in Qt slot Qt3DExtras::QConeMesh::setLength
that can be passed to qt_core::Signal::connect
.
Holds the length of the cone.
Access functions:
float | length() const |
void | setLength(float length) |
Notifier signal:
void | lengthChanged(float length) |
pub fn has_top_endcap_changed(&self) -> Signal<(bool,)>
[src]
Determines if the cone top is capped or open.
Returns a built-in Qt signal Qt3DExtras::QConeMesh::hasTopEndcapChanged
that can be passed to qt_core::Signal::connect
.
Determines if the cone top is capped or open.
Access functions:
bool | hasTopEndcap() const |
void | setHasTopEndcap(bool hasTopEndcap) |
Notifier signal:
void | hasTopEndcapChanged(bool hasTopEndcap) |
pub fn has_bottom_endcap_changed(&self) -> Signal<(bool,)>
[src]
Determines if the cone bottom is capped or open.
Returns a built-in Qt signal Qt3DExtras::QConeMesh::hasBottomEndcapChanged
that can be passed to qt_core::Signal::connect
.
Determines if the cone bottom is capped or open.
Access functions:
bool | hasBottomEndcap() const |
void | setHasBottomEndcap(bool hasBottomEndcap) |
Notifier signal:
void | hasBottomEndcapChanged(bool hasBottomEndcap) |
pub fn top_radius_changed(&self) -> Signal<(c_float,)>
[src]
Holds the top radius of the cone.
Returns a built-in Qt signal Qt3DExtras::QConeMesh::topRadiusChanged
that can be passed to qt_core::Signal::connect
.
Holds the top radius of the cone.
Access functions:
float | topRadius() const |
void | setTopRadius(float topRadius) |
Notifier signal:
void | topRadiusChanged(float topRadius) |
pub fn bottom_radius_changed(&self) -> Signal<(c_float,)>
[src]
Holds the bottom radius of the cone.
Returns a built-in Qt signal Qt3DExtras::QConeMesh::bottomRadiusChanged
that can be passed to qt_core::Signal::connect
.
Holds the bottom radius of the cone.
Access functions:
float | bottomRadius() const |
void | setBottomRadius(float bottomRadius) |
Notifier signal:
void | bottomRadiusChanged(float bottomRadius) |
pub fn rings_changed(&self) -> Signal<(c_int,)>
[src]
Holds the number of rings in the mesh.
Returns a built-in Qt signal Qt3DExtras::QConeMesh::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::QConeMesh::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 length_changed(&self) -> Signal<(c_float,)>
[src]
Holds the length of the cone.
Returns a built-in Qt signal Qt3DExtras::QConeMesh::lengthChanged
that can be passed to qt_core::Signal::connect
.
Holds the length of the cone.
Access functions:
float | length() const |
void | setLength(float length) |
Notifier signal:
void | lengthChanged(float length) |
pub unsafe fn bottom_radius(&self) -> c_float
[src]
Holds the bottom radius of the cone.
Calls C++ function: float Qt3DExtras::QConeMesh::bottomRadius() const
.
Holds the bottom radius of the cone.
Access functions:
float | bottomRadius() const |
void | setBottomRadius(float bottomRadius) |
Notifier signal:
void | bottomRadiusChanged(float bottomRadius) |
pub unsafe fn has_bottom_endcap(&self) -> bool
[src]
Determines if the cone bottom is capped or open.
Calls C++ function: bool Qt3DExtras::QConeMesh::hasBottomEndcap() const
.
Determines if the cone bottom is capped or open.
Access functions:
bool | hasBottomEndcap() const |
void | setHasBottomEndcap(bool hasBottomEndcap) |
Notifier signal:
void | hasBottomEndcapChanged(bool hasBottomEndcap) |
pub unsafe fn has_top_endcap(&self) -> bool
[src]
Determines if the cone top is capped or open.
Calls C++ function: bool Qt3DExtras::QConeMesh::hasTopEndcap() const
.
Determines if the cone top is capped or open.
Access functions:
bool | hasTopEndcap() const |
void | setHasTopEndcap(bool hasTopEndcap) |
Notifier signal:
void | hasTopEndcapChanged(bool hasTopEndcap) |
pub unsafe fn length(&self) -> c_float
[src]
Holds the length of the cone.
Calls C++ function: float Qt3DExtras::QConeMesh::length() const
.
Holds the length of the cone.
Access functions:
float | length() const |
void | setLength(float length) |
Notifier signal:
void | lengthChanged(float length) |
pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>
[src]
Calls C++ function: virtual const QMetaObject* Qt3DExtras::QConeMesh::metaObject() const
.
pub unsafe fn new_1a(parent: impl CastInto<Ptr<QNode>>) -> QBox<QConeMesh>
[src]
Default constructs an instance of QConeMesh.
Calls C++ function: [constructor] void Qt3DExtras::QConeMesh::QConeMesh(Qt3DCore::QNode* parent = …)
.
Default constructs an instance of QConeMesh.
pub unsafe fn new_0a() -> QBox<QConeMesh>
[src]
A conical mesh.
Calls C++ function: [constructor] void Qt3DExtras::QConeMesh::QConeMesh()
.
A conical 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::QConeMesh::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::QConeMesh::qt_metacast(const char* arg1)
.
pub unsafe fn rings(&self) -> c_int
[src]
Holds the number of rings in the mesh.
Calls C++ function: int Qt3DExtras::QConeMesh::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_bottom_radius(&self, bottom_radius: c_float)
[src]
Holds the bottom radius of the cone.
Calls C++ function: [slot] void Qt3DExtras::QConeMesh::setBottomRadius(float bottomRadius)
.
Holds the bottom radius of the cone.
Access functions:
float | bottomRadius() const |
void | setBottomRadius(float bottomRadius) |
Notifier signal:
void | bottomRadiusChanged(float bottomRadius) |
pub unsafe fn set_has_bottom_endcap(&self, has_bottom_endcap: bool)
[src]
Determines if the cone bottom is capped or open.
Calls C++ function: [slot] void Qt3DExtras::QConeMesh::setHasBottomEndcap(bool hasBottomEndcap)
.
Determines if the cone bottom is capped or open.
Access functions:
bool | hasBottomEndcap() const |
void | setHasBottomEndcap(bool hasBottomEndcap) |
Notifier signal:
void | hasBottomEndcapChanged(bool hasBottomEndcap) |
pub unsafe fn set_has_top_endcap(&self, has_top_endcap: bool)
[src]
Determines if the cone top is capped or open.
Calls C++ function: [slot] void Qt3DExtras::QConeMesh::setHasTopEndcap(bool hasTopEndcap)
.
Determines if the cone top is capped or open.
Access functions:
bool | hasTopEndcap() const |
void | setHasTopEndcap(bool hasTopEndcap) |
Notifier signal:
void | hasTopEndcapChanged(bool hasTopEndcap) |
pub unsafe fn set_length(&self, length: c_float)
[src]
Holds the length of the cone.
Calls C++ function: [slot] void Qt3DExtras::QConeMesh::setLength(float length)
.
Holds the length of the cone.
Access functions:
float | length() const |
void | setLength(float length) |
Notifier signal:
void | lengthChanged(float length) |
pub unsafe fn set_rings(&self, rings: c_int)
[src]
Holds the number of rings in the mesh.
Calls C++ function: [slot] void Qt3DExtras::QConeMesh::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::QConeMesh::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 set_top_radius(&self, top_radius: c_float)
[src]
Holds the top radius of the cone.
Calls C++ function: [slot] void Qt3DExtras::QConeMesh::setTopRadius(float topRadius)
.
Holds the top radius of the cone.
Access functions:
float | topRadius() const |
void | setTopRadius(float topRadius) |
Notifier signal:
void | topRadiusChanged(float topRadius) |
pub unsafe fn slices(&self) -> c_int
[src]
Holds the number of slices in the mesh.
Calls C++ function: int Qt3DExtras::QConeMesh::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 top_radius(&self) -> c_float
[src]
Holds the top radius of the cone.
Calls C++ function: float Qt3DExtras::QConeMesh::topRadius() const
.
Holds the top radius of the cone.
Access functions:
float | topRadius() const |
void | setTopRadius(float topRadius) |
Notifier signal:
void | topRadiusChanged(float topRadius) |
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::QConeMesh::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::QConeMesh::trUtf8(const char* s, const char* c, int n)
.
Trait Implementations
impl CppDeletable for QConeMesh
[src]
unsafe fn delete(&self)
[src]
Calls C++ function: virtual [destructor] void Qt3DExtras::QConeMesh::~QConeMesh()
.
impl Deref for QConeMesh
[src]
type Target = QGeometryRenderer
The resulting type after dereferencing.
fn deref(&self) -> &QGeometryRenderer
[src]
Calls C++ function: Qt3DRender::QGeometryRenderer* static_cast<Qt3DRender::QGeometryRenderer*>(Qt3DExtras::QConeMesh* ptr)
.
impl DynamicCast<QConeMesh> for QGeometryRenderer
[src]
unsafe fn dynamic_cast(ptr: Ptr<QGeometryRenderer>) -> Ptr<QConeMesh>
[src]
Calls C++ function: Qt3DExtras::QConeMesh* dynamic_cast<Qt3DExtras::QConeMesh*>(Qt3DRender::QGeometryRenderer* ptr)
.
impl DynamicCast<QConeMesh> for QComponent
[src]
unsafe fn dynamic_cast(ptr: Ptr<QComponent>) -> Ptr<QConeMesh>
[src]
Calls C++ function: Qt3DExtras::QConeMesh* dynamic_cast<Qt3DExtras::QConeMesh*>(Qt3DCore::QComponent* ptr)
.
impl DynamicCast<QConeMesh> for QNode
[src]
unsafe fn dynamic_cast(ptr: Ptr<QNode>) -> Ptr<QConeMesh>
[src]
Calls C++ function: Qt3DExtras::QConeMesh* dynamic_cast<Qt3DExtras::QConeMesh*>(Qt3DCore::QNode* ptr)
.
impl DynamicCast<QConeMesh> for QObject
[src]
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QConeMesh>
[src]
Calls C++ function: Qt3DExtras::QConeMesh* dynamic_cast<Qt3DExtras::QConeMesh*>(QObject* ptr)
.
impl StaticDowncast<QConeMesh> for QGeometryRenderer
[src]
unsafe fn static_downcast(ptr: Ptr<QGeometryRenderer>) -> Ptr<QConeMesh>
[src]
Calls C++ function: Qt3DExtras::QConeMesh* static_cast<Qt3DExtras::QConeMesh*>(Qt3DRender::QGeometryRenderer* ptr)
.
impl StaticDowncast<QConeMesh> for QComponent
[src]
unsafe fn static_downcast(ptr: Ptr<QComponent>) -> Ptr<QConeMesh>
[src]
Calls C++ function: Qt3DExtras::QConeMesh* static_cast<Qt3DExtras::QConeMesh*>(Qt3DCore::QComponent* ptr)
.
impl StaticDowncast<QConeMesh> for QNode
[src]
unsafe fn static_downcast(ptr: Ptr<QNode>) -> Ptr<QConeMesh>
[src]
Calls C++ function: Qt3DExtras::QConeMesh* static_cast<Qt3DExtras::QConeMesh*>(Qt3DCore::QNode* ptr)
.
impl StaticDowncast<QConeMesh> for QObject
[src]
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QConeMesh>
[src]
Calls C++ function: Qt3DExtras::QConeMesh* static_cast<Qt3DExtras::QConeMesh*>(QObject* ptr)
.
impl StaticUpcast<QComponent> for QConeMesh
[src]
unsafe fn static_upcast(ptr: Ptr<QConeMesh>) -> Ptr<QComponent>
[src]
Calls C++ function: Qt3DCore::QComponent* static_cast<Qt3DCore::QComponent*>(Qt3DExtras::QConeMesh* ptr)
.
impl StaticUpcast<QGeometryRenderer> for QConeMesh
[src]
unsafe fn static_upcast(ptr: Ptr<QConeMesh>) -> Ptr<QGeometryRenderer>
[src]
Calls C++ function: Qt3DRender::QGeometryRenderer* static_cast<Qt3DRender::QGeometryRenderer*>(Qt3DExtras::QConeMesh* ptr)
.
impl StaticUpcast<QNode> for QConeMesh
[src]
unsafe fn static_upcast(ptr: Ptr<QConeMesh>) -> Ptr<QNode>
[src]
Calls C++ function: Qt3DCore::QNode* static_cast<Qt3DCore::QNode*>(Qt3DExtras::QConeMesh* ptr)
.
impl StaticUpcast<QObject> for QConeMesh
[src]
Auto Trait Implementations
impl RefUnwindSafe for QConeMesh
impl Send for QConeMesh
impl Sync for QConeMesh
impl Unpin for QConeMesh
impl UnwindSafe for QConeMesh
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>,