Trivial additions related to attributes.

This commit is contained in:
Andrzej Kapolka 2013-12-09 10:49:35 -08:00
parent 039a2410b7
commit e0138257f4
2 changed files with 8 additions and 2 deletions

View file

@ -8,4 +8,7 @@
#include "MetavoxelData.h"
void MetavoxelData::visitVoxels(const QVector<AttributeID>& attributes, VoxelVisitor* visitor) {
// map attributes to layers, indices
}

View file

@ -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];
};