/dports/archivers/draco/draco-1.4.3/src/draco/compression/attributes/ |
H A D | sequential_integer_attribute_encoding_test.cc | 38 std::vector<PointIndex> point_ids(values.size()); in TEST_F() local 39 std::iota(point_ids.begin(), point_ids.end(), 0); in TEST_F() 44 ASSERT_TRUE(ie.TransformAttributeToPortableFormat(point_ids)); in TEST_F() 45 ASSERT_TRUE(ie.EncodePortableAttribute(point_ids, &out_buf)); in TEST_F() 53 ASSERT_TRUE(id.DecodePortableAttribute(point_ids, &in_buf)); in TEST_F() 54 ASSERT_TRUE(id.DecodeDataNeededByPortableTransform(point_ids, &in_buf)); in TEST_F() 55 ASSERT_TRUE(id.TransformAttributeToOriginalFormat(point_ids)); in TEST_F()
|
H A D | sequential_integer_attribute_encoder.cc | 60 const std::vector<PointIndex> &point_ids) { in TransformAttributeToPortableFormat() argument 62 if (!PrepareValues(point_ids, encoder()->point_cloud()->num_points())) { in TransformAttributeToPortableFormat() 66 if (!PrepareValues(point_ids, 0)) { in TransformAttributeToPortableFormat() 80 for (int i = 0; i < point_ids.size(); ++i) { in TransformAttributeToPortableFormat() 81 value_to_value_map[orig_att->mapped_index(point_ids[i])] = in TransformAttributeToPortableFormat() 106 const std::vector<PointIndex> &point_ids, EncoderBuffer *out_buffer) { in EncodeValues() argument 143 point_ids.data()); in EncodeValues() 163 static_cast<int>(point_ids.size()) * num_components, in EncodeValues() 201 const std::vector<PointIndex> &point_ids, int num_points) { in PrepareValues() argument 205 const int num_entries = static_cast<int>(point_ids.size()); in PrepareValues() [all …]
|
H A D | sequential_attribute_decoder.cc | 38 const std::vector<PointIndex> &point_ids, DecoderBuffer *in_buffer) { in DecodePortableAttribute() argument 40 !attribute_->Reset(point_ids.size())) { in DecodePortableAttribute() 43 if (!DecodeValues(point_ids, in_buffer)) { in DecodePortableAttribute() 50 const std::vector<PointIndex> &point_ids, DecoderBuffer *in_buffer) { in DecodeDataNeededByPortableTransform() argument 56 const std::vector<PointIndex> &point_ids) { in TransformAttributeToOriginalFormat() argument 101 const std::vector<PointIndex> &point_ids, DecoderBuffer *in_buffer) { in DecodeValues() argument 102 const int32_t num_values = static_cast<uint32_t>(point_ids.size()); in DecodeValues()
|
H A D | sequential_attribute_encoder.cc | 41 const std::vector<PointIndex> &point_ids) { in TransformAttributeToPortableFormat() argument 47 const std::vector<PointIndex> &point_ids, EncoderBuffer *out_buffer) { in EncodePortableAttribute() argument 49 if (!EncodeValues(point_ids, out_buffer)) { in EncodePortableAttribute() 62 const std::vector<PointIndex> &point_ids, EncoderBuffer *out_buffer) { in EncodeValues() argument 67 for (uint32_t i = 0; i < point_ids.size(); ++i) { in EncodeValues() 68 const AttributeValueIndex entry_id = attribute_->mapped_index(point_ids[i]); in EncodeValues()
|
H A D | sequential_integer_attribute_decoder.cc | 34 const std::vector<PointIndex> &point_ids) { in TransformAttributeToOriginalFormat() argument 41 return StoreValues(static_cast<uint32_t>(point_ids.size())); in TransformAttributeToOriginalFormat() 45 const std::vector<PointIndex> &point_ids, DecoderBuffer *in_buffer) { in DecodeValues() argument 72 if (!DecodeIntegerValues(point_ids, in_buffer)) { in DecodeValues() 77 const int32_t num_values = static_cast<uint32_t>(point_ids.size()); in DecodeValues() 102 const std::vector<PointIndex> &point_ids, DecoderBuffer *in_buffer) { in DecodeIntegerValues() argument 107 const size_t num_entries = point_ids.size(); in DecodeIntegerValues() 175 static_cast<int>(num_values), num_components, point_ids.data())) { in DecodeIntegerValues()
|
H A D | sequential_attribute_decoder.h | 38 virtual bool DecodePortableAttribute(const std::vector<PointIndex> &point_ids, 44 const std::vector<PointIndex> &point_ids, DecoderBuffer *in_buffer); 49 const std::vector<PointIndex> &point_ids); 66 virtual bool DecodeValues(const std::vector<PointIndex> &point_ids,
|
/dports/multimedia/assimp/assimp-5.1.3/contrib/draco/src/draco/compression/attributes/ |
H A D | sequential_integer_attribute_encoding_test.cc | 38 std::vector<PointIndex> point_ids(values.size()); in TEST_F() local 39 std::iota(point_ids.begin(), point_ids.end(), 0); in TEST_F() 44 ASSERT_TRUE(ie.TransformAttributeToPortableFormat(point_ids)); in TEST_F() 45 ASSERT_TRUE(ie.EncodePortableAttribute(point_ids, &out_buf)); in TEST_F() 53 ASSERT_TRUE(id.DecodePortableAttribute(point_ids, &in_buf)); in TEST_F() 54 ASSERT_TRUE(id.DecodeDataNeededByPortableTransform(point_ids, &in_buf)); in TEST_F() 55 ASSERT_TRUE(id.TransformAttributeToOriginalFormat(point_ids)); in TEST_F()
|
H A D | sequential_integer_attribute_encoder.cc | 60 const std::vector<PointIndex> &point_ids) { in TransformAttributeToPortableFormat() argument 62 if (!PrepareValues(point_ids, encoder()->point_cloud()->num_points())) { in TransformAttributeToPortableFormat() 66 if (!PrepareValues(point_ids, 0)) { in TransformAttributeToPortableFormat() 80 for (int i = 0; i < point_ids.size(); ++i) { in TransformAttributeToPortableFormat() 81 value_to_value_map[orig_att->mapped_index(point_ids[i])] = in TransformAttributeToPortableFormat() 106 const std::vector<PointIndex> &point_ids, EncoderBuffer *out_buffer) { in EncodeValues() argument 143 point_ids.data()); in EncodeValues() 163 static_cast<int>(point_ids.size()) * num_components, in EncodeValues() 201 const std::vector<PointIndex> &point_ids, int num_points) { in PrepareValues() argument 205 const int num_entries = static_cast<int>(point_ids.size()); in PrepareValues() [all …]
|
H A D | sequential_attribute_decoder.cc | 38 const std::vector<PointIndex> &point_ids, DecoderBuffer *in_buffer) { in DecodePortableAttribute() argument 40 !attribute_->Reset(point_ids.size())) { in DecodePortableAttribute() 43 if (!DecodeValues(point_ids, in_buffer)) { in DecodePortableAttribute() 50 const std::vector<PointIndex> &point_ids, DecoderBuffer *in_buffer) { in DecodeDataNeededByPortableTransform() argument 56 const std::vector<PointIndex> &point_ids) { in TransformAttributeToOriginalFormat() argument 101 const std::vector<PointIndex> &point_ids, DecoderBuffer *in_buffer) { in DecodeValues() argument 102 const int32_t num_values = static_cast<uint32_t>(point_ids.size()); in DecodeValues()
|
H A D | sequential_attribute_encoder.cc | 41 const std::vector<PointIndex> &point_ids) { in TransformAttributeToPortableFormat() argument 47 const std::vector<PointIndex> &point_ids, EncoderBuffer *out_buffer) { in EncodePortableAttribute() argument 49 if (!EncodeValues(point_ids, out_buffer)) { in EncodePortableAttribute() 62 const std::vector<PointIndex> &point_ids, EncoderBuffer *out_buffer) { in EncodeValues() argument 67 for (uint32_t i = 0; i < point_ids.size(); ++i) { in EncodeValues() 68 const AttributeValueIndex entry_id = attribute_->mapped_index(point_ids[i]); in EncodeValues()
|
H A D | sequential_integer_attribute_decoder.cc | 34 const std::vector<PointIndex> &point_ids) { in TransformAttributeToOriginalFormat() argument 41 return StoreValues(static_cast<uint32_t>(point_ids.size())); in TransformAttributeToOriginalFormat() 45 const std::vector<PointIndex> &point_ids, DecoderBuffer *in_buffer) { in DecodeValues() argument 72 if (!DecodeIntegerValues(point_ids, in_buffer)) { in DecodeValues() 77 const int32_t num_values = static_cast<uint32_t>(point_ids.size()); in DecodeValues() 102 const std::vector<PointIndex> &point_ids, DecoderBuffer *in_buffer) { in DecodeIntegerValues() argument 107 const size_t num_entries = point_ids.size(); in DecodeIntegerValues() 174 static_cast<int>(num_values), num_components, point_ids.data())) { in DecodeIntegerValues()
|
H A D | sequential_attribute_decoder.h | 38 virtual bool DecodePortableAttribute(const std::vector<PointIndex> &point_ids, 44 const std::vector<PointIndex> &point_ids, DecoderBuffer *in_buffer); 49 const std::vector<PointIndex> &point_ids); 66 virtual bool DecodeValues(const std::vector<PointIndex> &point_ids,
|
/dports/graphics/blender/blender-2.91.0/extern/draco/dracoenc/src/draco/compression/attributes/ |
H A D | sequential_integer_attribute_encoding_test.cc | 41 std::vector<PointIndex> point_ids(values.size()); in TEST_F() local 42 std::iota(point_ids.begin(), point_ids.end(), 0); in TEST_F() 47 ASSERT_TRUE(ie.TransformAttributeToPortableFormat(point_ids)); in TEST_F() 48 ASSERT_TRUE(ie.EncodePortableAttribute(point_ids, &out_buf)); in TEST_F() 56 ASSERT_TRUE(id.DecodePortableAttribute(point_ids, &in_buf)); in TEST_F() 57 ASSERT_TRUE(id.DecodeDataNeededByPortableTransform(point_ids, &in_buf)); in TEST_F() 58 ASSERT_TRUE(id.TransformAttributeToOriginalFormat(point_ids)); in TEST_F()
|
H A D | sequential_integer_attribute_encoder.cc | 59 const std::vector<PointIndex> &point_ids) { in TransformAttributeToPortableFormat() argument 61 if (!PrepareValues(point_ids, encoder()->point_cloud()->num_points())) in TransformAttributeToPortableFormat() 64 if (!PrepareValues(point_ids, 0)) in TransformAttributeToPortableFormat() 77 for (int i = 0; i < point_ids.size(); ++i) { in TransformAttributeToPortableFormat() 78 value_to_value_map[orig_att->mapped_index(point_ids[i])] = in TransformAttributeToPortableFormat() 100 const std::vector<PointIndex> &point_ids, EncoderBuffer *out_buffer) { in EncodeValues() argument 136 point_ids.data()); in EncodeValues() 156 static_cast<int>(point_ids.size()) * num_components, in EncodeValues() 194 const std::vector<PointIndex> &point_ids, int num_points) { in PrepareValues() argument 198 const int num_entries = static_cast<int>(point_ids.size()); in PrepareValues() [all …]
|
H A D | sequential_attribute_decoder.cc | 38 const std::vector<PointIndex> &point_ids, DecoderBuffer *in_buffer) { in DecodePortableAttribute() argument 39 if (attribute_->num_components() <= 0 || !attribute_->Reset(point_ids.size())) in DecodePortableAttribute() 41 if (!DecodeValues(point_ids, in_buffer)) in DecodePortableAttribute() 47 const std::vector<PointIndex> &point_ids, DecoderBuffer *in_buffer) { in DecodeDataNeededByPortableTransform() argument 53 const std::vector<PointIndex> &point_ids) { in TransformAttributeToOriginalFormat() argument 97 const std::vector<PointIndex> &point_ids, DecoderBuffer *in_buffer) { in DecodeValues() argument 98 const int32_t num_values = static_cast<uint32_t>(point_ids.size()); in DecodeValues()
|
H A D | sequential_attribute_encoder.cc | 41 const std::vector<PointIndex> &point_ids) { in TransformAttributeToPortableFormat() argument 47 const std::vector<PointIndex> &point_ids, EncoderBuffer *out_buffer) { in EncodePortableAttribute() argument 49 if (!EncodeValues(point_ids, out_buffer)) in EncodePortableAttribute() 61 const std::vector<PointIndex> &point_ids, EncoderBuffer *out_buffer) { in EncodeValues() argument 66 for (uint32_t i = 0; i < point_ids.size(); ++i) { in EncodeValues() 67 const AttributeValueIndex entry_id = attribute_->mapped_index(point_ids[i]); in EncodeValues()
|
H A D | sequential_integer_attribute_decoder.cc | 33 const std::vector<PointIndex> &point_ids) { in TransformAttributeToOriginalFormat() argument 39 return StoreValues(static_cast<uint32_t>(point_ids.size())); in TransformAttributeToOriginalFormat() 43 const std::vector<PointIndex> &point_ids, DecoderBuffer *in_buffer) { in DecodeValues() argument 60 if (!DecodeIntegerValues(point_ids, in_buffer)) in DecodeValues() 64 const int32_t num_values = static_cast<uint32_t>(point_ids.size()); in DecodeValues() 87 const std::vector<PointIndex> &point_ids, DecoderBuffer *in_buffer) { in DecodeIntegerValues() argument 91 const size_t num_entries = point_ids.size(); in DecodeIntegerValues() 147 static_cast<int>(num_values), num_components, point_ids.data())) { in DecodeIntegerValues()
|
H A D | sequential_attribute_decoder.h | 39 virtual bool DecodePortableAttribute(const std::vector<PointIndex> &point_ids, 45 const std::vector<PointIndex> &point_ids, DecoderBuffer *in_buffer); 50 const std::vector<PointIndex> &point_ids); 67 virtual bool DecodeValues(const std::vector<PointIndex> &point_ids,
|
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/apps/cloud_composer/src/point_selectors/ |
H A D | selection_event.cpp | 52 …vtkIdTypeArray* point_ids = vtkIdTypeArray::SafeDownCast(points_in_item->GetPointData ()->GetArra… in findIndicesInItem() local 54 indices->indices.resize (point_ids->GetNumberOfTuples ()); in findIndicesInItem() 55 for(vtkIdType i =0; i < point_ids->GetNumberOfTuples (); ++i) in findIndicesInItem() 58 indices->indices[i] = point_ids->GetValue (i); in findIndicesInItem()
|
/dports/archivers/draco/draco-1.4.3/src/draco/attributes/ |
H A D | attribute_octahedron_transform.cc | 42 const PointAttribute &attribute, const std::vector<PointIndex> &point_ids, in TransformAttribute() argument 44 return GeneratePortableAttribute(attribute, point_ids, in TransformAttribute() 105 const PointAttribute &attribute, const std::vector<PointIndex> &point_ids, in GeneratePortableAttribute() argument 119 if (!point_ids.empty()) { in GeneratePortableAttribute() 120 for (uint32_t i = 0; i < point_ids.size(); ++i) { in GeneratePortableAttribute() 122 attribute.mapped_index(point_ids[i]); in GeneratePortableAttribute()
|
/dports/multimedia/assimp/assimp-5.1.3/contrib/draco/src/draco/attributes/ |
H A D | attribute_octahedron_transform.cc | 42 const PointAttribute &attribute, const std::vector<PointIndex> &point_ids, in TransformAttribute() argument 44 return GeneratePortableAttribute(attribute, point_ids, in TransformAttribute() 105 const PointAttribute &attribute, const std::vector<PointIndex> &point_ids, in GeneratePortableAttribute() argument 119 if (!point_ids.empty()) { in GeneratePortableAttribute() 120 for (uint32_t i = 0; i < point_ids.size(); ++i) { in GeneratePortableAttribute() 122 attribute.mapped_index(point_ids[i]); in GeneratePortableAttribute()
|
/dports/math/vtk9/VTK-9.1.0/Filters/Geometry/Testing/Python/ |
H A D | dataSetSurfaceFilter2.py | 29 self.point_ids=vtk.vtkIdTypeArray() 30 self.point_ids.SetName('point-ids') 37 self.point_ids.InsertNextValue(i+100) 60 self.ug.GetPointData().AddArray(self.point_ids) 79 self.point_ids.GetNumberOfTuples()) 81 self.point_ids.GetRange())
|
/dports/misc/vxl/vxl-3.3.2/contrib/rpl/rgtl/ |
H A D | rgtl_object_array_triangles_3d.cxx | 43 int const point_ids[3]) in rgtl_oat3_geometry() 45 self->get_point(point_ids[0], this->verts[0]); in rgtl_oat3_geometry() 46 self->get_point(point_ids[1], this->verts[1]); in rgtl_oat3_geometry() 47 self->get_point(point_ids[2], this->verts[2]); in rgtl_oat3_geometry() 277 this->triangles_[id].copy_out(point_ids); in get_triangle() 284 this->triangles_[id].copy_in(point_ids); in set_triangle() 290 triangle_type t(point_ids); in add_triangle() 665 int point_ids[3]; in compute_normals() local 666 self->get_triangle(index, point_ids); in compute_normals() 669 rgtl_oat3_geometry g(self, point_ids); in compute_normals() [all …]
|
/dports/graphics/blender/blender-2.91.0/extern/draco/dracoenc/src/draco/attributes/ |
H A D | attribute_octahedron_transform.cc | 55 const PointAttribute &attribute, const std::vector<PointIndex> &point_ids, in GeneratePortableAttribute() argument 60 const int num_entries = static_cast<int>(point_ids.size()); in GeneratePortableAttribute() 73 for (uint32_t i = 0; i < point_ids.size(); ++i) { in GeneratePortableAttribute() 74 const AttributeValueIndex att_val_id = attribute.mapped_index(point_ids[i]); in GeneratePortableAttribute()
|
/dports/devel/py-vsts/vsts-0.1.25/vsts/test/v4_1/models/ |
H A D | linked_work_items_query.py | 38 …def __init__(self, automated_test_names=None, plan_id=None, point_ids=None, suite_ids=None, test_c… argument 42 self.point_ids = point_ids
|