mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 17:24:08 +02:00
Trivial additions related to attributes.
This commit is contained in:
parent
039a2410b7
commit
e0138257f4
2 changed files with 8 additions and 2 deletions
|
@ -8,4 +8,7 @@
|
|||
|
||||
#include "MetavoxelData.h"
|
||||
|
||||
|
||||
void MetavoxelData::visitVoxels(const QVector<AttributeID>& attributes, VoxelVisitor* visitor) {
|
||||
// map attributes to layers, indices
|
||||
|
||||
}
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
|
||||
#include "AttributeRegistry.h"
|
||||
|
||||
class MetavoxelLayer;
|
||||
class MetavoxelNode;
|
||||
class VoxelVisitor;
|
||||
|
||||
|
@ -27,7 +28,7 @@ public:
|
|||
|
||||
private:
|
||||
|
||||
|
||||
QVector<MetavoxelLayer> _layers;
|
||||
};
|
||||
|
||||
/// A single layer of metavoxel data (a tree containing nodes of the same type).
|
||||
|
@ -36,6 +37,7 @@ public:
|
|||
|
||||
private:
|
||||
|
||||
QVector<AttributeID> _attributes;
|
||||
QScopedPointer<MetavoxelNode> _root;
|
||||
};
|
||||
|
||||
|
@ -49,6 +51,7 @@ public:
|
|||
|
||||
private:
|
||||
|
||||
void* _attributeValues;
|
||||
QScopedPointer<MetavoxelNode> _children[CHILD_COUNT];
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue