// // VoxelPacketData.h // hifi // // Created by Brad Hefta-Gaub on 11/19/2013 // // TO DO: // // * add stats tracking for number of unique colors and consecutive identical colors. // (as research for color dictionaries and RLE) // // * further testing of compression to determine optimal configuration for performance and compression // // * improve semantics for "reshuffle" - current approach will work for now and with compression // but wouldn't work with RLE because the colors in the levels would get reordered and RLE would need // to be recalculated // #ifndef __hifi__VoxelPacketData__ #define __hifi__VoxelPacketData__ #include #include #include "VoxelConstants.h" #include "VoxelTreeElement.h" /// Handles packing of the data portion of PacketType_VOXEL_DATA messages. class VoxelPacketData : public OctreePacketData { public: VoxelPacketData(bool enableCompression = false, int maxFinalizedSize = MAX_OCTREE_PACKET_DATA_SIZE); }; #endif /* defined(__hifi__VoxelPacketData__) */