Home | History | Annotate | Download | only in vtk

Lines Matching refs:total

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