En esta página

Qt3DExtras::QCuboidMesh Class

class Qt3DExtras::QCuboidMesh

Una malla cuboide. Más...

Cabecera: #include <Qt3DExtras/QCuboidMesh>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3dextras)
target_link_libraries(mytarget PRIVATE Qt6::3dextras)
qmake: QT += 3dextras
En QML: CuboidMesh
Hereda: Qt3DRender::QGeometryRenderer
Status: Obsoleto

Propiedades

Funciones públicas

QCuboidMesh(Qt3DCore::QNode *parent = nullptr)
float xExtent() const
QSize xyMeshResolution() const
QSize xzMeshResolution() const
float yExtent() const
QSize yzMeshResolution() const
float zExtent() const

Ranuras públicas

void setXExtent(float xExtent)
void setXYMeshResolution(const QSize &resolution)
void setXZMeshResolution(const QSize &resolution)
void setYExtent(float yExtent)
void setYZMeshResolution(const QSize &resolution)
void setZExtent(float zExtent)

Señales

void xExtentChanged(float xExtent)
void xyMeshResolutionChanged(const QSize &xyMeshResolution)
void xzMeshResolutionChanged(const QSize &xzMeshResolution)
void yExtentChanged(float yExtent)
void yzMeshResolutionChanged(const QSize &yzMeshResolution)
void zExtentChanged(float zExtent)

Descripción detallada

Documentación de propiedades

xExtent : float

Mantiene la extensión x de la malla.

Funciones de acceso:

float xExtent() const
void setXExtent(float xExtent)

Señal del notificador:

void xExtentChanged(float xExtent)

xyMeshResolution : QSize

Indica la resolución x-y de la malla. Los valores de anchura y altura de esta propiedad especifican el número de vértices generados para las caras x-y de la malla.

Funciones de acceso:

QSize xyMeshResolution() const
void setXYMeshResolution(const QSize &resolution)

Señal del notificador:

void xyMeshResolutionChanged(const QSize &xyMeshResolution)

xzMeshResolution : QSize

Indica la resolución x-z de la malla. Los valores de anchura y altura de esta propiedad especifican el número de vértices generados para las caras x-z de la malla.

Funciones de acceso:

QSize xzMeshResolution() const
void setXZMeshResolution(const QSize &resolution)

Señal del notificador:

void xzMeshResolutionChanged(const QSize &xzMeshResolution)

yExtent : float

Mantiene la extensión y de la malla.

Funciones de acceso:

float yExtent() const
void setYExtent(float yExtent)

Señal del notificador:

void yExtentChanged(float yExtent)

yzMeshResolution : QSize

Indica la resolución y-z de la malla. Los valores de anchura y altura de esta propiedad especifican el número de vértices generados para las caras y-z de la malla.

Funciones de acceso:

QSize yzMeshResolution() const
void setYZMeshResolution(const QSize &resolution)

Señal del notificador:

void yzMeshResolutionChanged(const QSize &yzMeshResolution)

zExtent : float

Mantiene la extensión z de la malla.

Funciones de acceso:

float zExtent() const
void setZExtent(float zExtent)

Señal del notificador:

void zExtentChanged(float zExtent)

Documentación de la función miembro

[explicit] QCuboidMesh::QCuboidMesh(Qt3DCore::QNode *parent = nullptr)

Construye un nuevo QCuboidMesh con parent.

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.