Home
last modified time | relevance | path

Searched refs:IndexArrayMap (Results 1 – 10 of 10) sorted by relevance

/dports/games/trenchbroom/TrenchBroom-ed46601/common/src/Renderer/
H A DIndexArrayMap.cpp27IndexArrayMap::IndexArrayRange::IndexArrayRange(const size_t i_offset, const size_t i_capacity) : in IndexArrayRange()
32 size_t IndexArrayMap::IndexArrayRange::add(const size_t i_count) { in add()
39 IndexArrayMap::Size::Size() : in Size()
42 void IndexArrayMap::Size::inc(const PrimType primType, const size_t count) { in inc()
48 size_t IndexArrayMap::Size::indexCount() const { in indexCount()
63 IndexArrayMap::IndexArrayMap() {} in IndexArrayMap() function in TrenchBroom::Renderer::IndexArrayMap
65 IndexArrayMap::IndexArrayMap(const Size& size) : in IndexArrayMap() function in TrenchBroom::Renderer::IndexArrayMap
70 IndexArrayMap::IndexArrayMap(const Size& size, const size_t baseOffset) : in IndexArrayMap() function in TrenchBroom::Renderer::IndexArrayMap
75 size_t IndexArrayMap::add(const PrimType primType, const size_t count) { in add()
80 void IndexArrayMap::render(IndexArray& indexArray) const { in render()
[all …]
H A DTexturedIndexArrayMap.cpp37 IndexArrayMap::Size& sizeForKey = findCurrent(texture); in inc()
42 IndexArrayMap::Size& TexturedIndexArrayMap::Size::findCurrent(const Texture* texture) { in findCurrent()
44 m_current = MapUtils::findOrInsert(m_sizes, texture, IndexArrayMap::Size()); in findCurrent()
67 const IndexArrayMap::Size& size = texIt->second; in initialize()
68 ranges.insert(std::make_pair(texture, IndexArrayMap(size, baseOffset))); in initialize()
84 IndexArrayMap& current = findCurrent(texture); in add()
97 const IndexArrayMap& indexRange = texIt->second; in render()
105 IndexArrayMap& TexturedIndexArrayMap::findCurrent(const Texture* texture) { in findCurrent()
H A DIndexArrayMap.h34 class IndexArrayMap {
51 friend class IndexArrayMap;
66 IndexArrayMap();
67 IndexArrayMap(const Size& size);
68 IndexArrayMap(const Size& size, size_t baseOffset);
H A DTexturedIndexArrayMap.h41 typedef std::map<const Texture*, IndexArrayMap> TextureToIndexArrayMap;
48 typedef std::map<const Texture*, IndexArrayMap::Size> TextureToSize;
57 IndexArrayMap::Size& findCurrent(const Texture* texture);
74 IndexArrayMap& findCurrent(const Texture* texture);
H A DIndexArrayMapBuilder.h36 IndexArrayMap m_ranges;
38 IndexArrayMapBuilder(const IndexArrayMap::Size& size);
43 const IndexArrayMap& ranges() const;
H A DEdgeRenderer.h112 IndexArrayMap m_indexRanges;
114 …onst Params& params, VertexArray& vertexArray, IndexArray& indexArray, IndexArrayMap& indexRanges);
124 IndexArrayMap m_indexRanges;
127 …er(const VertexArray& vertexArray, const IndexArray& indexArray, const IndexArrayMap& indexRanges);
H A DIndexArrayMapBuilder.cpp24 IndexArrayMapBuilder::IndexArrayMapBuilder(const IndexArrayMap::Size& size) : in IndexArrayMapBuilder()
36 const IndexArrayMap& IndexArrayMapBuilder::ranges() const { in ranges()
H A DEdgeRenderer.cpp163 …er::Params& params, VertexArray& vertexArray, IndexArray& indexArray, IndexArrayMap& indexRanges) : in Render()
191 …r(const VertexArray& vertexArray, const IndexArray& indexArray, const IndexArrayMap& indexRanges) : in IndexedEdgeRenderer()
H A DBrushRenderer.cpp266 IndexArrayMap::Size m_edgeIndexSize;
279 const IndexArrayMap::Size& edgeIndexSize() const { in edgeIndexSize()
415 const IndexArrayMap& edgeRanges = collectIndices.edgeIndices().ranges(); in validateIndices()
/dports/misc/openvdb/openvdb-9.0.0/openvdb/openvdb/tools/
H A DVolumeToMesh.h1545 using IndexArrayMap = std::map<IndexType, IndexArray>; in operator() local
1590 IndexArrayMap regions; in operator()
1680 for (typename IndexArrayMap::iterator it = regions.begin(); it != regions.end(); ++it) { in operator()