Lines Matching full:total
76 … int total = _cloud.depth() == CV_32F ? filterNanCopy<float>(cloud) : filterNanCopy<double>(cloud); in SetCloud() local
79 vertices->Allocate(vertices->EstimateSize(1, total)); in SetCloud()
80 vertices->InsertNextCell(total); in SetCloud()
81 for(int i = 0; i < total; ++i) in SetCloud()
84 return total; in SetCloud()
89 int total = SetCloud(_cloud); in SetColorCloud() local
92 return total; in SetColorCloud()
101 filterNanColorsCopy<float>(colors, cloud, total); in SetColorCloud()
103 filterNanColorsCopy<double>(colors, cloud, total); in SetColorCloud()
105 return total; in SetColorCloud()
110 int total = SetColorCloud(_cloud, _colors); in SetColorCloudNormals() local
113 return total; in SetColorCloudNormals()
123 filterNanNormalsCopy<float, float>(n, c, total); in SetColorCloudNormals()
125 filterNanNormalsCopy<float, double>(n, c, total); in SetColorCloudNormals()
127 filterNanNormalsCopy<double, float>(n, c, total); in SetColorCloudNormals()
129 filterNanNormalsCopy<double, double>(n, c, total); in SetColorCloudNormals()
133 return total; in SetColorCloudNormals()
138 int total = SetColorCloudNormals(_cloud, _colors, _normals); in SetColorCloudNormalsTCoords() local
141 return total; in SetColorCloudNormalsTCoords()
150 filterNanTCoordsCopy<float, float>(tc, cl, total); in SetColorCloudNormalsTCoords()
152 filterNanTCoordsCopy<float, double>(tc, cl, total); in SetColorCloudNormalsTCoords()
154 filterNanTCoordsCopy<double, float>(tc, cl, total); in SetColorCloudNormalsTCoords()
156 filterNanTCoordsCopy<double, double>(tc, cl, total); in SetColorCloudNormalsTCoords()
160 return total; in SetColorCloudNormalsTCoords()
188 points->Allocate((vtkIdType)cloud.total()); in filterNanCopy()
189 points->SetNumberOfPoints((vtkIdType)cloud.total()); in filterNanCopy()
192 int total = 0; in filterNanCopy() local
200 points->SetPoint(total++, srow); in filterNanCopy()
202 points->SetNumberOfPoints(total); in filterNanCopy()
204 return total; in filterNanCopy()
208 …v::viz::vtkCloudMatSource::filterNanColorsCopy(const Mat& cloud_colors, const Mat& mask, int total) in filterNanColorsCopy() argument
210 Vec3b* array = new Vec3b[total]; in filterNanColorsCopy()
237 scalars->SetNumberOfTuples(total); in filterNanColorsCopy()
238 scalars->SetArray(array->val, total * 3, 0); in filterNanColorsCopy()
242 …:viz::vtkCloudMatSource::filterNanNormalsCopy(const Mat& cloud_normals, const Mat& mask, int total) in filterNanNormalsCopy() argument
247 normals->SetNumberOfTuples(total); in filterNanNormalsCopy()
267 …d cv::viz::vtkCloudMatSource::filterNanTCoordsCopy(const Mat& _tcoords, const Mat& mask, int total) in filterNanTCoordsCopy() argument
273 tcoords->SetNumberOfTuples(total); in filterNanTCoordsCopy()