/dports/graphics/blender/blender-2.91.0/extern/draco/dracoenc/src/draco/mesh/ |
H A D | valence_cache.h | 49 inline int32_t ConfidentValenceFromCache(VertexIndex v) const { in ConfidentValenceFromCache() 66 const VertexIndex vertex_count = VertexIndex(table_.num_vertices()); in CacheValencesInaccurate() 68 for (VertexIndex v = VertexIndex(0); v < vertex_count; v += 1) in CacheValencesInaccurate() 76 const VertexIndex vertex_count = VertexIndex(table_.num_vertices()); in CacheValences() 78 for (VertexIndex v = VertexIndex(0); v < vertex_count; v += 1) in CacheValences() 91 inline int8_t ValenceFromCacheInaccurate(VertexIndex v) const { in ValenceFromCacheInaccurate() 97 inline int8_t ConfidentValenceFromCacheInaccurate(VertexIndex v) const { in ConfidentValenceFromCacheInaccurate() 104 inline int32_t ValenceFromCache(VertexIndex v) const { in ValenceFromCache() 115 IndexTypeVector<VertexIndex, int8_t>().swap(vertex_valence_cache_8_bit_); in ClearValenceCacheInaccurate() 130 mutable IndexTypeVector<VertexIndex, int8_t> vertex_valence_cache_8_bit_; [all …]
|
H A D | corner_table.h | 55 typedef std::array<VertexIndex, 3> FaceType; 97 inline VertexIndex Vertex(CornerIndex corner) const { in Vertex() 148 VertexIndex VertexParent(VertexIndex vertex) const { in VertexParent() 161 int Valence(VertexIndex v) const; 163 int ConfidentValence(VertexIndex v) const; 176 inline bool IsOnBoundary(VertexIndex vert) const { in IsOnBoundary() 256 VertexIndex AddNewVertex() { in AddNewVertex() 273 void UpdateVertexToCornerMap(VertexIndex vert) { in UpdateVertexToCornerMap() 298 void MakeVertexIsolated(VertexIndex vert) { in MakeVertexIsolated() 304 inline bool IsVertexIsolated(VertexIndex v) const { in IsVertexIsolated() [all …]
|
H A D | mesh_attribute_corner_table.h | 92 VertexIndex Vertex(CornerIndex corner) const { in Vertex() 96 VertexIndex ConfidentVertex(CornerIndex corner) const { in ConfidentVertex() 100 VertexIndex VertexParent(VertexIndex vert) const { in VertexParent() 101 return VertexIndex(vertex_to_attribute_entry_id_map_[vert.value()].value()); in VertexParent() 104 inline CornerIndex LeftMostCorner(VertexIndex v) const { in LeftMostCorner() 108 inline bool IsOnBoundary(VertexIndex vert) const { in IsOnBoundary() 123 int Valence(VertexIndex v) const; 125 int ConfidentValence(VertexIndex v) const; 159 std::vector<VertexIndex> corner_to_vertex_map_;
|
H A D | corner_table.cc | 94 const VertexIndex v1 = Vertex(c); in ComputeOppositeCorners() 111 VertexIndex sink_vert; in ComputeOppositeCorners() 131 const VertexIndex tip_v = Vertex(c); in ComputeOppositeCorners() 132 const VertexIndex source_v = Vertex(Next(c)); in ComputeOppositeCorners() 133 const VertexIndex sink_v = Vertex(Previous(c)); in ComputeOppositeCorners() 138 const VertexIndex v0 = Vertex(c); in ComputeOppositeCorners() 322 VertexIndex v = corner_to_vertex_map_[c]; in ComputeVertexCorners() 336 v = VertexIndex(num_vertices++); in ComputeVertexCorners() 385 const VertexIndex v0 = Vertex(first_face_corner); in IsDegenerated() 393 int CornerTable::Valence(VertexIndex v) const { in Valence() [all …]
|
/dports/archivers/draco/draco-1.4.3/src/draco/mesh/ |
H A D | valence_cache.h | 51 inline int32_t ConfidentValenceFromCache(VertexIndex v) const { in ConfidentValenceFromCache() 68 const VertexIndex vertex_count = VertexIndex(table_.num_vertices()); in CacheValencesInaccurate() 70 for (VertexIndex v = VertexIndex(0); v < vertex_count; v += 1) { in CacheValencesInaccurate() 79 const VertexIndex vertex_count = VertexIndex(table_.num_vertices()); in CacheValences() 81 for (VertexIndex v = VertexIndex(0); v < vertex_count; v += 1) { in CacheValences() 95 inline int8_t ValenceFromCacheInaccurate(VertexIndex v) const { in ValenceFromCacheInaccurate() 102 inline int8_t ConfidentValenceFromCacheInaccurate(VertexIndex v) const { in ConfidentValenceFromCacheInaccurate() 109 inline int32_t ValenceFromCache(VertexIndex v) const { in ValenceFromCache() 121 IndexTypeVector<VertexIndex, int8_t>().swap(vertex_valence_cache_8_bit_); in ClearValenceCacheInaccurate() 136 mutable IndexTypeVector<VertexIndex, int8_t> vertex_valence_cache_8_bit_; [all …]
|
H A D | corner_table.h | 55 typedef std::array<VertexIndex, 3> FaceType; 100 inline VertexIndex Vertex(CornerIndex corner) const { in Vertex() 154 VertexIndex VertexParent(VertexIndex vertex) const { in VertexParent() 168 int Valence(VertexIndex v) const; 170 int ConfidentValence(VertexIndex v) const; 184 inline bool IsOnBoundary(VertexIndex vert) const { in IsOnBoundary() 269 VertexIndex AddNewVertex() { in AddNewVertex() 301 void UpdateVertexToCornerMap(VertexIndex vert) { in UpdateVertexToCornerMap() 327 void MakeVertexIsolated(VertexIndex vert) { in MakeVertexIsolated() 333 inline bool IsVertexIsolated(VertexIndex v) const { in IsVertexIsolated() [all …]
|
H A D | corner_table.cc | 102 const VertexIndex v1 = Vertex(c); in ComputeOppositeCorners() 120 VertexIndex sink_vert; in ComputeOppositeCorners() 140 const VertexIndex tip_v = Vertex(c); in ComputeOppositeCorners() 141 const VertexIndex source_v = Vertex(Next(c)); in ComputeOppositeCorners() 142 const VertexIndex sink_v = Vertex(Previous(c)); in ComputeOppositeCorners() 147 const VertexIndex v0 = Vertex(c); in ComputeOppositeCorners() 339 VertexIndex v = corner_to_vertex_map_[c]; in ComputeVertexCorners() 353 v = VertexIndex(num_vertices++); in ComputeVertexCorners() 405 const VertexIndex v0 = Vertex(first_face_corner); in IsDegenerated() 414 int CornerTable::Valence(VertexIndex v) const { in Valence() [all …]
|
H A D | mesh_attribute_corner_table.h | 94 VertexIndex Vertex(CornerIndex corner) const { in Vertex() 98 VertexIndex ConfidentVertex(CornerIndex corner) const { in ConfidentVertex() 102 VertexIndex VertexParent(VertexIndex vert) const { in VertexParent() 103 return VertexIndex(vertex_to_attribute_entry_id_map_[vert.value()].value()); in VertexParent() 106 inline CornerIndex LeftMostCorner(VertexIndex v) const { in LeftMostCorner() 122 inline bool IsOnBoundary(VertexIndex vert) const { in IsOnBoundary() 147 int Valence(VertexIndex v) const; 149 int ConfidentValence(VertexIndex v) const; 184 std::vector<VertexIndex> corner_to_vertex_map_;
|
/dports/multimedia/assimp/assimp-5.1.3/contrib/draco/src/draco/mesh/ |
H A D | valence_cache.h | 51 inline int32_t ConfidentValenceFromCache(VertexIndex v) const { in ConfidentValenceFromCache() 68 const VertexIndex vertex_count = VertexIndex(table_.num_vertices()); in CacheValencesInaccurate() 70 for (VertexIndex v = VertexIndex(0); v < vertex_count; v += 1) { in CacheValencesInaccurate() 79 const VertexIndex vertex_count = VertexIndex(table_.num_vertices()); in CacheValences() 81 for (VertexIndex v = VertexIndex(0); v < vertex_count; v += 1) { in CacheValences() 95 inline int8_t ValenceFromCacheInaccurate(VertexIndex v) const { in ValenceFromCacheInaccurate() 102 inline int8_t ConfidentValenceFromCacheInaccurate(VertexIndex v) const { in ConfidentValenceFromCacheInaccurate() 109 inline int32_t ValenceFromCache(VertexIndex v) const { in ValenceFromCache() 121 IndexTypeVector<VertexIndex, int8_t>().swap(vertex_valence_cache_8_bit_); in ClearValenceCacheInaccurate() 136 mutable IndexTypeVector<VertexIndex, int8_t> vertex_valence_cache_8_bit_; [all …]
|
H A D | corner_table.h | 55 typedef std::array<VertexIndex, 3> FaceType; 100 inline VertexIndex Vertex(CornerIndex corner) const { in Vertex() 154 VertexIndex VertexParent(VertexIndex vertex) const { in VertexParent() 168 int Valence(VertexIndex v) const; 170 int ConfidentValence(VertexIndex v) const; 184 inline bool IsOnBoundary(VertexIndex vert) const { in IsOnBoundary() 269 VertexIndex AddNewVertex() { in AddNewVertex() 301 void UpdateVertexToCornerMap(VertexIndex vert) { in UpdateVertexToCornerMap() 327 void MakeVertexIsolated(VertexIndex vert) { in MakeVertexIsolated() 333 inline bool IsVertexIsolated(VertexIndex v) const { in IsVertexIsolated() [all …]
|
H A D | corner_table.cc | 102 const VertexIndex v1 = Vertex(c); in ComputeOppositeCorners() 120 VertexIndex sink_vert; in ComputeOppositeCorners() 140 const VertexIndex tip_v = Vertex(c); in ComputeOppositeCorners() 141 const VertexIndex source_v = Vertex(Next(c)); in ComputeOppositeCorners() 142 const VertexIndex sink_v = Vertex(Previous(c)); in ComputeOppositeCorners() 147 const VertexIndex v0 = Vertex(c); in ComputeOppositeCorners() 339 VertexIndex v = corner_to_vertex_map_[c]; in ComputeVertexCorners() 353 v = VertexIndex(num_vertices++); in ComputeVertexCorners() 405 const VertexIndex v0 = Vertex(first_face_corner); in IsDegenerated() 414 int CornerTable::Valence(VertexIndex v) const { in Valence() [all …]
|
H A D | mesh_attribute_corner_table.h | 94 VertexIndex Vertex(CornerIndex corner) const { in Vertex() 98 VertexIndex ConfidentVertex(CornerIndex corner) const { in ConfidentVertex() 102 VertexIndex VertexParent(VertexIndex vert) const { in VertexParent() 103 return VertexIndex(vertex_to_attribute_entry_id_map_[vert.value()].value()); in VertexParent() 106 inline CornerIndex LeftMostCorner(VertexIndex v) const { in LeftMostCorner() 122 inline bool IsOnBoundary(VertexIndex vert) const { in IsOnBoundary() 141 int Valence(VertexIndex v) const; 143 int ConfidentValence(VertexIndex v) const; 178 std::vector<VertexIndex> corner_to_vertex_map_;
|
/dports/math/colpack/ColPack-1.0.10-249-g9a7293a/src/GeneralGraphColoring/ |
H A D | GraphCore.cpp | 111 if(VertexIndex > (int)m_vi_Vertices.size() - 2) { in GetD1Neighbor() 115 if(VertexIndex < 0) { in GetD1Neighbor() 120 for(int i=m_vi_Vertices[VertexIndex]; i<m_vi_Vertices[STEP_UP(VertexIndex)]; i++) { in GetD1Neighbor() 128 if(VertexIndex > (int)m_vi_Vertices.size() - 2) { in PrintVertexD1Neighbor() 132 if(VertexIndex < 0) { in PrintVertexD1Neighbor() 136 cout<<"Distance-1 neighbors of "<<VertexIndex<<" are (0-based): "; in PrintVertexD1Neighbor() 137 for(int i=m_vi_Vertices[VertexIndex]; i<m_vi_Vertices[STEP_UP(VertexIndex)]; i++) { in PrintVertexD1Neighbor() 141 …cout<<"( # of edges = "<<m_vi_Vertices[STEP_UP(VertexIndex)] - m_vi_Vertices[VertexIndex]<<")"<<en… in PrintVertexD1Neighbor() 145 void GraphCore::PrintVertexD2Neighbor(int VertexIndex) { in PrintVertexD2Neighbor() argument 147 for(int i=m_vi_Vertices[VertexIndex]; i<m_vi_Vertices[STEP_UP(VertexIndex)]; i++) { in PrintVertexD2Neighbor() [all …]
|
/dports/devel/vcglib/vcglib-2020.09/apps/unsupported/extractors/extractor/ |
H A D | Walker.h | 17 typedef int VertexIndex; typedef 29 _x_cs = new VertexIndex[ _slice_dimension ]; in Walker() 30 _y_cs = new VertexIndex[ _slice_dimension ]; in Walker() 31 _z_cs = new VertexIndex[ _slice_dimension ]; in Walker() 32 _x_ns = new VertexIndex[ _slice_dimension ]; in Walker() 97 VertexIndex index = i+z*_resolution.X(); in GetXIntercept() 98 VertexIndex pos; in GetXIntercept() 129 VertexIndex index = i+z*_resolution.X(); in GetYIntercept() 130 VertexIndex pos; in GetYIntercept() 145 VertexIndex index = i+z*_resolution.X(); in GetZIntercept() [all …]
|
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/test/geometry/ |
H A D | test_polygon_mesh.cpp | 53 using VertexIndex = pcl::geometry::VertexIndex; typedef 161 vi.push_back (VertexIndex (0)); in TYPED_TEST() 162 vi.push_back (VertexIndex (1)); in TYPED_TEST() 163 vi.push_back (VertexIndex (2)); in TYPED_TEST() 167 vi.push_back (VertexIndex (0)); in TYPED_TEST() 168 vi.push_back (VertexIndex (2)); in TYPED_TEST() 169 vi.push_back (VertexIndex (3)); in TYPED_TEST() 170 vi.push_back (VertexIndex (4)); in TYPED_TEST() 174 vi.push_back (VertexIndex (0)); in TYPED_TEST() 175 vi.push_back (VertexIndex (4)); in TYPED_TEST() [all …]
|
/dports/cad/meshlab/meshlab-Meshlab-2020.05/src/plugins_unsupported/editrgbtri/ |
H A D | rgbPrimitives.h | 142 static bool r4_Merge_Possible(RgbTriangleC& t, int VertexIndex); 144 static bool r2gb_Merge_Possible(RgbTriangleC& t, int VertexIndex); 146 static bool gbgb_Merge_Possible(RgbTriangleC& t, int VertexIndex); 148 static bool g2b2_Merge_Possible(RgbTriangleC& t, int VertexIndex); 150 static bool gg_Swap_Possible(RgbTriangleC& t, int VertexIndex); 152 static bool vertexRemoval_Possible(RgbTriangleC& t, int VertexIndex); 185 static bool gg_Swap_6g_Possible(RgbTriangleC& t, int VertexIndex); 197 static bool brb2g_Swap_Possible(RgbTriangleC& t, int VertexIndex); 202 static bool isVertexInternal(RgbTriangleC& t, int VertexIndex); 223 static bool b_r2_Merge_Possible(RgbTriangleC& t, int VertexIndex); [all …]
|
H A D | rgbPrimitives.cpp | 615 assert(VertexIndex>= 0 && VertexIndex<=2); in vf() 682 assert(VertexIndex>=0 && VertexIndex <= 2); in r4_Merge_Possible() 702 assert(VertexIndex>=0 && VertexIndex <= 2); in r2gb_Merge_Possible() 733 assert(VertexIndex>=0 && VertexIndex <= 2); in gbgb_Merge_Possible() 764 assert(VertexIndex>=0 && VertexIndex <= 2); in g2b2_Merge_Possible() 824 assert(VertexIndex>=0 && VertexIndex <= 2); in r4_Merge() 868 assert(VertexIndex>=0 && VertexIndex <= 2); in r2gb_Merge() 925 assert(VertexIndex>=0 && VertexIndex <= 2); in gbgb_Merge() 1027 assert(VertexIndex>=0 && VertexIndex <= 2); in g2b2_Merge() 1337 assert(VertexIndex>=0 && VertexIndex <= 2); in gg_Swap_3g2r() [all …]
|
/dports/cad/meshlab/meshlab-Meshlab-2020.05/src/plugins_unsupported/oldplymc/ |
H A D | trivial_walker.h | 20 typedef int VertexIndex; typedef 39 _x_cs = new VertexIndex[ _slice_dimension ]; in Init() 40 _y_cs = new VertexIndex[ _slice_dimension ]; in Init() 41 _z_cs = new VertexIndex[ _slice_dimension ]; in Init() 42 _x_ns = new VertexIndex[ _slice_dimension ]; in Init() 140 VertexIndex index = i+z*_resolution.X(); in GetXIntercept() 141 VertexIndex pos; in GetXIntercept() 172 VertexIndex index = i+z*_resolution.X(); in GetYIntercept() 173 VertexIndex pos; in GetYIntercept() 188 VertexIndex index = i+z*_resolution.X(); in GetZIntercept() [all …]
|
/dports/graphics/wdune/wdune-1.926/vcglib/vcg/complex/algorithms/create/ |
H A D | mc_trivial_walker.h | 159 typedef int VertexIndex; typedef 170 _x_cs = new VertexIndex[ _slice_dimension ]; in SetExtractionBox() 171 _y_cs = new VertexIndex[ _slice_dimension ]; in SetExtractionBox() 172 _z_cs = new VertexIndex[ _slice_dimension ]; in SetExtractionBox() 173 _x_ns = new VertexIndex[ _slice_dimension ]; in SetExtractionBox() 241 VertexIndex index = i+z*_bbox.DimX(); in GetXIntercept() 242 VertexIndex pos=-1; in GetXIntercept() 274 VertexIndex index = i+z*_bbox.DimX(); in GetYIntercept() 275 VertexIndex pos; in GetYIntercept() 290 VertexIndex index = i+z*_bbox.DimX(); in GetZIntercept() [all …]
|
H A D | resampler.h | 67 typedef int VertexIndex; typedef 113 _x_cs = new VertexIndex[ SliceSize ]; in Walker() 114 _y_cs = new VertexIndex[ SliceSize ]; in Walker() 115 _z_cs = new VertexIndex[ SliceSize ]; in Walker() 116 _x_ns = new VertexIndex[ SliceSize ]; in Walker() 117 _z_ns = new VertexIndex[ SliceSize ]; in Walker() 402 VertexIndex index = i+z*this->siz.X(); in Exist() 499 VertexIndex index = i+z*this->siz.X(); in GetXIntercept() 500 VertexIndex pos=-1; in GetXIntercept() 539 VertexIndex pos=-1; in GetYIntercept() [all …]
|
/dports/devel/vcglib/vcglib-2020.09/vcg/complex/algorithms/create/ |
H A D | mc_trivial_walker.h | 159 typedef int VertexIndex; typedef 170 _x_cs = new VertexIndex[ _slice_dimension ]; in SetExtractionBox() 171 _y_cs = new VertexIndex[ _slice_dimension ]; in SetExtractionBox() 172 _z_cs = new VertexIndex[ _slice_dimension ]; in SetExtractionBox() 173 _x_ns = new VertexIndex[ _slice_dimension ]; in SetExtractionBox() 241 VertexIndex index = i+z*_bbox.DimX(); in GetXIntercept() 242 VertexIndex pos=-1; in GetXIntercept() 274 VertexIndex index = i+z*_bbox.DimX(); in GetYIntercept() 275 VertexIndex pos; in GetYIntercept() 290 VertexIndex index = i+z*_bbox.DimX(); in GetZIntercept() [all …]
|
H A D | resampler.h | 66 typedef int VertexIndex; typedef 114 _x_cs = new VertexIndex[ SliceSize ]; in Walker() 115 _y_cs = new VertexIndex[ SliceSize ]; in Walker() 116 _z_cs = new VertexIndex[ SliceSize ]; in Walker() 117 _x_ns = new VertexIndex[ SliceSize ]; in Walker() 118 _z_ns = new VertexIndex[ SliceSize ]; in Walker() 405 VertexIndex index = i+z*this->siz.X(); in Exist() 502 VertexIndex index = i+z*this->siz.X(); in GetXIntercept() 503 VertexIndex pos=-1; in GetXIntercept() 542 VertexIndex pos=-1; in GetYIntercept() [all …]
|
/dports/science/axom/axom-0.6.1/src/axom/quest/detail/inout/ |
H A D | MeshWrapper.hpp | 48 using VertexIndex = axom::IndexType; typedef in axom::quest::SimplexMeshWrapper 59 using VertexIndexMap = slam::Map<slam::Set<VertexIndex>, VertexIndex>; 65 slam::policies::STLVectorIndirection<VertexIndex, VertexIndex>; 78 static constexpr VertexIndex NO_VERTEX = -1; 140 SpacePt getMeshVertexPosition(VertexIndex idx) const in getMeshVertexPosition() 162 const SpacePt& vertexPosition(VertexIndex idx) const in vertexPosition() 275 std::vector<VertexIndex> m_cv_data; 292 using Base::VertexIndex; 394 const VertexIndex& vInd = vertexIndexMap[i]; in reindexMesh() 478 using Base::VertexIndex; [all …]
|
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/apps/in_hand_scanner/include/pcl/apps/in_hand_scanner/ |
H A D | integration.h | 73 using VertexIndex = Mesh::VertexIndex; variable 170 VertexIndex& vi_0, 171 VertexIndex& vi_1, 172 VertexIndex& vi_2, 173 VertexIndex& vi_3, 181 VertexIndex& vi_0, 182 VertexIndex& vi_1, 183 VertexIndex& vi_2,
|
/dports/games/memonix/MemonixSourceCode/src/Core/RendererInterface/ |
H A D | OGL_Draw3D.cpp | 32 extern GLuint *VertexIndex; 109 VertexIndex = new GLuint[NumVertices]; in vw_SendVertices() 110 for (int i=0; i<NumVertices; i++) VertexIndex[i] = i; in vw_SendVertices() 119 glDrawElements(GL_POINTS,NumVertices,GL_UNSIGNED_INT,VertexIndex); in vw_SendVertices() 124 glDrawElements(GL_LINES,NumVertices,GL_UNSIGNED_INT,VertexIndex); in vw_SendVertices() 129 glDrawElements(GL_TRIANGLES,NumVertices,GL_UNSIGNED_INT,VertexIndex); in vw_SendVertices() 134 glDrawElements(GL_TRIANGLE_STRIP,NumVertices,GL_UNSIGNED_INT,VertexIndex); in vw_SendVertices() 139 glDrawElements(GL_TRIANGLE_FAN,NumVertices,GL_UNSIGNED_INT,VertexIndex); in vw_SendVertices()
|