/dports/misc/vxl/vxl-3.3.2/contrib/brl/bbas/imesh/ |
H A D | imesh_face.h | 174 : faces_(std::move(faces)) {} in imesh_face_array() 178 : imesh_face_array_base(other), faces_(other.faces_) {} in imesh_face_array() 182 : imesh_face_array_base(fb), faces_(fb.size()) in imesh_face_array() 186 faces_[i].push_back(fb(i,j)); in imesh_face_array() 204 std::reverse(faces_[f].begin(),faces_[f].end()); in flip_orientation() 242 std::vector<imesh_regular_face<s> > faces_; variable 270 faces_[f].flip_orientation(); in flip_orientation() 290 faces_.insert(faces_.end(), fs.faces_.begin(), fs.faces_.end()); 293 imesh_regular_face<s>& f = faces_[i]; 312 iterator begin() { return faces_.begin(); } in begin() [all …]
|
H A D | imesh_mesh.cxx | 18 faces_((other.faces_.get()) ? other.faces_->clone() : nullptr), in imesh_mesh() 34 faces_ = std::unique_ptr<imesh_face_array_base>((other.faces_.get()) ? in operator =() 35 other.faces_->clone() : nullptr); in operator =() 51 faces_ = imesh_merge(*this->faces_,*other.faces_,verts_->size()); in merge() 152 if (!this->faces_->has_normals()) in compute_vertex_normals_from_faces() 155 const std::vector<vgl_vector_3d<double> >& fnormals = faces_->normals(); in compute_vertex_normals_from_faces() 217 unsigned int v1 = (*faces_)(tri,0); in texture_map() 218 unsigned int v2 = (*faces_)(tri,1); in texture_map() 219 unsigned int v3 = (*faces_)(tri,2); in texture_map()
|
H A D | imesh_face.cxx | 86 const unsigned int new_begin = faces_.size(); in append() 90 faces_.insert(faces_.end(), fs.faces_.begin(), fs.faces_.end()); in append() 93 for (unsigned int i=new_begin; i<faces_.size(); ++i) { in append() 94 std::vector<unsigned int>& f = faces_[i]; in append() 105 faces_.push_back(f); in append()
|
H A D | imesh_mesh.h | 39 : verts_(std::move(verts)), faces_(std::move(faces)), tex_coord_status_(TEX_COORD_NONE) {} in imesh_mesh() 51 unsigned int num_faces() const {return faces_->size();} in num_faces() 61 bool is_init() const { return verts_.get() && faces_.get(); } in is_init() 82 const imesh_face_array_base& faces() const { return *faces_; } in faces() 83 imesh_face_array_base& faces() { return *faces_; } in faces() 89 void set_faces(std::unique_ptr<imesh_face_array_base> faces) { faces_ = std::move(faces); } in set_faces() 150 std::unique_ptr<imesh_face_array_base> faces_; variable
|
/dports/science/mpqc/mpqc-2.3.1/src/lib/util/render/ |
H A D | polygons.cc | 47 faces_ = 0; in RenderedPolygons() 94 if (faces_) { in ~RenderedPolygons() 96 if (faces_[i]) delete[] faces_[i]; in ~RenderedPolygons() 98 delete[] faces_; in ~RenderedPolygons() 142 faces_[i] = 0; in initialize() 166 if (faces_[iface]) delete[] faces_[iface]; in set_face() 168 faces_[iface][0] = v1; in set_face() 169 faces_[iface][1] = v2; in set_face() 170 faces_[iface][2] = v3; in set_face() 178 if (faces_[iface]) delete[] faces_[iface]; in set_face() [all …]
|
/dports/graphics/urho3d/Urho3D-1.7.1/Source/Urho3D/Math/ |
H A D | Polyhedron.cpp | 53 faces_.Resize(6); in Define() 66 faces_.Resize(6); in Define() 77 faces_.Resize(faces_.Size() + 1); in AddFace() 78 PODVector<Vector3>& face = faces_[faces_.Size() - 1]; in AddFace() 87 faces_.Resize(faces_.Size() + 1); in AddFace() 88 PODVector<Vector3>& face = faces_[faces_.Size() - 1]; in AddFace() 98 faces_.Push(face); in AddFace() 161 for (unsigned i = faces_.Size() - 1; i < faces_.Size(); --i) in Clip() 238 faces_.Clear(); in Clear() 264 ret.faces_.Resize(faces_.Size()); in Transformed() [all …]
|
H A D | Polyhedron.h | 47 faces_(polyhedron.faces_) in Polyhedron() 53 faces_(faces) in Polyhedron() 75 faces_ = rhs.faces_; 108 bool Empty() const { return faces_.Empty(); } in Empty() 111 Vector<PODVector<Vector3> > faces_; variable
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/platform/fonts/ |
H A D | segmented_font_data.cc | 35 auto* end = faces_.end(); in FontDataForCharacter() 36 for (auto* it = faces_.begin(); it != end; ++it) { in FontDataForCharacter() 40 return faces_[0]->FontData(); in FontDataForCharacter() 44 auto* end = faces_.end(); in ContainsCharacter() 45 for (auto* it = faces_.begin(); it != end; ++it) { in ContainsCharacter() 58 auto* end = faces_.end(); in IsLoading() 59 for (auto* it = faces_.begin(); it != end; ++it) { in IsLoading() 68 auto* end = faces_.end(); in IsLoadingFallback() 69 for (auto* it = faces_.begin(); it != end; ++it) { in IsLoadingFallback() 81 auto* end = faces_.end(); in ShouldSkipDrawing() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/platform/fonts/ |
H A D | segmented_font_data.cc | 35 auto* end = faces_.end(); in FontDataForCharacter() 36 for (auto* it = faces_.begin(); it != end; ++it) { in FontDataForCharacter() 40 return faces_[0]->FontData(); in FontDataForCharacter() 44 auto* end = faces_.end(); in ContainsCharacter() 45 for (auto* it = faces_.begin(); it != end; ++it) { in ContainsCharacter() 58 auto* end = faces_.end(); in IsLoading() 59 for (auto* it = faces_.begin(); it != end; ++it) { in IsLoading() 68 auto* end = faces_.end(); in IsLoadingFallback() 69 for (auto* it = faces_.begin(); it != end; ++it) { in IsLoadingFallback() 81 auto* end = faces_.end(); in ShouldSkipDrawing() [all …]
|
/dports/archivers/draco/draco-1.4.3/src/draco/mesh/ |
H A D | mesh.h | 50 void AddFace(const Face &face) { faces_.push_back(face); } in AddFace() 53 if (face_id >= static_cast<uint32_t>(faces_.size())) { in SetFace() 54 faces_.resize(face_id.value() + 1, Face()); in SetFace() 56 faces_[face_id] = face; in SetFace() 61 void SetNumFaces(size_t num_faces) { faces_.resize(num_faces, Face()); } in SetNumFaces() 64 return static_cast<uint32_t>(faces_.size()); in num_faces() 68 DRACO_DCHECK_LT(face_id.value(), static_cast<int>(faces_.size())); in face() 69 return faces_[face_id]; in face() 124 IndexTypeVector<FaceIndex, Face> &faces() { return faces_; } in faces() 132 IndexTypeVector<FaceIndex, Face> faces_; variable [all …]
|
/dports/cad/gmsh/gmsh-4.9.2-source/contrib/Revoropt/include/Revoropt/Mesh/ |
H A D | wrapper_fwd.hpp | 83 rhs->faces_, in ROMeshWrapper() 111 Base::faces_ = in wrap() 207 rhs->faces_, in ROMeshWrapper() 236 Base::faces_ = in wrap() 339 rhs->faces_, in MeshWrapper() 365 Base::faces_ = rhs->faces_ ; in wrap() 385 Base::faces_ = faces ; in set_faces() 458 rhs->faces_, in MeshWrapper() 485 Base::faces_ = rhs->faces_ ; in wrap() 507 Base::faces_ = faces ; in set_faces() [all …]
|
/dports/graphics/blender/blender-2.91.0/extern/draco/dracoenc/src/draco/mesh/ |
H A D | mesh.h | 50 void AddFace(const Face &face) { faces_.push_back(face); } in AddFace() 53 if (face_id >= static_cast<uint32_t>(faces_.size())) { in SetFace() 54 faces_.resize(face_id.value() + 1, Face()); in SetFace() 56 faces_[face_id] = face; in SetFace() 61 void SetNumFaces(size_t num_faces) { faces_.resize(num_faces, Face()); } in SetNumFaces() 64 return static_cast<uint32_t>(faces_.size()); in num_faces() 68 DRACO_DCHECK_LT(face_id.value(), static_cast<int>(faces_.size())); in face() 69 return faces_[face_id]; in face() 127 IndexTypeVector<FaceIndex, Face> faces_; variable 140 for (FaceIndex i(0); i < static_cast<uint32_t>(mesh.faces_.size()); ++i) { in operator() [all …]
|
/dports/multimedia/assimp/assimp-5.1.3/contrib/draco/src/draco/mesh/ |
H A D | mesh.h | 50 void AddFace(const Face &face) { faces_.push_back(face); } in AddFace() 53 if (face_id >= static_cast<uint32_t>(faces_.size())) { in SetFace() 54 faces_.resize(face_id.value() + 1, Face()); in SetFace() 56 faces_[face_id] = face; in SetFace() 61 void SetNumFaces(size_t num_faces) { faces_.resize(num_faces, Face()); } in SetNumFaces() 64 return static_cast<uint32_t>(faces_.size()); in num_faces() 68 DRACO_DCHECK_LT(face_id.value(), static_cast<int>(faces_.size())); in face() 69 return faces_[face_id]; in face() 128 IndexTypeVector<FaceIndex, Face> faces_; variable 141 for (FaceIndex i(0); i < static_cast<uint32_t>(mesh.faces_.size()); ++i) { in operator() [all …]
|
/dports/biology/ugene/ugene-40.1/src/plugins_3rdparty/ball/src/include/BALL/STRUCTURE/ |
H A D | graphVertex.h | 278 faces_(), in GraphVertex() 289 faces_(), in GraphVertex() 295 faces_ = vertex.faces_; in GraphVertex() 317 faces_ = vertex.faces_; in set() 332 faces_ = vertex.faces_; 351 faces_.insert(face); in insert() 367 faces_.erase(face); in remove() 415 for (f = faces_.begin(); f != faces_.end(); f++) in substitute() 437 for (f = vertex.faces_.begin(); f != vertex.faces_.end(); f++) in join() 439 faces_.insert(*f); in join() [all …]
|
/dports/games/scorched3d/scorched/src/common/3dsparse/ |
H A D | Mesh.h | 66 { return faces_; } in getFaces() 68 { DIALOG_ASSERT(faceIndex < (int) faces_.size()); in getFace() 69 return faces_[faceIndex]; } in getFace() 81 { faces_.push_back(new Face(face)); } in insertFace() 86 { DIALOG_ASSERT(faceIndex < (int) faces_.size()); in setFaceNormal() 87 faces_[faceIndex]->normal[normalIndex] = normal; } in setFaceNormal() 89 { DIALOG_ASSERT(faceIndex < (int) faces_.size()); in setFaceTCoord() 90 faces_[faceIndex]->tcoord[coordIndex] = coord; } in setFaceTCoord() 99 std::vector<Face *> faces_; variable
|
/dports/misc/vxl/vxl-3.3.2/contrib/gel/vifa/ |
H A D | vifa_int_faces_adj_attr.cxx | 72 faces_.clear(); in GetFaces() 76 return faces_; in GetFaces() 85 faces_.clear(); in GetFaceList() 90 for (auto & face : faces_) in GetFaceList() 138 return faces_.size(); in NeighborhoodSize() 205 if (faces_.empty()) in compute_closure() 213 faces_.push_back(seed_); in compute_closure() 219 faces_.erase(faces_.begin()); in compute_closure() 230 for (auto & face : faces_) in compute_closure() 245 faces_ = keep_faces; in compute_closure() [all …]
|
/dports/biology/ugene/ugene-40.1/src/plugins_3rdparty/ball/src/source/STRUCTURE/ |
H A D | solventAccessibleSurface.cpp | 26 faces_(), in SolventAccessibleSurface() 37 faces_(), in SolventAccessibleSurface() 73 faces_(), in SolventAccessibleSurface() 150 faces_[i] = face; in setFace() 163 return faces_[i]; in getFace() 200 delete faces_[i]; in clear() 205 faces_.clear(); in clear() 242 faces_.push_back(face); in preProcessing() 274 vertex->faces_.insert(faces_[rsface->vertex_[i]->index_]); in createVertex() 310 SASFace* face = faces_[j]; in createFace() [all …]
|
/dports/devel/bullet/bullet3-3.21/examples/TinyRenderer/ |
H A D | model.cpp | 54 faces_.push_back(f); in Model() 63 Model::Model() : verts_(), faces_(), norms_(), uv_(), diffusemap_(), normalmap_(), specularmap_() in Model() 97 faces_.reserve(numIndices); in reserveMemory() 114 faces_.push_back(f); in addTriangle() 126 return (int)faces_.size(); in nfaces() 132 face.reserve((int)faces_[idx].size()); in face() 133 for (int i = 0; i < (int)faces_[idx].size(); i++) in face() 134 face.push_back(faces_[idx][i][0]); in face() 146 return verts_[faces_[iface][nthvert][0]]; in vert() 199 return uv_[faces_[iface][nthvert][1]]; in uv() [all …]
|
/dports/devel/py-bullet3/bullet3-3.21/examples/TinyRenderer/ |
H A D | model.cpp | 54 faces_.push_back(f); in Model() 63 Model::Model() : verts_(), faces_(), norms_(), uv_(), diffusemap_(), normalmap_(), specularmap_() in Model() 97 faces_.reserve(numIndices); in reserveMemory() 114 faces_.push_back(f); in addTriangle() 126 return (int)faces_.size(); in nfaces() 132 face.reserve((int)faces_[idx].size()); in face() 133 for (int i = 0; i < (int)faces_[idx].size(); i++) in face() 134 face.push_back(faces_[idx][i][0]); in face() 146 return verts_[faces_[iface][nthvert][0]]; in vert() 199 return uv_[faces_[iface][nthvert][1]]; in uv() [all …]
|
/dports/graphics/R-cran-s2/s2/src/s2/ |
H A D | s2point_compression.cc | 92 const vector<FaceRun>& faces_; member in __anon830318810111::Faces::Iterator 120 vector<FaceRun> faces_; member in __anon830318810111::Faces 127 if (!faces_.empty() && faces_.back().face == face) { in AddFace() 128 ++faces_.back().count; in AddFace() 130 faces_.push_back(FaceRun(face, 1)); in AddFace() 135 for (const FaceRun& face_run : faces_) in Encode() 143 faces_.push_back(face_run); in Decode() 152 : faces_(faces.faces_), face_index_(0), in Iterator() 157 S2_DCHECK_NE(faces_.size(), face_index_); in Next() 159 if (num_faces_used_for_index_ == faces_[face_index_].count) { in Next() [all …]
|
/dports/graphics/s2/s2geometry-0.9.0/src/s2/ |
H A D | s2point_compression.cc | 92 const vector<FaceRun>& faces_; member in __anonac7e5b1f0111::Faces::Iterator 120 vector<FaceRun> faces_; member in __anonac7e5b1f0111::Faces 127 if (!faces_.empty() && faces_.back().face == face) { in AddFace() 128 ++faces_.back().count; in AddFace() 130 faces_.push_back(FaceRun(face, 1)); in AddFace() 135 for (const FaceRun& face_run : faces_) in Encode() 143 faces_.push_back(face_run); in Decode() 152 : faces_(faces.faces_), face_index_(0), in Iterator() 157 S2_DCHECK_NE(faces_.size(), face_index_); in Next() 159 if (num_faces_used_for_index_ == faces_[face_index_].count) { in Next() [all …]
|
/dports/graphics/py-s2/s2geometry-0.9.0/src/s2/ |
H A D | s2point_compression.cc | 92 const vector<FaceRun>& faces_; member in __anonaf8555d50111::Faces::Iterator 120 vector<FaceRun> faces_; member in __anonaf8555d50111::Faces 127 if (!faces_.empty() && faces_.back().face == face) { in AddFace() 128 ++faces_.back().count; in AddFace() 130 faces_.push_back(FaceRun(face, 1)); in AddFace() 135 for (const FaceRun& face_run : faces_) in Encode() 143 faces_.push_back(face_run); in Decode() 152 : faces_(faces.faces_), face_index_(0), in Iterator() 157 S2_DCHECK_NE(faces_.size(), face_index_); in Next() 159 if (num_faces_used_for_index_ == faces_[face_index_].count) { in Next() [all …]
|
/dports/misc/vxl/vxl-3.3.2/contrib/gel/vtol/ |
H A D | vtol_topology_cache.cxx | 14 faces_ =nullptr; in vtol_topology_cache() 27 faces_ =nullptr; in vtol_topology_cache() 51 delete faces_; faces_ = nullptr; in clear_cache() 139 if (!faces_) in faces() 140 faces_ = source_->compute_faces(); in faces() 143 for (auto & face : *faces_){ in faces()
|
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/test/geometry/ |
H A D | test_mesh_circulators.cpp | 100 for (std::size_t i=0; i<faces_.size (); ++i) in SetUp() 102 ASSERT_TRUE (mesh_.addFace (faces_ [i]).isValid ()) << "Face number " << i; in SetUp() 112 std::vector <VertexIndices> faces_; member in TestMeshCirculators 277 …EXPECT_TRUE (isCircularPermutationVec (std::vector <VertexIndices> (faces_.rbegin (), faces_.rend … in TEST_F() 306 EXPECT_TRUE (isCircularPermutationVec (faces_, actual)); in TEST_F() 327 EXPECT_TRUE (isCircularPermutation (faces_ [i], actual)) << "Face number " << i; in TEST_F() 349 …EXPECT_TRUE (isCircularPermutation (VertexIndices (faces_ [i].rbegin (), faces_ [i].rend ()), actu… in TEST_F() 372 EXPECT_TRUE (isCircularPermutation (faces_ [i], actual)) << "Face number " << i; in TEST_F() 395 …EXPECT_TRUE (isCircularPermutation (VertexIndices (faces_ [i].rbegin (), faces_ [i].rend ()), actu… in TEST_F() 460 EXPECT_TRUE (isCircularPermutation (faces_ [i], actual)) << "Face number " << i; in TEST_F() [all …]
|
/dports/math/openmesh/OpenMesh-8.1/src/OpenMesh/Core/Mesh/ |
H A D | ArrayKernel.cc | 75 faces_ = _other.faces_; in assign_connectivity() 124 return FaceHandle( int(&_f - &faces_.front()) ); in handle() 180 faces_.clear(); in clean_keep_reservation() 193 faces_.clear(); in clean() 194 FaceContainer().swap( faces_ ); in clean() 215 faces_.resize(_n_faces); in resize() 227 faces_.reserve(_n_faces); in reserve()
|