QGeometry Class
(Qt3DRender::QGeometry)| Header: | #include <QGeometry> |
| qmake: | QT += 3drender |
| Instantiated By: | Geometry |
| Inherits: | Qt3DCore::QNode |
| Inherited By: | Qt3DRender::QCuboidGeometry, Qt3DRender::QCylinderGeometry, Qt3DRender::QPlaneGeometry, Qt3DRender::QSphereGeometry, and Qt3DRender::QTorusGeometry |
Properties
- boundingVolumeSpecifier : Qt3DRender::QBoundingVolumeSpecifier * const
- verticesPerPatch : int
- 2 properties inherited from Qt3DCore::QNode
- 1 property inherited from QObject
Public Functions
| QGeometry(Qt3DCore::QNode *parent = 0) | |
| ~QGeometry() | |
| void | addAttribute(QAbstractAttribute *attribute) |
| QAttributeList | attributes() const |
| QBoundingVolumeSpecifier * | boundingVolumeSpecifier() |
| void | removeAttribute(QAbstractAttribute *attribute) |
| int | verticesPerPatch() const |
- 6 public functions inherited from Qt3DCore::QNode
- 31 public functions inherited from QObject
Public Slots
| void | setVerticesPerPatch(int verticesPerPatch) |
- 2 public slots inherited from Qt3DCore::QNode
- 1 public slot inherited from QObject
Signals
| void | verticesPerPatchChanged(int verticesPerPatch) |
- 2 signals inherited from Qt3DCore::QNode
- 2 signals inherited from QObject
Protected Functions
- 3 protected functions inherited from Qt3DCore::QNode
- 9 protected functions inherited from QObject
Related Non-Members
| typedef | QAttributeList |
Additional Inherited Members
- 1 public variable inherited from QObject
- 10 static public members inherited from QObject
- 2 protected variables inherited from QObject
- 1 static protected member inherited from Qt3DCore::QNode
Detailed Description
Property Documentation
boundingVolumeSpecifier : Qt3DRender::QBoundingVolumeSpecifier * const
Holds bounding volume specifier.
Access functions:
| QBoundingVolumeSpecifier * | boundingVolumeSpecifier() |
verticesPerPatch : int
Holds vertices per patch.
Access functions:
| int | verticesPerPatch() const |
| void | setVerticesPerPatch(int verticesPerPatch) |
Notifier signal:
| void | verticesPerPatchChanged(int verticesPerPatch) |
Member Function Documentation
QGeometry::QGeometry(Qt3DCore::QNode *parent = 0)
[protected] QGeometry::QGeometry(QGeometryPrivate &dd, Qt3DCore::QNode *parent = 0)
QGeometry::~QGeometry()
Destroys this geometry.
void QGeometry::addAttribute(QAbstractAttribute *attribute)
Adds an attribute to this geometry.
QAttributeList QGeometry::attributes() const
Returns the list of attributes in this geometry.
[protected] void QGeometry::copy(const Qt3DCore::QNode *ref)
void QGeometry::removeAttribute(QAbstractAttribute *attribute)
Removes the given attribute from this geometry.