DGtal  1.5.beta
DGtal::IntersectionTargetTrait< TSpace, TSeparation, TDimension > Struct Template Reference

Aim: A class for intersection target used for voxelization. More...

#include <DGtal/shapes/IntersectionTarget.h>

Inheritance diagram for DGtal::IntersectionTargetTrait< TSpace, TSeparation, TDimension >:
[legend]

Data Structures

struct  Edge
 Internal Edge structure. More...
 
struct  IntersectionTarget
 Internal intersection target structure. More...
 
struct  IntersectionTarget< Space, 26, 1 >
 
struct  IntersectionTarget< Space, 6, 1 >
 

Public Types

using Space2D = SpaceND< 2, typename TSpace::Integer >
 
using PointR3 = typename TSpace::RealPoint
 
using VectorR3 = typename TSpace::RealPoint
 
using PointR2 = typename Space2D::RealPoint
 
using Type = IntersectionTarget< TSpace, TSeparation, TDimension >
 

Public Member Functions

 BOOST_STATIC_ASSERT_MSG (TSpace::dimension==3, "DigitalSet dimension must be 3")
 Digital Set dimension Checking. More...
 
 BOOST_STATIC_ASSERT_MSG (TSeparation==6||TSeparation==26, "Separation must be 6 or 26")
 Separation Checking. More...
 
 BOOST_STATIC_ASSERT_MSG (TDimension==1, "Currently only 1D intersection target is implemented")
 Dimension of the intersection target checking. More...
 
 IntersectionTargetTrait ()=delete
 

Detailed Description

template<typename TSpace, size_t TSeparation, size_t TDimension = 1>
struct DGtal::IntersectionTargetTrait< TSpace, TSeparation, TDimension >

Aim: A class for intersection target used for voxelization.

Description of template class 'IntersectionTarget'

See also
MeshVoxelizer
Template Parameters
TSpacespace of the digitalset
TSeparationstrategy of the voxelization (6 or 26)
TDimensiondimension of the intersection target

Definition at line 57 of file IntersectionTarget.h.

Member Typedef Documentation

◆ PointR2

template<typename TSpace , size_t TSeparation, size_t TDimension = 1>
using DGtal::IntersectionTargetTrait< TSpace, TSeparation, TDimension >::PointR2 = typename Space2D::RealPoint

Definition at line 81 of file IntersectionTarget.h.

◆ PointR3

template<typename TSpace , size_t TSeparation, size_t TDimension = 1>
using DGtal::IntersectionTargetTrait< TSpace, TSeparation, TDimension >::PointR3 = typename TSpace::RealPoint

Definition at line 79 of file IntersectionTarget.h.

◆ Space2D

template<typename TSpace , size_t TSeparation, size_t TDimension = 1>
using DGtal::IntersectionTargetTrait< TSpace, TSeparation, TDimension >::Space2D = SpaceND<2, typename TSpace::Integer>

Definition at line 78 of file IntersectionTarget.h.

◆ Type

template<typename TSpace , size_t TSeparation, size_t TDimension = 1>
using DGtal::IntersectionTargetTrait< TSpace, TSeparation, TDimension >::Type = IntersectionTarget<TSpace, TSeparation, TDimension>

Definition at line 82 of file IntersectionTarget.h.

◆ VectorR3

template<typename TSpace , size_t TSeparation, size_t TDimension = 1>
using DGtal::IntersectionTargetTrait< TSpace, TSeparation, TDimension >::VectorR3 = typename TSpace::RealPoint

Definition at line 80 of file IntersectionTarget.h.

Constructor & Destructor Documentation

◆ IntersectionTargetTrait()

template<typename TSpace , size_t TSeparation, size_t TDimension = 1>
DGtal::IntersectionTargetTrait< TSpace, TSeparation, TDimension >::IntersectionTargetTrait ( )
delete

Remove of default constructor

Member Function Documentation

◆ BOOST_STATIC_ASSERT_MSG() [1/3]

template<typename TSpace , size_t TSeparation, size_t TDimension = 1>
DGtal::IntersectionTargetTrait< TSpace, TSeparation, TDimension >::BOOST_STATIC_ASSERT_MSG ( TDimension  = =1,
"Currently only 1D intersection target is implemented"   
)

Dimension of the intersection target checking.

◆ BOOST_STATIC_ASSERT_MSG() [2/3]

template<typename TSpace , size_t TSeparation, size_t TDimension = 1>
DGtal::IntersectionTargetTrait< TSpace, TSeparation, TDimension >::BOOST_STATIC_ASSERT_MSG ( TSeparation  = =6||TSeparation==26,
"Separation must be 6 or 26"   
)

Separation Checking.

◆ BOOST_STATIC_ASSERT_MSG() [3/3]

template<typename TSpace , size_t TSeparation, size_t TDimension = 1>
DGtal::IntersectionTargetTrait< TSpace, TSeparation, TDimension >::BOOST_STATIC_ASSERT_MSG ( TSpace::dimension  = =3,
"DigitalSet dimension must be 3"   
)

Digital Set dimension Checking.


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