2 * This program is free software: you can redistribute it and/or modify
3 * it under the terms of the GNU Lesser General Public License as
4 * published by the Free Software Foundation, either version 3 of the
5 * License, or (at your option) any later version.
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
12 * You should have received a copy of the GNU General Public License
13 * along with this program. If not, see <http://www.gnu.org/licenses/>.
18 * @file Board3DTo2DFactory.ih
19 * @author Aline Martin <aline.martin@insa-lyon.fr>
20 * @date mardi 2 juillet 2013
24 * Implementation of inline methods defined in Board3DTo2DFactory.h
26 * This file is part of the DGtal library.
30 #include "DGtal/helpers/StdDefs.h"
31 #include "DGtal/images/ImageHelper.h"
34 ///////////////////////////////////////////////////////////////////////////////
35 // Implementation of inline methods //
38 ///////////////////////////////////////////////////////////////////////////////
39 // Implementation of inline functions and external operators //
42 template < typename Space, typename KSpace>
44 void DGtal::Board3DTo2DFactory<Space,KSpace>::draw( Board3DTo2D<Space, KSpace> & board,
45 const DGtal::CameraPosition & cp )
47 board.setCameraPosition(cp.eyex, cp.eyey, cp.eyez);
50 template < typename Space, typename KSpace>
52 void DGtal::Board3DTo2DFactory<Space,KSpace>::draw( Board3DTo2D<Space, KSpace> & board,
53 const DGtal::CameraDirection & cd )
55 board.setCameraDirection(cd.dirx, cd.diry, cd.dirz);
58 template < typename Space, typename KSpace>
60 void DGtal::Board3DTo2DFactory<Space,KSpace>::draw( Board3DTo2D<Space, KSpace> & board, const DGtal::CameraUpVector & cuv )
63 board.setCameraUpVector(cuv.upx, cuv.upy, cuv.upz);
66 template < typename Space, typename KSpace>
68 void DGtal::Board3DTo2DFactory<Space,KSpace>::draw( Board3DTo2D<Space, KSpace> & board,
69 const DGtal::CameraZNearFar & cz )
71 board.setNearFar(cz.ZNear, cz.ZFar);
74 //----------------------------------------------------------------------------------------------
75 // heritage of methods
78 // SphericalAccumulator
80 * Display an spherical accumulator in 3D. Bin values are mapped
81 * using a default HueShadeColorMap.
83 * @param board current board
84 * @param accumulator the accumulator to board
85 * @param shift translate vector for board purposes (default:
87 * @param radius scale factor for the unit sphere radius (default:1)
88 * @tparam TVector a vector model
90 template <typename Space, typename KSpace>
91 template <typename TVector>
94 DGtal::Board3DTo2DFactory<Space,KSpace>::draw( Board3DTo2D<Space, KSpace> & board, const DGtal::SphericalAccumulator<TVector> & accumulator,
95 const typename DGtal::SphericalAccumulator<TVector>::RealVector & shift,
98 DGtal::Display3DFactory<Space,KSpace>::draw ( board, accumulator, shift, radius);
101 // SphericalAccumulator
104 template <typename Space, typename KSpace>
105 template <typename TPoint>
108 DGtal::Board3DTo2DFactory<Space,KSpace>::drawAsFaces( Board3DTo2D<Space, KSpace> & board, const DGtal::Mesh<TPoint> & aMesh )
110 DGtal::Display3DFactory<Space,KSpace>::drawAsFaces( board, aMesh);
113 template <typename Space, typename KSpace>
114 template <typename TPoint>
117 DGtal::Board3DTo2DFactory<Space,KSpace>::draw( Board3DTo2D<Space, KSpace> & board, const DGtal::Mesh<TPoint> & aMesh )
119 DGtal::Display3DFactory<Space,KSpace>::draw (board, aMesh);
124 // StandardDSS6Computer
126 * Default DGtal::Board3DTo2DFactory<Space,KSpace>::drawing style object.
127 * @return the dyn. alloc. default style for this object.
129 template <typename Space, typename KSpace>
130 template <typename TIterator, typename TInteger, int connectivity>
132 DGtal::DrawableWithBoard3DTo2D *
133 DGtal::Board3DTo2DFactory<Space,KSpace>::defaultStyle( std::string str, const DGtal::StandardDSS6Computer<TIterator,TInteger,connectivity> & arithm )
135 return DGtal::Display3DFactory<Space,KSpace>::defaultStyle(str, arithm);
138 template <typename Space, typename KSpace>
139 template <typename TIterator, typename TInteger, int connectivity>
142 DGtal::Board3DTo2DFactory<Space,KSpace>::drawAsBalls( Board3DTo2D<Space, KSpace> & board, const DGtal::StandardDSS6Computer<TIterator,TInteger,connectivity> & arithm )
144 DGtal::Display3DFactory<Space,KSpace>::drawAsBalls(board, arithm);
146 template <typename Space, typename KSpace>
147 template <typename TIterator, typename TInteger, int connectivity>
150 DGtal::Board3DTo2DFactory<Space,KSpace>::drawAsBoundingBox( Board3DTo2D<Space, KSpace> & board, const DGtal::StandardDSS6Computer<TIterator,TInteger,connectivity> & arithm )
152 DGtal::Display3DFactory<Space,KSpace>::drawAsBoundingBox(board, arithm);
154 template <typename Space, typename KSpace>
155 template <typename TIterator, typename TInteger, int connectivity>
158 DGtal::Board3DTo2DFactory<Space,KSpace>::draw( Board3DTo2D<Space, KSpace> & board, const DGtal::StandardDSS6Computer<TIterator,TInteger,connectivity> & arithm )
160 DGtal::Display3DFactory<Space,KSpace>::draw(board , arithm);
163 // StandardDSS6Computer
168 // Naive3DDSSComputer
170 * Default DGtal::Board3DTo2DFactory<Space,KSpace>::drawing style object.
171 * @return the dyn. alloc. default style for this object.
173 template <typename Space, typename KSpace>
174 template <typename TIterator, typename TInteger, int connectivity>
176 DGtal::DrawableWithBoard3DTo2D *
177 DGtal::Board3DTo2DFactory<Space,KSpace>::defaultStyle( std::string str, const DGtal::Naive3DDSSComputer<TIterator,TInteger,connectivity> & arithm )
179 return DGtal::Display3DFactory<Space,KSpace>::defaultStyle(str, arithm);
182 template <typename Space, typename KSpace>
183 template <typename TIterator, typename TInteger, int connectivity>
186 DGtal::Board3DTo2DFactory<Space,KSpace>::drawAsBalls( Board3DTo2D<Space, KSpace> & board, const DGtal::Naive3DDSSComputer<TIterator,TInteger,connectivity> & arithm )
188 DGtal::Display3DFactory<Space,KSpace>::drawAsBalls(board, arithm);
190 template <typename Space, typename KSpace>
191 template <typename TIterator, typename TInteger, int connectivity>
194 DGtal::Board3DTo2DFactory<Space,KSpace>::drawAsBoundingBox( Board3DTo2D<Space, KSpace> & board, const DGtal::Naive3DDSSComputer<TIterator,TInteger,connectivity> & arithm )
196 DGtal::Display3DFactory<Space,KSpace>::drawAsBoundingBox(board, arithm);
198 template <typename Space, typename KSpace>
199 template <typename TIterator, typename TInteger, int connectivity>
202 DGtal::Board3DTo2DFactory<Space,KSpace>::draw( Board3DTo2D<Space, KSpace> & board, const DGtal::Naive3DDSSComputer<TIterator,TInteger,connectivity> & arithm )
204 DGtal::Display3DFactory<Space,KSpace>::draw(board , arithm);
207 // Naive3DDSSComputer
210 // DigitalSetBySTLSet
212 * Default DGtal::Board3DTo2DFactory<Space,KSpace>::drawing style object.
213 * @return the dyn. alloc. default style for this object.
215 template <typename Space, typename KSpace>
216 template<typename Domain, typename Compare>
218 DGtal::DrawableWithBoard3DTo2D *
219 DGtal::Board3DTo2DFactory<Space,KSpace>::defaultStyle( std::string str, const DGtal::DigitalSetBySTLSet<Domain, Compare> & aSet )
221 return DGtal::Display3DFactory<Space,KSpace>::defaultStyle(str, aSet);
224 template <typename Space, typename KSpace>
225 template<typename Domain, typename Compare>
228 DGtal::Board3DTo2DFactory<Space,KSpace>::drawAsPavingTransparent( Board3DTo2D<Space, KSpace> & board, const DGtal::DigitalSetBySTLSet<Domain, Compare> & aSet )
230 DGtal::Display3DFactory<Space,KSpace>::drawAsPavingTransparent(board, aSet);
233 template <typename Space, typename KSpace>
234 template<typename Domain, typename Compare>
237 DGtal::Board3DTo2DFactory<Space,KSpace>::drawAsPaving( Board3DTo2D<Space, KSpace> & board, const DGtal::DigitalSetBySTLSet<Domain, Compare> & aSet )
239 DGtal::Display3DFactory<Space,KSpace>::drawAsPaving( board, aSet);
242 template <typename Space, typename KSpace>
243 template<typename Domain, typename Compare>
246 DGtal::Board3DTo2DFactory<Space,KSpace>::drawAsGrid( Board3DTo2D<Space, KSpace> & board, const DGtal::DigitalSetBySTLSet<Domain, Compare> & aSet )
248 DGtal::Display3DFactory<Space,KSpace>::drawAsGrid(board, aSet);
251 template <typename Space, typename KSpace>
252 template<typename Domain, typename Compare>
255 DGtal::Board3DTo2DFactory<Space,KSpace>::draw( Board3DTo2D<Space, KSpace> & board, const DGtal::DigitalSetBySTLSet<Domain, Compare> & aSet )
257 DGtal::Display3DFactory<Space,KSpace>::draw( board, aSet);
260 // DigitalSetBySTLSet
263 // DigitalSetByAssociativeContainer
265 * Default DGtal::Board3DTo2DFactory<Space,KSpace>::drawing style object.
266 * @return the dyn. alloc. default style for this object.
268 template <typename Space, typename KSpace>
269 template<typename Domain, typename Container>
271 DGtal::DrawableWithBoard3DTo2D *
272 DGtal::Board3DTo2DFactory<Space,KSpace>::defaultStyle( std::string str, const DGtal::DigitalSetByAssociativeContainer<Domain, Container> & aSet )
274 return DGtal::Display3DFactory<Space,KSpace>::defaultStyle(str, aSet);
277 template <typename Space, typename KSpace>
278 template<typename Domain, typename Container>
281 DGtal::Board3DTo2DFactory<Space,KSpace>::drawAsPavingTransparent( Board3DTo2D<Space, KSpace> & board, const DGtal::DigitalSetByAssociativeContainer<Domain, Container> & aSet )
283 DGtal::Display3DFactory<Space,KSpace>::drawAsPavingTransparent(board, aSet);
286 template <typename Space, typename KSpace>
287 template<typename Domain, typename Container>
290 DGtal::Board3DTo2DFactory<Space,KSpace>::drawAsPaving( Board3DTo2D<Space, KSpace> & board, const DGtal::DigitalSetByAssociativeContainer<Domain, Container> & aSet )
292 DGtal::Display3DFactory<Space,KSpace>::drawAsPaving( board, aSet);
295 template <typename Space, typename KSpace>
296 template<typename Domain, typename Container>
299 DGtal::Board3DTo2DFactory<Space,KSpace>::drawAsGrid( Board3DTo2D<Space, KSpace> & board, const DGtal::DigitalSetByAssociativeContainer<Domain, Container> & aSet )
301 DGtal::Display3DFactory<Space,KSpace>::drawAsGrid(board, aSet);
304 template <typename Space, typename KSpace>
305 template<typename Domain, typename Container>
308 DGtal::Board3DTo2DFactory<Space,KSpace>::draw( Board3DTo2D<Space, KSpace> & board, const DGtal::DigitalSetByAssociativeContainer<Domain, Container> & aSet )
310 DGtal::Display3DFactory<Space,KSpace>::draw( board, aSet);
313 // DigitalSetByAssociativeContainer
317 // DigitalSetBySTLVector
319 * Default DGtal::Board3DTo2DFactory<Space,KSpace>::drawing style object.
320 * @return the dyn. alloc. default style for this object.
322 template <typename Space, typename KSpace>
323 template<typename Domain>
325 DGtal::DrawableWithBoard3DTo2D *
326 DGtal::Board3DTo2DFactory<Space,KSpace>::defaultStyle( std::string str, const DGtal::DigitalSetBySTLVector<Domain> & aSet )
328 return DGtal::Display3DFactory<Space,KSpace>::defaultStyle(str, aSet);
331 template <typename Space, typename KSpace>
332 template<typename Domain>
335 DGtal::Board3DTo2DFactory<Space,KSpace>::drawAsPavingTransparent( Board3DTo2D<Space, KSpace> & board, const DGtal::DigitalSetBySTLVector<Domain> & aSet )
337 DGtal::Display3DFactory<Space,KSpace>::drawAsPavingTransparent( board, aSet);
340 template <typename Space, typename KSpace>
341 template<typename Domain>
344 DGtal::Board3DTo2DFactory<Space,KSpace>::drawAsPaving( Board3DTo2D<Space, KSpace> & board, const DGtal::DigitalSetBySTLVector<Domain> & aSet )
346 DGtal::Display3DFactory<Space,KSpace>::drawAsPaving( board, aSet);
349 template <typename Space, typename KSpace>
350 template<typename Domain>
353 DGtal::Board3DTo2DFactory<Space,KSpace>::drawAsGrid( Board3DTo2D<Space, KSpace> & board, const DGtal::DigitalSetBySTLVector<Domain> & aSet )
355 DGtal::Display3DFactory<Space,KSpace>::drawAsGrid(board, aSet);
358 template <typename Space, typename KSpace>
359 template<typename Domain>
362 DGtal::Board3DTo2DFactory<Space,KSpace>::draw( Board3DTo2D<Space, KSpace> & board, const DGtal::DigitalSetBySTLVector<Domain> & aSet )
364 DGtal::Display3DFactory<Space,KSpace>::draw( board, aSet);
367 // DigitalSetBySTLVector
372 * Default DGtal::Board3DTo2DFactory<Space,KSpace>::drawing style object.
373 * @return the dyn. alloc. default style for this object.
375 template <typename Space, typename KSpace>
376 template<typename TSpace>
378 DGtal::DrawableWithBoard3DTo2D *
379 DGtal::Board3DTo2DFactory<Space,KSpace>::defaultStyle( std::string str, const DGtal::HyperRectDomain<TSpace> & aDomain )
381 return DGtal::Display3DFactory<Space,KSpace>::defaultStyle( str, aDomain);
384 template <typename Space, typename KSpace>
385 template<typename TSpace>
388 DGtal::Board3DTo2DFactory<Space,KSpace>::drawAsBoundingBox( Board3DTo2D<Space, KSpace> & board, const DGtal::HyperRectDomain<TSpace> & aDomain )
390 DGtal::Display3DFactory<Space,KSpace>::drawAsBoundingBox( board, aDomain);
393 template <typename Space, typename KSpace>
394 template<typename TSpace>
397 DGtal::Board3DTo2DFactory<Space,KSpace>::drawAsGrid( Board3DTo2D<Space, KSpace> & board, const DGtal::HyperRectDomain<TSpace> & aDomain )
399 DGtal::Display3DFactory<Space,KSpace>::drawAsGrid( board, aDomain);
402 template <typename Space, typename KSpace>
403 template<typename TSpace>
406 DGtal::Board3DTo2DFactory<Space,KSpace>::drawAsPavingBalls( Board3DTo2D<Space, KSpace> & board, const DGtal::HyperRectDomain<TSpace> & aDomain )
408 DGtal::Display3DFactory<Space,KSpace>::drawAsPavingBalls( board, aDomain);
411 template <typename Space, typename KSpace>
412 template<typename TSpace>
415 DGtal::Board3DTo2DFactory<Space,KSpace>::drawAsPaving( Board3DTo2D<Space, KSpace> & board, const DGtal::HyperRectDomain<TSpace> & aDomain )
417 DGtal::Display3DFactory<Space,KSpace>::drawAsPaving( board, aDomain);
421 template <typename Space, typename KSpace>
422 template<typename TSpace>
425 DGtal::Board3DTo2DFactory<Space,KSpace>::draw( Board3DTo2D<Space, KSpace> & board, const DGtal::HyperRectDomain<TSpace> & aDomain )
427 DGtal::Display3DFactory<Space,KSpace>::draw( board, aDomain);
435 template <typename Space, typename KSpace>
437 DGtal::DrawableWithBoard3DTo2D *
438 DGtal::Board3DTo2DFactory<Space,KSpace>::defaultStyle( std::string str, const typename KSpace::Cell & aCell )
440 return DGtal::Display3DFactory<Space,KSpace>::defaultStyle(str, aCell);
443 template <typename Space, typename KSpace>
446 DGtal::Board3DTo2DFactory<Space,KSpace>::draw( Board3DTo2D<Space, KSpace> & board, const typename KSpace::Cell & aCell )
448 DGtal::Display3DFactory<Space,KSpace>::draw( board, aCell);
455 template <typename Space, typename KSpace>
456 template <typename TDigitalTopology, typename TDigitalSet>
458 DGtal::DrawableWithBoard3DTo2D *
459 DGtal::Board3DTo2DFactory<Space,KSpace>::defaultStyle( std::string str, const DGtal::Object<TDigitalTopology, TDigitalSet> & anObject )
461 return DGtal::Display3DFactory<Space,KSpace>::defaultStyle( str, anObject);
464 template <typename Space, typename KSpace>
465 template <typename TDigitalTopology, typename TDigitalSet>
468 DGtal::Board3DTo2DFactory<Space,KSpace>::drawWithAdjacencies( Board3DTo2D<Space, KSpace> & board, const DGtal::Object<TDigitalTopology, TDigitalSet> & anObject )
470 DGtal::Display3DFactory<Space,KSpace>::drawWithAdjacencies( board, anObject);
472 template <typename Space, typename KSpace>
473 template <typename TDigitalTopology, typename TDigitalSet>
476 DGtal::Board3DTo2DFactory<Space,KSpace>::draw( Board3DTo2D<Space, KSpace> & board, const DGtal::Object<TDigitalTopology, TDigitalSet> & anObject )
478 DGtal::Display3DFactory<Space,KSpace>::draw( board, anObject);
486 * Default DGtal::Board3DTo2DFactory<Space,KSpace>::drawing style object.
487 * @return the dyn. alloc. default style for this object.
489 template <typename Space, typename KSpace>
490 template< DGtal::Dimension dim, typename TComponent, typename TContainer>
492 DGtal::DrawableWithBoard3DTo2D *
493 DGtal::Board3DTo2DFactory<Space,KSpace>::defaultStyle( std::string str, const DGtal::PointVector<dim, TComponent, TContainer> & aPoint )
495 return DGtal::Display3DFactory<Space,KSpace>::defaultStyle( str, aPoint);
498 template <typename Space, typename KSpace>
499 template< DGtal::Dimension dim, typename TComponent, typename TContainer>
502 DGtal::Board3DTo2DFactory<Space,KSpace>::drawAsGrid( Board3DTo2D<Space, KSpace> & board, const DGtal::PointVector<dim, TComponent, TContainer> & aPoint )
504 DGtal::Display3DFactory<Space,KSpace>::drawAsGrid( board, aPoint);
507 template <typename Space, typename KSpace>
508 template< DGtal::Dimension dim, typename TComponent, typename TContainer>
511 DGtal::Board3DTo2DFactory<Space,KSpace>::drawAsPaving( Board3DTo2D<Space, KSpace> & board, const DGtal::PointVector<dim, TComponent, TContainer> & aPoint )
513 DGtal::Display3DFactory<Space,KSpace>::drawAsPaving( board, aPoint);
516 template <typename Space, typename KSpace>
517 template< DGtal::Dimension dim, typename TComponent, typename TContainer>
520 DGtal::Board3DTo2DFactory<Space,KSpace>::drawAsPavingWired( Board3DTo2D<Space, KSpace> & board, const DGtal::PointVector<dim, TComponent, TContainer> & aPoint )
522 DGtal::Display3DFactory<Space,KSpace>::drawAsPavingWired( board, aPoint);
525 template <typename Space, typename KSpace>
526 template< DGtal::Dimension dim, typename TComponent, typename TContainer>
529 DGtal::Board3DTo2DFactory<Space,KSpace>::draw( Board3DTo2D<Space, KSpace> & board, const DGtal::PointVector<dim, TComponent, TContainer> & aPoint )
531 DGtal::Display3DFactory<Space,KSpace>::draw( board, aPoint);
534 template <typename Space, typename KSpace>
535 template< DGtal::Dimension dim, typename TComponent1, typename TComponent2, typename TContainer1, typename TContainer2>
538 DGtal::Board3DTo2DFactory<Space,KSpace>::draw( Board3DTo2D<Space, KSpace> & board, const DGtal::PointVector<dim, TComponent1, TContainer1> & aPoint, const DGtal::PointVector<dim, TComponent2, TContainer2> & aPoint2 )
540 DGtal::Display3DFactory<Space,KSpace>::draw( board, aPoint, aPoint2);
546 // SignedKhalimskyCell
548 * Default DGtal::Board3DTo2DFactory<Space,KSpace>::drawing style object.
549 * @return the dyn. alloc. default style for this object.
551 template <typename Space, typename KSpace>
553 DGtal::DrawableWithBoard3DTo2D *
554 DGtal::Board3DTo2DFactory<Space,KSpace>::defaultStyle( std::string str, const typename KSpace::SCell & aSCell )
556 return DGtal::Display3DFactory<Space,KSpace>::defaultStyle( str, aSCell);
559 template <typename Space, typename KSpace>
562 DGtal::Board3DTo2DFactory<Space,KSpace>::draw( Board3DTo2D<Space, KSpace> & board, const typename KSpace::SCell &aSCell )
564 DGtal::Display3DFactory<Space,KSpace>::draw( board, aSCell);
567 // SignedKhalimskyCell
570 template <typename Space, typename KSpace>
573 DGtal::Board3DTo2DFactory<Space,KSpace>::draw( Board3DTo2D<Space, KSpace> & board, const DGtal::GridCurve<KSpace> & aGrid )
575 DGtal::Display3DFactory<Space,KSpace>::draw( board, aGrid);
581 template <typename Space, typename KSpace>
582 template < typename TIterator, typename TSCell>
585 DGtal::Board3DTo2DFactory<Space,KSpace>::draw( DGtal::Board3DTo2D<Space, KSpace> & board,
586 const DGtal::ConstRangeAdapter<TIterator, DGtal::functors::Identity, TSCell> & aRangeAdapter )
588 DGtal::Display3DFactory<Space,KSpace>::draw( board, aRangeAdapter);
594 template <typename Space, typename KSpace>
595 template <typename TIterator>
598 DGtal::Board3DTo2DFactory<Space,KSpace>::draw( Board3DTo2D<Space, KSpace> & board,
599 const DGtal::ConstRangeAdapter<TIterator, functors::SCellToPoint<KSpace>, typename KSpace::Point> & aRangeAdapter )
601 DGtal::Display3DFactory<Space,KSpace>::draw( board, aRangeAdapter);
607 template <typename Space, typename KSpace>
608 template <typename TIterator>
611 DGtal::Board3DTo2DFactory<Space,KSpace>::draw( Board3DTo2D<Space, KSpace> & board,
612 const DGtal::ConstRangeAdapter<TIterator, CanonicSCellEmbedder<KSpace>, typename KSpace::Space::RealPoint> & aRangeAdapter )
614 DGtal::Display3DFactory<Space,KSpace>::draw( board, aRangeAdapter);
620 template <typename Space, typename KSpace>
621 template <typename TIterator>
624 DGtal::Board3DTo2DFactory<Space,KSpace>::draw( Board3DTo2D<Space, KSpace> & board,
625 const DGtal::ConstRangeAdapter<TIterator, functors::SCellToArrow<KSpace>, std::pair<typename KSpace::Point, typename KSpace::Vector > > & aRangeAdapter )
627 DGtal::Display3DFactory<Space,KSpace>::draw( board, aRangeAdapter);
633 template <typename Space, typename KSpace>
634 template <typename TIterator>
637 DGtal::Board3DTo2DFactory<Space,KSpace>::draw( Board3DTo2D<Space, KSpace> & board,
638 const DGtal::ConstRangeAdapter<TIterator, functors::SCellToInnerPoint<KSpace>, typename KSpace::Point> & aRangeAdapter )
640 DGtal::Display3DFactory<Space,KSpace>::draw( board, aRangeAdapter);
646 template< typename Space, typename KSpace>
647 template <typename TIterator>
650 DGtal::Board3DTo2DFactory<Space,KSpace>::draw( Board3DTo2D<Space, KSpace> & board,
651 const DGtal::ConstRangeAdapter<TIterator, functors::SCellToOuterPoint<KSpace>, typename KSpace::Point> & aRangeAdapter )
653 DGtal::Display3DFactory<Space,KSpace>::draw( board, aRangeAdapter);
658 // IncidentPointsRange
659 template< typename Space, typename KSpace>
660 template <typename TIterator>
663 DGtal::Board3DTo2DFactory<Space,KSpace>::draw( Board3DTo2D<Space, KSpace> & board,
664 const DGtal::ConstRangeAdapter<TIterator, functors::SCellToIncidentPoints<KSpace>,std::pair<typename KSpace::Point, typename KSpace::Point > > & aRangeAdapter )
666 DGtal::Display3DFactory<Space,KSpace>::draw( board, aRangeAdapter);
669 // IncidentPointsRange
672 template< typename Space, typename KSpace>
675 DGtal::Board3DTo2DFactory<Space,KSpace>::draw( Board3DTo2D<Space, KSpace> & board, const DGtal::SetMode3D & aMode)
677 DGtal::Display3DFactory<Space,KSpace>::draw( board, aMode);
681 template < typename Space, typename KSpace>
684 DGtal::Board3DTo2DFactory<Space,KSpace>::draw( Board3DTo2D<Space, KSpace> & board, const DGtal::CustomStyle3D & aStyle)
686 DGtal::Display3DFactory<Space,KSpace>::draw( board, aStyle);
689 template < typename Space, typename KSpace>
692 DGtal::Board3DTo2DFactory<Space,KSpace>::draw( Board3DTo2D<Space, KSpace> & board, const DGtal::CustomColors3D & aColor)
694 DGtal::Display3DFactory<Space,KSpace>::draw( board, aColor);
697 template < typename Space, typename KSpace>
700 DGtal::Board3DTo2DFactory<Space,KSpace>::draw( Board3DTo2D<Space, KSpace> & board, const DGtal::ClippingPlane & aClipping)
702 DGtal::Display3DFactory<Space,KSpace>::draw( board, aClipping);
706 template < typename Space, typename KSpace>
709 DGtal::Board3DTo2DFactory<Space,KSpace>::draw( Board3DTo2D<Space, KSpace> & board, const DGtal::TransformedPrism & aTransformedPrism)
711 DGtal::Display3DFactory<Space,KSpace>::draw( board, aTransformedPrism);
716 //----------------------------------------------------------------------------------------------