31#if defined(Board3DTo2DFactory_RECURSES) 
   32#error Recursive header files inclusion detected in Board3DTo2DFactory.h 
   35#define Board3DTo2DFactory_RECURSES
 
   37#if !defined Board3DTo2DFactory_h 
   39#define Board3DTo2DFactory_h 
   44#include "DGtal/helpers/StdDefs.h" 
   45#include "DGtal/base/Common.h" 
   47#include "DGtal/io/Display3DFactory.h" 
   48#include "DGtal/io/boards/DrawWithBoard3DTo2DModifier.h" 
   49#include "DGtal/geometry/curves/StandardDSS6Computer.h" 
   50#include "DGtal/geometry/curves/Naive3DDSSComputer.h" 
   51#include "DGtal/kernel/sets/DigitalSetBySTLSet.h" 
   52#include "DGtal/kernel/sets/DigitalSetByAssociativeContainer.h" 
   53#include "DGtal/kernel/sets/DigitalSetBySTLVector.h" 
   54#include "DGtal/kernel/domains/HyperRectDomain.h" 
   55#include "DGtal/topology/KhalimskySpaceND.h" 
   56#include "DGtal/topology/Object.h" 
   57#include "DGtal/kernel/PointVector.h" 
   58#include "DGtal/geometry/curves/GridCurve.h" 
   59#include "DGtal/shapes/Mesh.h" 
   60#include "DGtal/geometry/tools/SphericalAccumulator.h" 
   61#include "DGtal/io/colormaps/HueShadeColorMap.h" 
   62#include "DGtal/io/colormaps/CColorMap.h" 
   63#include "DGtal/images/ImageContainerBySTLVector.h" 
   64#include "DGtal/images/ImageContainerBySTLMap.h" 
   65#include "DGtal/images/ConstImageAdapter.h" 
   66#include "DGtal/images/ImageAdapter.h" 
   78  template <
typename TSpace, 
typename TKSpace>
 
  131  template <
typename TVector>
 
  136                    const double radius=1.0);
 
  145    template <
typename TPo
int>
 
  154  template <
typename TPo
int>
 
  168  template <
typename TIterator, 
typename TInteger, 
int connectivity>
 
  172  template <
typename TIterator, 
typename TInteger, 
int connectivity>
 
  186  template <
typename TIterator, 
typename TInteger, 
int connectivity>
 
  190  template <
typename TIterator, 
typename TInteger, 
int connectivity>
 
  208  template <
typename TIterator, 
typename TInteger, 
int connectivity>
 
  212  template <
typename TIterator, 
typename TInteger, 
int connectivity>
 
  226  template <
typename TIterator, 
typename TInteger, 
int connectivity>
 
  230  template <
typename TIterator, 
typename TInteger, 
int connectivity>
 
  248    template<
typename Domain, 
typename Compare>
 
  257    template<
typename Domain, 
typename Compare>
 
  266    template<
typename Domain, 
typename Compare>
 
  275    template<
typename Domain, 
typename Compare>
 
  284    template<
typename Domain, 
typename Compare>
 
  296  template<
typename Domain, 
typename Container>
 
  305  template<
typename Domain, 
typename Container>
 
  314  template<
typename Domain, 
typename Container>
 
  323  template<
typename Domain, 
typename Container>
 
  332  template<
typename Domain, 
typename Container>
 
  345  template<
typename Domain>
 
  354  template<
typename Domain>
 
  363  template<
typename Domain>
 
  372  template<
typename Domain>
 
  381  template<
typename Domain>
 
  394  template<
typename SpaceDom>
 
  403  template<
typename SpaceDom>
 
  412  template<
typename SpaceDom>
 
  421  template<
typename SpaceDom>
 
  430  template<
typename SpaceDom>
 
  439  template<
typename SpaceDom>
 
  472  template <
typename TDigitalTopology, 
typename TDigitalSet>
 
  481  template <
typename TDigitalTopology, 
typename TDigitalSet>
 
  490  template <
typename TDigitalTopology, 
typename TDigitalSet>
 
  503  template<Dimension dim, 
typename TComponent, 
typename TContainer>
 
  512  template<Dimension dim, 
typename TComponent, 
typename TContainer>
 
  521  template<Dimension dim, 
typename TComponent, 
typename TContainer>
 
  530  template<Dimension dim, 
typename TComponent, 
typename TContainer>
 
  539  template<Dimension dim, 
typename TComponent, 
typename TContainer>
 
  549  template<Dimension dim, 
typename TComponent1, 
typename TComponent2, 
typename TContainer1, 
typename TContainer2>
 
  590  template < 
typename TIterator, 
typename TSCell>
 
  602  template <
typename TIterator>
 
  614  template <
typename TIterator>
 
  626    template <
typename TIterator>
 
  638  template <
typename TIterator>
 
  650  template <
typename TIterator>
 
  662  template <
typename TIterator>
 
 
  719#include "DGtal/io/boards/Board3DTo2DFactory.ih" 
  727#undef Board3DTo2DFactory_RECURSES 
Class for PDF, PNG, PS, EPS, SVG export drawings with Cairo with 3D->2D projection.
 
Aim: model of CConstBidirectionalRange that adapts any range of elements bounded by two iterators [it...
 
Aim: A wrapper class around a STL associative container for storing sets of digital points within som...
 
Aim: A container class for storing sets of digital points within some given domain.
 
Aim: Realizes the concept CDigitalSet by using the STL container std::vector.
 
Aim: describes, in a cellular space of dimension n, a closed or open sequence of signed d-cells (or d...
 
Aim: Parallelepidec region of a digital space, model of a 'CDomain'.
 
SignedKhalimskyCell< dim, Integer > SCell
 
KhalimskyCell< dim, Integer > Cell
 
Aim: This class is defined to represent a surface mesh through a set of vertices and faces....
 
Aim: Dynamic recognition of a 3d-digital straight segment (DSS)
 
Aim: An object (or digital object) represents a set in some digital space associated with a digital t...
 
Aim: implements an accumulator (as histograms for 1D scalars) adapted to spherical point samples.
 
Aim: Dynamic recognition of a 3d-digital straight segment (DSS)
 
Aim: transforms a signed cell into an arrow, ie. a pair point-vector.
 
Aim: transforms a signed cell c into a pair of points corresponding to the signed cells of greater di...
 
Aim: transforms a signed cell c into a point corresponding to the signed cell of greater dimension th...
 
Aim: transforms a signed cell c into a point corresponding to the signed cell of greater dimension th...
 
Aim: transforms a scell into a point.
 
DGtal is the top-level namespace which contains all DGtal functions and types.
 
Factory for GPL Display3D:
 
static void drawWithAdjacencies(Board3DTo2D< Space, KSpace > &board, const DGtal::Object< TDigitalTopology, TDigitalSet > &anObject)
drawWithAdjacencies
 
static void draw(Board3DTo2D< Space, KSpace > &board, const DGtal::DigitalSetBySTLSet< Domain, Compare > &aSet)
draw
 
static DGtal::DrawableWithBoard3DTo2D * defaultStyle(std::string str, const DGtal::DigitalSetBySTLVector< Domain > &aSet)
 
static void drawAsPavingTransparent(Board3DTo2D< Space, KSpace > &board, const DGtal::DigitalSetBySTLSet< Domain, Compare > &aSet)
drawAsPavingTransparent
 
static void drawAsPaving(Board3DTo2D< Space, KSpace > &board, const DGtal::DigitalSetBySTLSet< Domain, Compare > &aSet)
drawAsPaving
 
static void draw(Board3DTo2D< Space, KSpace > &board, const DGtal::ConstRangeAdapter< TIterator, functors::SCellToIncidentPoints< KSpace >, std::pair< typename KSpace::Point, typename KSpace::Point > > &aRangeAdapter)
draw
 
static DGtal::DrawableWithBoard3DTo2D * defaultStyle(std::string str, const typename KSpace::Cell &aCell)
 
static void draw(Board3DTo2D< Space, KSpace > &board, const DGtal::GridCurve< KSpace > &aGrid)
draw
 
static void draw(Board3DTo2D< Space, KSpace > &board, const DGtal::CustomStyle3D &aStyle)
draw
 
static void draw(Board3DTo2D< Space, KSpace > &board, const DGtal::ConstRangeAdapter< TIterator, CanonicSCellEmbedder< KSpace >, typename KSpace::Space::RealPoint > &aRangeAdapter)
draw
 
static void drawAsPaving(Board3DTo2D< Space, KSpace > &board, const DGtal::PointVector< dim, TComponent, TContainer > &aPoint)
drawAsPaving
 
static void draw(Board3DTo2D< Space, KSpace > &board, const DGtal::Naive3DDSSComputer< TIterator, TInteger, connectivity > &arithm)
draw
 
static void draw(Board3DTo2D< Space, KSpace > &board, const DGtal::ClippingPlane &aClipping)
draw
 
static void drawAsPavingBalls(Board3DTo2D< Space, KSpace > &board, const DGtal::HyperRectDomain< SpaceDom > &aDomain)
drawAsPavingBalls
 
static void drawAsPavingTransparent(Board3DTo2D< Space, KSpace > &board, const DGtal::DigitalSetBySTLVector< Domain > &aSet)
drawAsPavingTransparent
 
static void draw(Board3DTo2D< Space, KSpace > &board, const DGtal::SphericalAccumulator< TVector > &accumulator, const typename DGtal::SphericalAccumulator< TVector >::RealVector &shift=typename DGtal::SphericalAccumulator< TVector >::RealVector(0, 0, 0), const double radius=1.0)
 
static void drawAsGrid(Board3DTo2D< Space, KSpace > &board, const DGtal::HyperRectDomain< SpaceDom > &aDomain)
drawAsGrid
 
static DGtal::DrawableWithBoard3DTo2D * defaultStyle(std::string str, const DGtal::StandardDSS6Computer< TIterator, TInteger, connectivity > &arithm)
 
static void draw(Board3DTo2D< Space, KSpace > &board, const ConstRangeAdapter< TIterator, DGtal::functors::Identity, TSCell > &aRangeAdapter)
draw
 
static void drawAsGrid(Board3DTo2D< Space, KSpace > &board, const DGtal::DigitalSetBySTLVector< Domain > &aSet)
drawAsGrid
 
static void draw(Board3DTo2D< Space, KSpace > &board, const DGtal::ConstRangeAdapter< TIterator, functors::SCellToOuterPoint< KSpace >, typename KSpace::Point > &aRangeAdapter)
draw
 
static void draw(Board3DTo2D< Space, KSpace > &board, const DGtal::DigitalSetByAssociativeContainer< Domain, Container > &aSet)
draw
 
static void drawAsBalls(Board3DTo2D< Space, KSpace > &board, const DGtal::StandardDSS6Computer< TIterator, TInteger, connectivity > &arithm)
drawAsBalls
 
static void draw(Board3DTo2D< Space, KSpace > &board, const DGtal::Object< TDigitalTopology, TDigitalSet > &anObject)
draw
 
static void draw(Board3DTo2D< Space, KSpace > &board, const DGtal::Mesh< TPoint > &aMesh)
draw
 
static void draw(Board3DTo2D< Space, KSpace > &board, const DGtal::PointVector< dim, TComponent1, TContainer1 > &aPoint, const DGtal::PointVector< dim, TComponent2, TContainer2 > &aPoint2)
draw
 
static void draw(Board3DTo2D< Space, KSpace > &board, const DGtal::HyperRectDomain< SpaceDom > &aDomain)
draw
 
static DGtal::DrawableWithBoard3DTo2D * defaultStyle(std::string str, const DGtal::HyperRectDomain< SpaceDom > &aDomain)
 
static void drawAsFaces(Board3DTo2D< Space, KSpace > &board, const DGtal::Mesh< TPoint > &aMesh)
drawAsFaces
 
static DGtal::DrawableWithBoard3DTo2D * defaultStyle(std::string str, const typename KSpace::SCell &aSCell)
 
static void draw(Board3DTo2D< Space, KSpace > &board, const DGtal::CameraPosition &aThing)
 
static void drawAsPavingTransparent(Board3DTo2D< Space, KSpace > &board, const DGtal::DigitalSetByAssociativeContainer< Domain, Container > &aSet)
drawAsPavingTransparent
 
static void draw(Board3DTo2D< Space, KSpace > &board, const DGtal::PointVector< dim, TComponent, TContainer > &aPoint)
draw
 
static void drawAsBoundingBox(Board3DTo2D< Space, KSpace > &board, const DGtal::Naive3DDSSComputer< TIterator, TInteger, connectivity > &arithm)
drawAsBoundingBox
 
static void drawAsPaving(Board3DTo2D< Space, KSpace > &board, const DGtal::HyperRectDomain< SpaceDom > &aDomain)
drawAsPaving
 
static void draw(Board3DTo2D< Space, KSpace > &board, const typename KSpace::SCell &aSCell)
draw
 
static void draw(Board3DTo2D< Space, KSpace > &board, const DGtal::StandardDSS6Computer< TIterator, TInteger, connectivity > &arithm)
draw
 
static void draw(Board3DTo2D< Space, KSpace > &board, const DGtal::ConstRangeAdapter< TIterator, functors::SCellToPoint< KSpace >, typename KSpace::Point > &aRangeAdapter)
draw
 
static void draw(Board3DTo2D< Space, KSpace > &board, const DGtal::CameraUpVector &aThing)
 
static void drawAsGrid(Board3DTo2D< Space, KSpace > &board, const DGtal::PointVector< dim, TComponent, TContainer > &aPoint)
drawAsGrid
 
static void draw(Board3DTo2D< Space, KSpace > &board, const DGtal::CustomColors3D &aColor)
draw
 
static void draw(Board3DTo2D< Space, KSpace > &board, const DGtal::CameraZNearFar &aThing)
 
static DGtal::DrawableWithBoard3DTo2D * defaultStyle(std::string str, const DGtal::Naive3DDSSComputer< TIterator, TInteger, connectivity > &arithm)
 
static void draw(Board3DTo2D< Space, KSpace > &board, const DGtal::SetMode3D &aMode)
draw
 
static DGtal::DrawableWithBoard3DTo2D * defaultStyle(std::string str, const DGtal::DigitalSetByAssociativeContainer< Domain, Container > &aSet)
 
static void draw(Board3DTo2D< Space, KSpace > &board, const DGtal::ConstRangeAdapter< TIterator, functors::SCellToArrow< KSpace >, std::pair< typename KSpace::Point, typename KSpace::Vector > > &aRangeAdapter)
draw
 
static void drawAsGrid(Board3DTo2D< Space, KSpace > &board, const DGtal::DigitalSetBySTLSet< Domain, Compare > &aSet)
drawAsGrid
 
static DGtal::DrawableWithBoard3DTo2D * defaultStyle(std::string str, const DGtal::Object< TDigitalTopology, TDigitalSet > &anObject)
defaultStyle
 
static void draw(Board3DTo2D< Space, KSpace > &board, const typename KSpace::Cell &aCell)
draw
 
static DGtal::DrawableWithBoard3DTo2D * defaultStyle(std::string str, const DGtal::DigitalSetBySTLSet< Domain, Compare > &aSet)
 
static void drawAsBoundingBox(Board3DTo2D< Space, KSpace > &board, const DGtal::StandardDSS6Computer< TIterator, TInteger, connectivity > &arithm)
drawAsBoundingBox
 
static DGtal::DrawableWithBoard3DTo2D * defaultStyle(std::string str, const DGtal::PointVector< dim, TComponent, TContainer > &aPoint)
 
static void drawAsPaving(Board3DTo2D< Space, KSpace > &board, const DGtal::DigitalSetByAssociativeContainer< Domain, Container > &aSet)
drawAsPaving
 
static void draw(Board3DTo2D< Space, KSpace > &board, const DGtal::CameraDirection &aThing)
 
static void drawAsPavingWired(Board3DTo2D< Space, KSpace > &board, const DGtal::PointVector< dim, TComponent, TContainer > &aPoint)
drawAsPavingWired
 
static void draw(Board3DTo2D< Space, KSpace > &board, const DGtal::TransformedPrism &aTransformedPrism)
draw
 
static void draw(Board3DTo2D< Space, KSpace > &board, const DGtal::DigitalSetBySTLVector< Domain > &aSet)
draw
 
static void drawAsBalls(Board3DTo2D< Space, KSpace > &board, const DGtal::Naive3DDSSComputer< TIterator, TInteger, connectivity > &arithm)
drawAsBalls
 
static void draw(Board3DTo2D< Space, KSpace > &board, const DGtal::ConstRangeAdapter< TIterator, functors::SCellToInnerPoint< KSpace >, typename KSpace::Point > &aRangeAdapter)
draw
 
static void drawAsBoundingBox(Board3DTo2D< Space, KSpace > &board, const DGtal::HyperRectDomain< SpaceDom > &aDomain)
drawAsBoundingBox
 
static void drawAsPaving(Board3DTo2D< Space, KSpace > &board, const DGtal::DigitalSetBySTLVector< Domain > &aSet)
drawAsPaving
 
static void drawAsGrid(Board3DTo2D< Space, KSpace > &board, const DGtal::DigitalSetByAssociativeContainer< Domain, Container > &aSet)
drawAsGrid
 
CameraDirection class to set camera direction.
 
CameraPosition class to set camera position.
 
CameraUpVector class to set camera up-vector.
 
CameraZNearFar class to set near and far distance.
 
Aim: A trivial embedder for signed cell, which corresponds to the canonic injection of cell centroids...
 
Class for adding a Clipping plane through the Viewer3D stream. Realizes the concept CDrawableWithView...
 
Modifier class in a Display3D stream. Useful to choose your own style for a given class....
 
Factory for GPL Display3D:
 
Modifier class in a Display3D stream. Useful to choose your own mode for a given class....