10#ifdef TTK_ENABLE_OPENMP
11#pragma omp parallel for num_threads(this->threadNumber_)
19#ifdef TTK_ENABLE_OPENMP
20#pragma omp parallel for num_threads(this->threadNumber_)
23 auto &p = vertexCoords_[i];
33 }
else if(p[0] == 0) {
51#ifdef TTK_ENABLE_OPENMP
52#pragma omp parallel for num_threads(this->threadNumber_)
55 auto &p = vertexCoords_[i];
58 if(0 < p[0] and p[0] < this->
nbvoxels_[0]) {
59 if(0 < p[1] and p[1] < this->
nbvoxels_[1]) {
60 if(0 < p[2] and p[2] < this->
nbvoxels_[2])
66 }
else if(p[1] == 0) {
67 if(0 < p[2] and p[2] < this->
nbvoxels_[2])
74 if(0 < p[2] and p[2] < this->
nbvoxels_[2])
81 }
else if(p[0] == 0) {
82 if(0 < p[1] and p[1] < this->
nbvoxels_[1]) {
83 if(0 < p[2] and p[2] < this->
nbvoxels_[2])
89 }
else if(p[1] == 0) {
90 if(0 < p[2] and p[2] < this->
nbvoxels_[2])
97 if(0 < p[2] and p[2] < this->
nbvoxels_[2])
107 if(0 < p[1] and p[1] < this->
nbvoxels_[1]) {
108 if(0 < p[2] and p[2] < this->
nbvoxels_[2])
114 }
else if(p[1] == 0) {
115 if(0 < p[2] and p[2] < this->
nbvoxels_[2])
123 if(0 < p[2] and p[2] < this->
nbvoxels_[2])
144#ifdef TTK_ENABLE_OPENMP
145#pragma omp parallel for num_threads(this->threadNumber_)
148 auto &p = edgeCoords_[i];
151 this->edgeToPosition(i, 0, p.data());
152 if(p[1] > 0 and p[1] < this->
nbvoxels_[1]) {
153 if(p[2] > 0 and p[2] < this->
nbvoxels_[2])
159 }
else if(p[1] == 0) {
160 if(p[2] > 0 and p[2] < this->
nbvoxels_[2])
167 if(p[2] > 0 and p[2] < this->
nbvoxels_[2])
176 this->edgeToPosition(i, 1, p.data());
177 if(p[0] > 0 and p[0] < this->
nbvoxels_[0]) {
178 if(p[2] > 0 and p[2] < this->
nbvoxels_[2])
184 }
else if(p[0] == 0) {
185 if(p[2] > 0 and p[2] < this->
nbvoxels_[2])
192 if(p[2] > 0 and p[2] < this->
nbvoxels_[2])
201 this->edgeToPosition(i, 2, p.data());
202 if(p[0] > 0 and p[0] < this->
nbvoxels_[0]) {
203 if(p[1] > 0 and p[1] < this->
nbvoxels_[1])
209 }
else if(p[0] == 0) {
210 if(p[1] > 0 and p[1] < this->
nbvoxels_[1])
217 if(p[1] > 0 and p[1] < this->
nbvoxels_[1])
226 this->edgeToPosition(i, 3, p.data());
227 if(p[2] > 0 and p[2] < this->
nbvoxels_[2])
235 this->edgeToPosition(i, 4, p.data());
236 if(p[0] > 0 and p[0] < this->
nbvoxels_[0])
244 this->edgeToPosition(i, 5, p.data());
245 if(p[1] > 0 and p[1] < this->
nbvoxels_[1])
253 this->edgeToPosition(i, 6, p.data());
259#ifdef TTK_ENABLE_OPENMP
260#pragma omp parallel for num_threads(this->threadNumber_)
263 auto &p = edgeCoords_[i];
266 this->edgeToPosition2d(i, 0, p.data());
275 this->edgeToPosition2d(i, 1, p.data());
284 this->edgeToPosition2d(i, 2, p.data());
291#ifdef TTK_ENABLE_OPENMP
292#pragma omp parallel for num_threads(this->threadNumber_)
308#ifdef TTK_ENABLE_OPENMP
309#pragma omp parallel for num_threads(this->threadNumber_)
334#ifdef TTK_ENABLE_OPENMP
335#pragma omp parallel for num_threads(this->threadNumber_)