35 #ifndef UNUSED_ARGUMENT
36 #define UNUSED_ARGUMENT(x) (void)x
434 UNUSED_ARGUMENT(mode);
436 return new DefaultDrawStyleCircular_AngleLinearMinimizer;
442 template <
typename TIterator,
typename TInteger,
int connectivity>
446 if ( ( mode ==
"" ) || ( mode ==
"BoundingBox" ) )
447 return new DefaultDrawStyleBB_ArithmeticalDSS;
449 return new DefaultDrawStylePoints_ArithmeticalDSS;
455 template <
typename TPo
int>
459 UNUSED_ARGUMENT(mode);
460 return new DrawableWithBoard2D;
466 template <
typename TPo
int>
470 UNUSED_ARGUMENT(mode);
471 return new DrawableWithBoard2D;
477 template<
typename Domain>
481 UNUSED_ARGUMENT(mode);
482 return new DefaultDrawStyle_DigitalSetBySTLSet;
488 template<
typename Domain>
492 UNUSED_ARGUMENT(mode);
493 return new DefaultDrawStyle_DigitalSetBySTLVector;
499 template <
typename TIterator,
typename TInteger,
int connectivity>
502 std::string mode =
"" )
504 UNUSED_ARGUMENT(mode);
505 return new DefaultDrawStyle_FP;
511 template <
typename TInteger>
514 std::string mode =
"" )
516 if ( ( mode ==
"" ) || ( mode ==
"Grid" ) )
517 return new DefaultDrawStyleGrid_FreemanChain;
519 return new DefaultDrawStyleInterGrid_FreemanChain;
525 template <
typename TConstIterator>
528 std::string mode =
"" )
530 UNUSED_ARGUMENT(mode);
531 return new DefaultDrawStyle_GeometricalDSS;
536 template <
typename TConstIterator>
539 std::string mode =
"" )
541 UNUSED_ARGUMENT(mode);
542 return new DefaultDrawStyle_GeometricalDCA;
547 template <
typename TIterator,
typename TInteger>
551 UNUSED_ARGUMENT(mode);
552 return new DefaultDrawStyle_FrechetShortcut;
559 template <
typename TKSpace>
561 defaultStyle(
const GridCurve<TKSpace> & ,
562 std::string mode =
"" )
564 UNUSED_ARGUMENT(mode);
565 return new DrawableWithBoard2D;
570 template <
typename TIterator,
typename TSCell>
572 defaultStyle(
const ConstRangeAdapter<TIterator, DefaultFunctor, TSCell> & ,
573 std::string mode =
"" )
575 UNUSED_ARGUMENT(mode);
576 return new DrawableWithBoard2D;
581 template <
typename TIterator,
typename TKSpace>
583 defaultStyle(
const ConstRangeAdapter<TIterator, SCellToPoint<TKSpace>,
typename TKSpace::Point> & ,
584 std::string mode =
"" )
586 UNUSED_ARGUMENT(mode);
587 return new DrawableWithBoard2D;
592 template <
typename TIterator,
typename TKSpace>
594 defaultStyle(
const ConstRangeAdapter<TIterator, SCellToMidPoint<TKSpace>,
595 typename TKSpace::Space::RealPoint> & ,
596 std::string mode =
"" )
598 UNUSED_ARGUMENT(mode);
599 return new DrawableWithBoard2D;
604 template <
typename TIterator,
typename TKSpace>
606 defaultStyle(
const ConstRangeAdapter<TIterator, SCellToArrow<TKSpace>,
607 std::pair<typename TKSpace::Point, typename TKSpace::Vector> > & ,
608 std::string mode =
"" )
610 UNUSED_ARGUMENT(mode);
611 return new DrawableWithBoard2D;
616 template <
typename TIterator,
typename TKSpace>
618 defaultStyle(
const ConstRangeAdapter<TIterator, SCellToInnerPoint<TKSpace>,
typename TKSpace::Point> & ,
619 std::string mode =
"" )
621 UNUSED_ARGUMENT(mode);
622 return new DrawableWithBoard2D;
627 template <
typename TIterator,
typename TKSpace>
629 defaultStyle(
const ConstRangeAdapter<TIterator, SCellToOuterPoint<TKSpace>,
typename TKSpace::Point> & ,
630 std::string mode =
"" )
632 UNUSED_ARGUMENT(mode);
633 return new DrawableWithBoard2D;
638 template <
typename TIterator,
typename TKSpace>
640 defaultStyle(
const ConstRangeAdapter<TIterator, SCellToIncidentPoints<TKSpace>,
641 std::pair<typename TKSpace::Point, typename TKSpace::Point> > & ,
642 std::string mode =
"" )
644 UNUSED_ARGUMENT(mode);
645 return new DrawableWithBoard2D;
650 template<
typename TSpace>
654 if ( ( mode ==
"" ) || ( mode ==
"Both" ) || ( mode ==
"Grid" ) )
655 return new DefaultDrawStyleGrid_HyperRectDomain;
657 return new DefaultDrawStylePaving_HyperRectDomain;
663 template <
typename Domain,
typename Value,
typename HashKey >
667 UNUSED_ARGUMENT(mode);
668 return new DefaultDrawStyle_ImageContainerByHashTree;
674 template <
typename D,
typename V>
678 UNUSED_ARGUMENT(mode);
679 return new DefaultDrawStyle_ImageContainerBySTLVector;
685 template < Dimension dim,
typename TInteger >
689 UNUSED_ARGUMENT(mode);
690 return new DefaultDrawStyle_KhalimskyCell;
696 template <
typename TDigitalTopology,
typename TDigitalSet>
700 UNUSED_ARGUMENT(mode);
701 return new DefaultDrawStyle_Object;
707 template<Dimension dim,
typename TComponent>
711 if ( ( mode ==
"" ) || ( mode ==
"Paving" ) )
712 return new DefaultDrawStylePaving_PointVector;
714 return new DefaultDrawStyleGrid_PointVector;
720 template <
typename Shape>
724 UNUSED_ARGUMENT(mode);
725 return new DrawableWithBoard2D;
731 template < Dimension dim,
typename TInteger >
735 UNUSED_ARGUMENT(mode);
736 return new DefaultDrawStyle_SignedKhalimskyCell;
742 template <
typename TPo
int>
746 UNUSED_ARGUMENT(mode);
747 return new DrawableWithBoard2D;
752 template <
typename TSpace,
typename TSequence>
756 std::string mode =
"" )
758 if ( ( mode ==
"" ) || ( mode ==
"Transparent" ) )
759 return new DefaultDrawStyleTransparent_LatticePolytope2D;
761 return new DefaultDrawStyleFilled_LatticePolytope2D;
771 UNUSED_ARGUMENT(mode);
778 UNUSED_ARGUMENT(mode);