https://github.com/wavestoweather/PCViewer.git
Raw File
Tip revision: e4a2a107c7790a4948783b0f8515ddf84afafc15 authored by Josef Stumpfegger on 24 November 2022, 12:56:34 UTC
Added links to the replicability video and dataset.
Tip revision: e4a2a10
TemplateList.hpp
#pragma once
#include <string>
#include <vector>
#include <vulkan/vulkan.h>

struct TemplateList {
	std::string name;
	VkBuffer buffer;
	std::vector<uint32_t> indices;
	bool isIndexRange;		//for data hierarchy indexlist only has start and end index stored to have a more compact representation
	std::vector<std::pair<float, float>> minMax;
	float pointRatio;		//ratio of points in the datasaet(reduced)
    std::string parentDataSetName = ""; // This only gets set for template lists used to generate brushes to identify the parent dataset correctly but only once.
};
back to top