DGtal 1.4.0
Loading...
Searching...
No Matches
DGtal::Display3DFactory< TSpace, TKSpace > Struct Template Reference

Factory for GPL Display3D: More...

#include <DGtal/io/Display3DFactory.h>

Inheritance diagram for DGtal::Display3DFactory< TSpace, TKSpace >:
[legend]

Public Types

typedef TSpace Space
 
typedef TKSpace KSpace
 
typedef Display3DFactory< Space, KSpaceSelf
 
typedef Display3D< Space, KSpaceDisplay
 
typedef Display::RealPoint RealPoint
 
typedef Display::RealVector RealVector
 

Public Member Functions

 BOOST_STATIC_CONSTANT (unsigned int, POINT_AS_BALL_RADIUS=5)
 The ball radius (the actual radius being 1/POINT_AS_BALL_RADIUS )when used to display a 3D point.
 
 BOOST_STATIC_CONSTANT (unsigned int, POINT_AS_BALL_RES=5)
 The ball resolution when used to display a point.
 

Static Public Member Functions

template<Dimension dimEmbedded, Dimension dimAmbient, typename TLinearAlgebraBackend , typename TInteger >
static void draw (Display3D< Space, KSpace > &display, const DGtal::DiscreteExteriorCalculus< dimEmbedded, dimAmbient, TLinearAlgebraBackend, TInteger > &calculus)
 
template<typename Calculus , DGtal::Order order, DGtal::Duality duality>
static void draw (Display3D< Space, KSpace > &display, const DGtal::KForm< Calculus, order, duality > &kform, double cmap_min=0, double cmap_max=0)
 
template<typename Calculus , DGtal::Order order, DGtal::Duality duality, typename ColorMap >
static void drawWithColorMap (Display3D< Space, KSpace > &display, const DGtal::KForm< Calculus, order, duality > &kform, const ColorMap &colormap)
 
template<typename Calculus , DGtal::Duality duality>
static void draw (Display3D< Space, KSpace > &display, const DGtal::VectorField< Calculus, duality > &vector_field, const double &scale=0.5, const double &epsilon=1e-5, const DGtal::Color color=DGtal::Color::Black)
 
template<typename TVector >
static void draw (Display &display, const DGtal::SphericalAccumulator< TVector > &accumulator, const DGtal::Z3i::RealVector &shift=DGtal::Z3i::RealVector(0, 0, 0), const double radius=1.0)
 
template<typename TPoint >
static void drawAsFaces (Display &display, const DGtal::Mesh< TPoint > &aMesh)
 drawAsFaces
 
template<typename TPoint >
static void draw (Display &display, const DGtal::Mesh< TPoint > &aMesh)
 draw
 
template<typename TIterator , typename TInteger , int connectivity>
static DGtal::DrawableWithDisplay3DdefaultStyle (std::string str, const DGtal::StandardDSS6Computer< TIterator, TInteger, connectivity > &anObject)
 
template<typename TIterator , typename TInteger , int connectivity>
static void drawAsBalls (Display &display, const DGtal::StandardDSS6Computer< TIterator, TInteger, connectivity > &anObject)
 drawAsBalls
 
template<typename TIterator , typename TInteger , int connectivity>
static void drawAsBoundingBox (Display &display, const DGtal::StandardDSS6Computer< TIterator, TInteger, connectivity > &anObject)
 drawAsBoundingBox
 
template<typename TIterator , typename TInteger , int connectivity>
static void draw (Display &display, const DGtal::StandardDSS6Computer< TIterator, TInteger, connectivity > &anObject)
 draw
 
template<typename TIterator , typename TInteger , int connectivity>
static DGtal::DrawableWithDisplay3DdefaultStyle (std::string str, const DGtal::Naive3DDSSComputer< TIterator, TInteger, connectivity > &anObject)
 defaultStyle Default drawing style object.
 
template<typename TIterator , typename TInteger , int connectivity>
static void drawAsBalls (Display &display, const DGtal::Naive3DDSSComputer< TIterator, TInteger, connectivity > &anObject)
 drawAsBalls
 
template<typename TIterator , typename TInteger , int connectivity>
static void drawAsBoundingBox (Display &display, const DGtal::Naive3DDSSComputer< TIterator, TInteger, connectivity > &anObject)
 drawAsBoundingBox
 
template<typename TIterator , typename TInteger , int connectivity>
static void draw (Display &display, const DGtal::Naive3DDSSComputer< TIterator, TInteger, connectivity > &anObject)
 draw
 
template<typename Domain , typename Container >
static DGtal::DrawableWithDisplay3DdefaultStyle (std::string str, const DGtal::DigitalSetByAssociativeContainer< Domain, Container > &anObject)
 defaultStyle
 
template<typename Domain , typename Container >
static void drawAsPavingTransparent (Display &display, const DGtal::DigitalSetByAssociativeContainer< Domain, Container > &anObject)
 drawAsPavingTransparent
 
template<typename Domain , typename Container >
static void drawAsPaving (Display &display, const DGtal::DigitalSetByAssociativeContainer< Domain, Container > &anObject)
 drawAsPaving
 
template<typename Domain , typename Container >
static void drawAsGrid (Display &display, const DGtal::DigitalSetByAssociativeContainer< Domain, Container > &anObject)
 drawAsGrid
 
template<typename Domain , typename Container >
static void draw (Display &display, const DGtal::DigitalSetByAssociativeContainer< Domain, Container > &anObject)
 draw
 
template<typename Domain , typename Compare >
static DGtal::DrawableWithDisplay3DdefaultStyle (std::string str, const DGtal::DigitalSetBySTLSet< Domain, Compare > &anObject)
 defaultStyle
 
template<typename Domain , typename Compare >
static void drawAsPavingTransparent (Display &display, const DGtal::DigitalSetBySTLSet< Domain, Compare > &anObject)
 drawAsPavingTransparent
 
template<typename Domain , typename Compare >
static void drawAsPaving (Display &display, const DGtal::DigitalSetBySTLSet< Domain, Compare > &anObject)
 drawAsPaving
 
template<typename Domain , typename Compare >
static void drawAsGrid (Display &display, const DGtal::DigitalSetBySTLSet< Domain, Compare > &anObject)
 drawAsGrid
 
template<typename Domain , typename Compare >
static void draw (Display &display, const DGtal::DigitalSetBySTLSet< Domain, Compare > &anObject)
 draw
 
template<typename Domain >
static DGtal::DrawableWithDisplay3DdefaultStyle (std::string str, const DGtal::DigitalSetBySTLVector< Domain > &anObject)
 Default drawing style object.
 
template<typename Domain >
static void drawAsPavingTransparent (Display &display, const DGtal::DigitalSetBySTLVector< Domain > &anObject)
 drawAsPavingTransparent
 
template<typename Domain >
static void drawAsPaving (Display &display, const DGtal::DigitalSetBySTLVector< Domain > &anObject)
 drawAsPaving
 
template<typename Domain >
static void drawAsGrid (Display &display, const DGtal::DigitalSetBySTLVector< Domain > &anObject)
 drawAsGrid
 
template<typename Domain >
static void draw (Display &display, const DGtal::DigitalSetBySTLVector< Domain > &anObject)
 draw
 
template<typename SpaceDom >
static DGtal::DrawableWithDisplay3DdefaultStyle (std::string str, const DGtal::HyperRectDomain< SpaceDom > &anObject)
 
template<typename SpaceDom >
static void drawAsBoundingBox (Display &display, const DGtal::HyperRectDomain< SpaceDom > &anObject)
 drawAsBoundingBox
 
template<typename SpaceDom >
static void drawAsGrid (Display &display, const DGtal::HyperRectDomain< SpaceDom > &anObject)
 drawAsGrid
 
template<typename SpaceDom >
static void drawAsPavingBalls (Display &display, const DGtal::HyperRectDomain< SpaceDom > &anObject)
 drawAsPavingBalls
 
template<typename SpaceDom >
static void drawAsPaving (Display &display, const DGtal::HyperRectDomain< SpaceDom > &anObject)
 drawAsPaving
 
template<typename SpaceDom >
static void draw (Display &display, const DGtal::HyperRectDomain< SpaceDom > &anObject)
 draw
 
static DGtal::DrawableWithDisplay3DdefaultStyle (std::string str, const typename KSpace::Cell &anObject)
 
static void draw (Display &display, const typename KSpace::Cell &anObject)
 draw
 
static void drawUnorientedSurfelWithNormal (Display &display, const typename KSpace::Cell &anObject, const RealVector &aNormal, const bool enableDoubleFace=false)
 
static DGtal::DrawableWithDisplay3DdefaultStyle (std::string str, const typename KSpace::SCell &anObject)
 
static void draw (Display &display, const typename KSpace::SCell &anObject)
 draw
 
static void drawOrientedSurfelWithNormal (Display &display, const typename KSpace::SCell &aSignedCell, const RealVector &aNormal, const bool enableDoubleFace=false)
 
template<typename TDigitalTopology , typename TDigitalSet >
static DGtal::DrawableWithDisplay3DdefaultStyle (std::string str, const DGtal::Object< TDigitalTopology, TDigitalSet > &anObject)
 
template<typename TDigitalTopology , typename TDigitalSet >
static void drawWithAdjacencies (Display &display, const DGtal::Object< TDigitalTopology, TDigitalSet > &anObject)
 drawWithAdjacencies
 
template<typename TDigitalTopology , typename TDigitalSet >
static void draw (Display &display, const DGtal::Object< TDigitalTopology, TDigitalSet > &anObject)
 draw
 
template<Dimension dim, typename TComponent , typename TContainer >
static DGtal::DrawableWithDisplay3DdefaultStyle (std::string str, const DGtal::PointVector< dim, TComponent, TContainer > &anObject)
 
template<Dimension dim, typename TComponent , typename TContainer >
static void drawAsGrid (Display &display, const DGtal::PointVector< dim, TComponent, TContainer > &anObject)
 drawAsGrid
 
template<Dimension dim, typename TComponent , typename TContainer >
static void drawAsPaving (Display &display, const DGtal::PointVector< dim, TComponent, TContainer > &anObject)
 drawAsPaving
 
template<Dimension dim, typename TComponent , typename TContainer >
static void drawAsPavingWired (Display &display, const DGtal::PointVector< dim, TComponent, TContainer > &anObject)
 drawAsPavingWired
 
template<Dimension dim, typename TComponent , typename TContainer >
static void draw (Display &display, const DGtal::PointVector< dim, TComponent, TContainer > &anObject)
 draw
 
template<Dimension dim, typename TComponent1 , typename TComponent2 , typename TContainer1 , typename TContainer2 >
static void draw (Display &display, const DGtal::PointVector< dim, TComponent1, TContainer1 > &, const DGtal::PointVector< dim, TComponent2, TContainer2 > &anObject)
 draw
 
static void draw (Display &display, const DGtal::GridCurve< KSpace > &anObject)
 draw
 
template<typename TIterator , typename TSCell >
static void draw (Display &display, const DGtal::ConstRangeAdapter< TIterator, DGtal::functors::Identity, TSCell > &anObject)
 draw
 
template<typename TIterator >
static void draw (Display &display, const DGtal::ConstRangeAdapter< TIterator, DGtal::functors::SCellToPoint< KSpace >, typename TKSpace::Point > &anObject)
 draw
 
template<typename TIterator >
static void draw (Display &display, const DGtal::ConstRangeAdapter< TIterator, CanonicSCellEmbedder< KSpace >, typename TKSpace::Space::RealPoint > &anObject)
 draw
 
template<typename TIterator >
static void draw (Display &display, const DGtal::ConstRangeAdapter< TIterator, DGtal::functors::SCellToArrow< KSpace >, std::pair< typename TKSpace::Point, typename TKSpace::Vector > > &anObject)
 draw
 
template<typename TIterator >
static void draw (Display &display, const DGtal::ConstRangeAdapter< TIterator, DGtal::functors::SCellToInnerPoint< KSpace >, typename TKSpace::Point > &anObject)
 draw
 
template<typename TIterator >
static void draw (Display &display, const DGtal::ConstRangeAdapter< TIterator, DGtal::functors::SCellToOuterPoint< KSpace >, typename TKSpace::Point > &anObject)
 draw
 
template<typename TIterator >
static void draw (Display &display, const DGtal::ConstRangeAdapter< TIterator, DGtal::functors::SCellToIncidentPoints< KSpace >, std::pair< typename KSpace::Point, typename KSpace::Point > > &anObject)
 draw
 
static void draw (Display &display, const DGtal::SetMode3D &anObject)
 
static void draw (Display &display, const DGtal::CustomStyle3D &anObject)
 
static void draw (Display &display, const DGtal::CustomColors3D &anObject)
 
static void draw (Display &display, const DGtal::ClippingPlane &anObject)
 draw
 
static void draw (Display &display, const DGtal::TransformedPrism &aTransformedPrism)
 
static void draw (Display &display, const DGtal::SetName3D &aName3d)
 
static void draw (Display &display, const DGtal::SetSelectCallback3D &aFct)
 

Detailed Description

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
struct DGtal::Display3DFactory< TSpace, TKSpace >

Factory for GPL Display3D:

Description of struct 'Display3DFactory'

Examples
dec/exampleDECSurface.cpp, and dec/exampleDiscreteExteriorCalculusSolve.cpp.

Definition at line 86 of file Display3DFactory.h.

Member Typedef Documentation

◆ Display

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
typedef Display3D<Space, KSpace> DGtal::Display3DFactory< TSpace, TKSpace >::Display

Definition at line 97 of file Display3DFactory.h.

◆ KSpace

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
typedef TKSpace DGtal::Display3DFactory< TSpace, TKSpace >::KSpace

Definition at line 95 of file Display3DFactory.h.

◆ RealPoint

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
typedef Display::RealPoint DGtal::Display3DFactory< TSpace, TKSpace >::RealPoint

Definition at line 98 of file Display3DFactory.h.

◆ RealVector

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
typedef Display::RealVector DGtal::Display3DFactory< TSpace, TKSpace >::RealVector

Definition at line 99 of file Display3DFactory.h.

◆ Self

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
typedef Display3DFactory<Space, KSpace> DGtal::Display3DFactory< TSpace, TKSpace >::Self

Definition at line 96 of file Display3DFactory.h.

◆ Space

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
typedef TSpace DGtal::Display3DFactory< TSpace, TKSpace >::Space

Definition at line 94 of file Display3DFactory.h.

Member Function Documentation

◆ BOOST_STATIC_CONSTANT() [1/2]

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
DGtal::Display3DFactory< TSpace, TKSpace >::BOOST_STATIC_CONSTANT ( unsigned int ,
POINT_AS_BALL_RADIUS = 5 )

The ball radius (the actual radius being 1/POINT_AS_BALL_RADIUS )when used to display a 3D point.

◆ BOOST_STATIC_CONSTANT() [2/2]

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
DGtal::Display3DFactory< TSpace, TKSpace >::BOOST_STATIC_CONSTANT ( unsigned int ,
POINT_AS_BALL_RES = 5 )

The ball resolution when used to display a point.

◆ defaultStyle() [1/10]

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
template<typename Domain , typename Container >
static DGtal::DrawableWithDisplay3D * DGtal::Display3DFactory< TSpace, TKSpace >::defaultStyle ( std::string str,
const DGtal::DigitalSetByAssociativeContainer< Domain, Container > & anObject )
static

defaultStyle

Parameters
strthe name of the class
anObjectthe object to draw
Returns
the dyn. alloc. default style for this object.

◆ defaultStyle() [2/10]

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
template<typename Domain , typename Compare >
static DGtal::DrawableWithDisplay3D * DGtal::Display3DFactory< TSpace, TKSpace >::defaultStyle ( std::string str,
const DGtal::DigitalSetBySTLSet< Domain, Compare > & anObject )
static

defaultStyle

Parameters
strthe name of the class
anObjectthe object to draw
Returns
the dyn. alloc. default style for this object.

◆ defaultStyle() [3/10]

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
template<typename Domain >
static DGtal::DrawableWithDisplay3D * DGtal::Display3DFactory< TSpace, TKSpace >::defaultStyle ( std::string str,
const DGtal::DigitalSetBySTLVector< Domain > & anObject )
static

Default drawing style object.

Parameters
strthe name of the class
anObjectthe object to draw
Returns
the dyn. alloc. default style for this object.

◆ defaultStyle() [4/10]

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
template<typename SpaceDom >
static DGtal::DrawableWithDisplay3D * DGtal::Display3DFactory< TSpace, TKSpace >::defaultStyle ( std::string str,
const DGtal::HyperRectDomain< SpaceDom > & anObject )
static

Default drawing style object.

Parameters
strthe name of the class
anObjectthe object to draw
Returns
the dyn. alloc. default style for this object.

◆ defaultStyle() [5/10]

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
template<typename TIterator , typename TInteger , int connectivity>
static DGtal::DrawableWithDisplay3D * DGtal::Display3DFactory< TSpace, TKSpace >::defaultStyle ( std::string str,
const DGtal::Naive3DDSSComputer< TIterator, TInteger, connectivity > & anObject )
static

defaultStyle Default drawing style object.

Parameters
strthe name of the class
anObjectthe object to draw
Returns
the dyn. alloc. default style for this object.

◆ defaultStyle() [6/10]

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
template<typename TDigitalTopology , typename TDigitalSet >
static DGtal::DrawableWithDisplay3D * DGtal::Display3DFactory< TSpace, TKSpace >::defaultStyle ( std::string str,
const DGtal::Object< TDigitalTopology, TDigitalSet > & anObject )
static

Default drawing style object.

Parameters
strthe name of the class
anObjectthe object to draw
Returns
the dyn. alloc. default style for this object.

◆ defaultStyle() [7/10]

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
template<Dimension dim, typename TComponent , typename TContainer >
static DGtal::DrawableWithDisplay3D * DGtal::Display3DFactory< TSpace, TKSpace >::defaultStyle ( std::string str,
const DGtal::PointVector< dim, TComponent, TContainer > & anObject )
static

Default drawing style object.

Parameters
strthe name of the class
anObjectthe object to draw
Returns
the dyn. alloc. default style for this object.

◆ defaultStyle() [8/10]

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
template<typename TIterator , typename TInteger , int connectivity>
static DGtal::DrawableWithDisplay3D * DGtal::Display3DFactory< TSpace, TKSpace >::defaultStyle ( std::string str,
const DGtal::StandardDSS6Computer< TIterator, TInteger, connectivity > & anObject )
static

Default drawing style object.

Parameters
strthe name of the class
anObjectthe object to draw
Returns
the dyn. alloc. default style for this object.

◆ defaultStyle() [9/10]

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
static DGtal::DrawableWithDisplay3D * DGtal::Display3DFactory< TSpace, TKSpace >::defaultStyle ( std::string str,
const typename KSpace::Cell & anObject )
static

Default drawing style object.

Parameters
strthe name of the class
anObjectthe object to draw
Returns
the dyn. alloc. default style for this object.

◆ defaultStyle() [10/10]

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
static DGtal::DrawableWithDisplay3D * DGtal::Display3DFactory< TSpace, TKSpace >::defaultStyle ( std::string str,
const typename KSpace::SCell & anObject )
static

Default drawing style object.

Parameters
strthe name of the class
anObjectthe object to draw
Returns
the dyn. alloc. default style for this object.

◆ draw() [1/31]

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
static void DGtal::Display3DFactory< TSpace, TKSpace >::draw ( Display & display,
const DGtal::ClippingPlane & anObject )
static

draw

Parameters
displaythe display where to draw
anObjectthe object to draw

◆ draw() [2/31]

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
template<typename TIterator >
static void DGtal::Display3DFactory< TSpace, TKSpace >::draw ( Display & display,
const DGtal::ConstRangeAdapter< TIterator, CanonicSCellEmbedder< KSpace >, typename TKSpace::Space::RealPoint > & anObject )
static

draw

Parameters
displaythe display where to draw
anObjectthe object to draw

◆ draw() [3/31]

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
template<typename TIterator , typename TSCell >
static void DGtal::Display3DFactory< TSpace, TKSpace >::draw ( Display & display,
const DGtal::ConstRangeAdapter< TIterator, DGtal::functors::Identity, TSCell > & anObject )
static

draw

Parameters
displaythe display where to draw
anObjectthe object to draw

◆ draw() [4/31]

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
template<typename TIterator >
static void DGtal::Display3DFactory< TSpace, TKSpace >::draw ( Display & display,
const DGtal::ConstRangeAdapter< TIterator, DGtal::functors::SCellToArrow< KSpace >, std::pair< typename TKSpace::Point, typename TKSpace::Vector > > & anObject )
static

draw

Parameters
displaythe display where to draw
anObjectthe object to draw

◆ draw() [5/31]

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
template<typename TIterator >
static void DGtal::Display3DFactory< TSpace, TKSpace >::draw ( Display & display,
const DGtal::ConstRangeAdapter< TIterator, DGtal::functors::SCellToIncidentPoints< KSpace >, std::pair< typename KSpace::Point, typename KSpace::Point > > & anObject )
static

draw

Parameters
displaythe display where to draw
anObjectthe object to draw

◆ draw() [6/31]

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
template<typename TIterator >
static void DGtal::Display3DFactory< TSpace, TKSpace >::draw ( Display & display,
const DGtal::ConstRangeAdapter< TIterator, DGtal::functors::SCellToInnerPoint< KSpace >, typename TKSpace::Point > & anObject )
static

draw

Parameters
displaythe display where to draw
anObjectthe object to draw

◆ draw() [7/31]

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
template<typename TIterator >
static void DGtal::Display3DFactory< TSpace, TKSpace >::draw ( Display & display,
const DGtal::ConstRangeAdapter< TIterator, DGtal::functors::SCellToOuterPoint< KSpace >, typename TKSpace::Point > & anObject )
static

draw

Parameters
displaythe display where to draw
anObjectthe object to draw

◆ draw() [8/31]

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
template<typename TIterator >
static void DGtal::Display3DFactory< TSpace, TKSpace >::draw ( Display & display,
const DGtal::ConstRangeAdapter< TIterator, DGtal::functors::SCellToPoint< KSpace >, typename TKSpace::Point > & anObject )
static

draw

Parameters
displaythe display where to draw
anObjectthe object to draw

◆ draw() [9/31]

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
static void DGtal::Display3DFactory< TSpace, TKSpace >::draw ( Display & display,
const DGtal::CustomColors3D & anObject )
static

brief draw.This function will create new sublists for Display3D models.

Parameters
displaythe display where to draw
anObjectthe object to draw

◆ draw() [10/31]

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
static void DGtal::Display3DFactory< TSpace, TKSpace >::draw ( Display & display,
const DGtal::CustomStyle3D & anObject )
static

Draw for CustomStyle class. This function will create new sublists for Display3D models.

Parameters
displaythe display where to draw
anObjectthe object to draw

◆ draw() [11/31]

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
template<typename Domain , typename Container >
static void DGtal::Display3DFactory< TSpace, TKSpace >::draw ( Display & display,
const DGtal::DigitalSetByAssociativeContainer< Domain, Container > & anObject )
static

draw

Parameters
displaythe display where to draw
anObjectthe object to draw

◆ draw() [12/31]

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
template<typename Domain , typename Compare >
static void DGtal::Display3DFactory< TSpace, TKSpace >::draw ( Display & display,
const DGtal::DigitalSetBySTLSet< Domain, Compare > & anObject )
static

draw

Parameters
displaythe display where to draw
anObjectthe object to draw

◆ draw() [13/31]

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
template<typename Domain >
static void DGtal::Display3DFactory< TSpace, TKSpace >::draw ( Display & display,
const DGtal::DigitalSetBySTLVector< Domain > & anObject )
static

draw

Parameters
displaythe display where to draw
anObjectthe object to draw

◆ draw() [14/31]

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
static void DGtal::Display3DFactory< TSpace, TKSpace >::draw ( Display & display,
const DGtal::GridCurve< KSpace > & anObject )
static

draw

Parameters
displaythe display where to draw
anObjectthe object to draw

◆ draw() [15/31]

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
template<typename SpaceDom >
static void DGtal::Display3DFactory< TSpace, TKSpace >::draw ( Display & display,
const DGtal::HyperRectDomain< SpaceDom > & anObject )
static

draw

Parameters
displaythe display where to draw
anObjectthe object to draw

◆ draw() [16/31]

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
template<typename TPoint >
static void DGtal::Display3DFactory< TSpace, TKSpace >::draw ( Display & display,
const DGtal::Mesh< TPoint > & aMesh )
static

draw

Parameters
displaythe display where to draw
aMeshthe mesh to draw

◆ draw() [17/31]

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
template<typename TIterator , typename TInteger , int connectivity>
static void DGtal::Display3DFactory< TSpace, TKSpace >::draw ( Display & display,
const DGtal::Naive3DDSSComputer< TIterator, TInteger, connectivity > & anObject )
static

draw

Parameters
displaythe display where to draw
anObjectthe object to draw

◆ draw() [18/31]

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
template<typename TDigitalTopology , typename TDigitalSet >
static void DGtal::Display3DFactory< TSpace, TKSpace >::draw ( Display & display,
const DGtal::Object< TDigitalTopology, TDigitalSet > & anObject )
static

draw

Parameters
displaythe display where to draw
anObjectthe object to draw

◆ draw() [19/31]

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
template<Dimension dim, typename TComponent , typename TContainer >
static void DGtal::Display3DFactory< TSpace, TKSpace >::draw ( Display & display,
const DGtal::PointVector< dim, TComponent, TContainer > & anObject )
static

draw

Parameters
displaythe display where to draw
anObjectthe object to draw

◆ draw() [20/31]

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
template<Dimension dim, typename TComponent1 , typename TComponent2 , typename TContainer1 , typename TContainer2 >
static void DGtal::Display3DFactory< TSpace, TKSpace >::draw ( Display & display,
const DGtal::PointVector< dim, TComponent1, TContainer1 > & ,
const DGtal::PointVector< dim, TComponent2, TContainer2 > & anObject )
static

draw

Parameters
displaythe display where to draw
anObjectthe object to draw

◆ draw() [21/31]

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
static void DGtal::Display3DFactory< TSpace, TKSpace >::draw ( Display & display,
const DGtal::SetMode3D & anObject )
static

draw.This function will create new sublists for Display3D models.

Parameters
displaythe display where to draw
anObjectthe object to draw

◆ draw() [22/31]

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
static void DGtal::Display3DFactory< TSpace, TKSpace >::draw ( Display & display,
const DGtal::SetName3D & aName3d )
static

Set the "OpenGL name" of future graphical commands.

Parameters
displaythe display where to draw
aName3dan object storing the "OpenGL" name.

◆ draw() [23/31]

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
static void DGtal::Display3DFactory< TSpace, TKSpace >::draw ( Display & display,
const DGtal::SetSelectCallback3D & aFct )
static

Set the callback function when selecting an object (e.g. shift

  • left click in QGLViewer).
Parameters
displaythe display where to draw
aFctan object storing the callback function.

◆ draw() [24/31]

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
template<typename TVector >
static void DGtal::Display3DFactory< TSpace, TKSpace >::draw ( Display & display,
const DGtal::SphericalAccumulator< TVector > & accumulator,
const DGtal::Z3i::RealVector & shift = DGtal::Z3i::RealVector(0, 0, 0),
const double radius = 1.0 )
static

Display an spherical accumulator in 3D. Bin values are mapped using a default HueShadeColorMap.

Parameters
displaythe display where to draw current display
accumulatorthe accumulator to display
shifttranslate vector for display purposes (default: zero vector)
radiusscale factor for the unit sphere radius (default:1)
Template Parameters
TVectora vector model

◆ draw() [25/31]

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
template<typename TIterator , typename TInteger , int connectivity>
static void DGtal::Display3DFactory< TSpace, TKSpace >::draw ( Display & display,
const DGtal::StandardDSS6Computer< TIterator, TInteger, connectivity > & anObject )
static

draw

Parameters
displaythe display where to draw
anObjectthe object to draw

◆ draw() [26/31]

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
static void DGtal::Display3DFactory< TSpace, TKSpace >::draw ( Display & display,
const DGtal::TransformedPrism & aTransformedPrism )
static

Draw a surfel

Parameters
displaythe display where to draw
aTransformedPrisma transformed surfel prism

◆ draw() [27/31]

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
static void DGtal::Display3DFactory< TSpace, TKSpace >::draw ( Display & display,
const typename KSpace::Cell & anObject )
static

draw

Parameters
displaythe display where to draw
anObjectthe object to draw

◆ draw() [28/31]

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
static void DGtal::Display3DFactory< TSpace, TKSpace >::draw ( Display & display,
const typename KSpace::SCell & anObject )
static

draw

Parameters
displaythe display where to draw
anObjectthe object to draw

◆ draw() [29/31]

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
template<Dimension dimEmbedded, Dimension dimAmbient, typename TLinearAlgebraBackend , typename TInteger >
static void DGtal::Display3DFactory< TSpace, TKSpace >::draw ( Display3D< Space, KSpace > & display,
const DGtal::DiscreteExteriorCalculus< dimEmbedded, dimAmbient, TLinearAlgebraBackend, TInteger > & calculus )
static

◆ draw() [30/31]

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
template<typename Calculus , DGtal::Order order, DGtal::Duality duality>
static void DGtal::Display3DFactory< TSpace, TKSpace >::draw ( Display3D< Space, KSpace > & display,
const DGtal::KForm< Calculus, order, duality > & kform,
double cmap_min = 0,
double cmap_max = 0 )
static

◆ draw() [31/31]

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
template<typename Calculus , DGtal::Duality duality>
static void DGtal::Display3DFactory< TSpace, TKSpace >::draw ( Display3D< Space, KSpace > & display,
const DGtal::VectorField< Calculus, duality > & vector_field,
const double & scale = 0.5,
const double & epsilon = 1e-5,
const DGtal::Color color = DGtal::Color::Black )
static

◆ drawAsBalls() [1/2]

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
template<typename TIterator , typename TInteger , int connectivity>
static void DGtal::Display3DFactory< TSpace, TKSpace >::drawAsBalls ( Display & display,
const DGtal::Naive3DDSSComputer< TIterator, TInteger, connectivity > & anObject )
static

drawAsBalls

Parameters
displaythe display where to draw
anObjectthe object to draw

◆ drawAsBalls() [2/2]

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
template<typename TIterator , typename TInteger , int connectivity>
static void DGtal::Display3DFactory< TSpace, TKSpace >::drawAsBalls ( Display & display,
const DGtal::StandardDSS6Computer< TIterator, TInteger, connectivity > & anObject )
static

drawAsBalls

Parameters
displaythe display where to draw
anObjectthe object to draw

◆ drawAsBoundingBox() [1/3]

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
template<typename SpaceDom >
static void DGtal::Display3DFactory< TSpace, TKSpace >::drawAsBoundingBox ( Display & display,
const DGtal::HyperRectDomain< SpaceDom > & anObject )
static

drawAsBoundingBox

Parameters
displaythe display where to draw
anObjectthe object to draw

◆ drawAsBoundingBox() [2/3]

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
template<typename TIterator , typename TInteger , int connectivity>
static void DGtal::Display3DFactory< TSpace, TKSpace >::drawAsBoundingBox ( Display & display,
const DGtal::Naive3DDSSComputer< TIterator, TInteger, connectivity > & anObject )
static

drawAsBoundingBox

Parameters
displaythe display where to draw
anObjectthe object to draw

◆ drawAsBoundingBox() [3/3]

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
template<typename TIterator , typename TInteger , int connectivity>
static void DGtal::Display3DFactory< TSpace, TKSpace >::drawAsBoundingBox ( Display & display,
const DGtal::StandardDSS6Computer< TIterator, TInteger, connectivity > & anObject )
static

drawAsBoundingBox

Parameters
displaythe display where to draw
anObjectthe object to draw

◆ drawAsFaces()

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
template<typename TPoint >
static void DGtal::Display3DFactory< TSpace, TKSpace >::drawAsFaces ( Display & display,
const DGtal::Mesh< TPoint > & aMesh )
static

drawAsFaces

Parameters
displaythe display where to draw
aMeshthe mesh to draw

◆ drawAsGrid() [1/5]

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
template<typename Domain , typename Container >
static void DGtal::Display3DFactory< TSpace, TKSpace >::drawAsGrid ( Display & display,
const DGtal::DigitalSetByAssociativeContainer< Domain, Container > & anObject )
static

drawAsGrid

Parameters
displaythe display where to draw
anObjectthe object to draw

◆ drawAsGrid() [2/5]

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
template<typename Domain , typename Compare >
static void DGtal::Display3DFactory< TSpace, TKSpace >::drawAsGrid ( Display & display,
const DGtal::DigitalSetBySTLSet< Domain, Compare > & anObject )
static

drawAsGrid

Parameters
displaythe display where to draw
anObjectthe object to draw

◆ drawAsGrid() [3/5]

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
template<typename Domain >
static void DGtal::Display3DFactory< TSpace, TKSpace >::drawAsGrid ( Display & display,
const DGtal::DigitalSetBySTLVector< Domain > & anObject )
static

drawAsGrid

Parameters
displaythe display where to draw
anObjectthe object to draw

◆ drawAsGrid() [4/5]

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
template<typename SpaceDom >
static void DGtal::Display3DFactory< TSpace, TKSpace >::drawAsGrid ( Display & display,
const DGtal::HyperRectDomain< SpaceDom > & anObject )
static

drawAsGrid

Parameters
displaythe display where to draw
anObjectthe object to draw

◆ drawAsGrid() [5/5]

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
template<Dimension dim, typename TComponent , typename TContainer >
static void DGtal::Display3DFactory< TSpace, TKSpace >::drawAsGrid ( Display & display,
const DGtal::PointVector< dim, TComponent, TContainer > & anObject )
static

drawAsGrid

Parameters
displaythe display where to draw
anObjectthe object to draw

◆ drawAsPaving() [1/5]

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
template<typename Domain , typename Container >
static void DGtal::Display3DFactory< TSpace, TKSpace >::drawAsPaving ( Display & display,
const DGtal::DigitalSetByAssociativeContainer< Domain, Container > & anObject )
static

drawAsPaving

Parameters
displaythe display where to draw
anObjectthe object to draw

◆ drawAsPaving() [2/5]

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
template<typename Domain , typename Compare >
static void DGtal::Display3DFactory< TSpace, TKSpace >::drawAsPaving ( Display & display,
const DGtal::DigitalSetBySTLSet< Domain, Compare > & anObject )
static

drawAsPaving

Parameters
displaythe display where to draw
anObjectthe object to draw

◆ drawAsPaving() [3/5]

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
template<typename Domain >
static void DGtal::Display3DFactory< TSpace, TKSpace >::drawAsPaving ( Display & display,
const DGtal::DigitalSetBySTLVector< Domain > & anObject )
static

drawAsPaving

Parameters
displaythe display where to draw
anObjectthe object to draw

◆ drawAsPaving() [4/5]

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
template<typename SpaceDom >
static void DGtal::Display3DFactory< TSpace, TKSpace >::drawAsPaving ( Display & display,
const DGtal::HyperRectDomain< SpaceDom > & anObject )
static

drawAsPaving

Parameters
displaythe display where to draw
anObjectthe object to draw

◆ drawAsPaving() [5/5]

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
template<Dimension dim, typename TComponent , typename TContainer >
static void DGtal::Display3DFactory< TSpace, TKSpace >::drawAsPaving ( Display & display,
const DGtal::PointVector< dim, TComponent, TContainer > & anObject )
static

drawAsPaving

Parameters
displaythe display where to draw
anObjectthe object to draw

◆ drawAsPavingBalls()

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
template<typename SpaceDom >
static void DGtal::Display3DFactory< TSpace, TKSpace >::drawAsPavingBalls ( Display & display,
const DGtal::HyperRectDomain< SpaceDom > & anObject )
static

drawAsPavingBalls

Parameters
displaythe display where to draw
anObjectthe object to draw

◆ drawAsPavingTransparent() [1/3]

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
template<typename Domain , typename Container >
static void DGtal::Display3DFactory< TSpace, TKSpace >::drawAsPavingTransparent ( Display & display,
const DGtal::DigitalSetByAssociativeContainer< Domain, Container > & anObject )
static

drawAsPavingTransparent

Parameters
displaythe display where to draw
anObjectthe object to draw

◆ drawAsPavingTransparent() [2/3]

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
template<typename Domain , typename Compare >
static void DGtal::Display3DFactory< TSpace, TKSpace >::drawAsPavingTransparent ( Display & display,
const DGtal::DigitalSetBySTLSet< Domain, Compare > & anObject )
static

drawAsPavingTransparent

Parameters
displaythe display where to draw
anObjectthe object to draw

◆ drawAsPavingTransparent() [3/3]

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
template<typename Domain >
static void DGtal::Display3DFactory< TSpace, TKSpace >::drawAsPavingTransparent ( Display & display,
const DGtal::DigitalSetBySTLVector< Domain > & anObject )
static

drawAsPavingTransparent

Parameters
displaythe display where to draw
anObjectthe object to draw

◆ drawAsPavingWired()

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
template<Dimension dim, typename TComponent , typename TContainer >
static void DGtal::Display3DFactory< TSpace, TKSpace >::drawAsPavingWired ( Display & display,
const DGtal::PointVector< dim, TComponent, TContainer > & anObject )
static

drawAsPavingWired

Parameters
displaythe display where to draw
anObjectthe object to draw

◆ drawOrientedSurfelWithNormal()

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
static void DGtal::Display3DFactory< TSpace, TKSpace >::drawOrientedSurfelWithNormal ( Display & display,
const typename KSpace::SCell & aSignedCell,
const RealVector & aNormal,
const bool enableDoubleFace = false )
static

Draw K-signed cell with normal vector We use the surfel orientation to create the properly oriented Quad.

Parameters
displaythe display where to draw
aSignedCellthe signed cell to draw
aNormala unitary normal vector
enableDoubleFaceif true, two quad (with opposite normal vector) will be drawn.

Referenced by main(), and testBallQuad().

◆ drawUnorientedSurfelWithNormal()

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
static void DGtal::Display3DFactory< TSpace, TKSpace >::drawUnorientedSurfelWithNormal ( Display & display,
const typename KSpace::Cell & anObject,
const RealVector & aNormal,
const bool enableDoubleFace = false )
static

Draw K-cell with normal vector

We use the normal vector to orient the quad properly. As a consequence, the angle between the normal vector and the canonical normal vector attached to the oriented quad is less than pi/2.

Parameters
displaythe display where to draw
anObjectthe object to draw
aNormala unitary normal vector
enableDoubleFaceif true, two quad (with opposite normal vector) will be drawn.

Referenced by main(), and testQuadNorm().

◆ drawWithAdjacencies()

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
template<typename TDigitalTopology , typename TDigitalSet >
static void DGtal::Display3DFactory< TSpace, TKSpace >::drawWithAdjacencies ( Display & display,
const DGtal::Object< TDigitalTopology, TDigitalSet > & anObject )
static

drawWithAdjacencies

Parameters
displaythe display where to draw
anObjectthe object to draw

◆ drawWithColorMap()

template<typename TSpace = Z3i::Space, typename TKSpace = Z3i::KSpace>
template<typename Calculus , DGtal::Order order, DGtal::Duality duality, typename ColorMap >
static void DGtal::Display3DFactory< TSpace, TKSpace >::drawWithColorMap ( Display3D< Space, KSpace > & display,
const DGtal::KForm< Calculus, order, duality > & kform,
const ColorMap & colormap )
static

The documentation for this struct was generated from the following file: