DGtal  0.9.3beta
Public Types | Public Member Functions | Private Attributes
DGtal::concepts::CPointEmbedder< T > Struct Template Reference

#include <DGtal/kernel/CPointEmbedder.h>

Inheritance diagram for DGtal::concepts::CPointEmbedder< T >:
[legend]
Collaboration diagram for DGtal::concepts::CPointEmbedder< T >:
[legend]

Public Types

typedef T::Space Space
 
typedef T::Point Point
 
typedef T::RealPoint RealPoint
 
typedef T::Argument Argument
 
typedef T::Value Value
 

Public Member Functions

 BOOST_CONCEPT_ASSERT ((CSpace< Space >))
 
 BOOST_STATIC_ASSERT ((ConceptUtils::SameType< Point, typename Space::Point >::value))
 
 BOOST_STATIC_ASSERT ((ConceptUtils::SameType< Point, Argument >::value))
 
 BOOST_STATIC_ASSERT ((ConceptUtils::SameType< RealPoint, typename Space::RealPoint >::value))
 
 BOOST_STATIC_ASSERT ((ConceptUtils::SameType< RealPoint, Value >::value))
 
 BOOST_CONCEPT_USAGE (CPointEmbedder)
 
void checkConstConstraints () const
 
- Public Member Functions inherited from DGtal::concepts::CUnaryFunctor< T, T::Point, T::RealPoint >
 BOOST_CONCEPT_USAGE (CUnaryFunctor)
 

Private Attributes

myX
 
Point myP
 
RealPoint myRP
 

Detailed Description

template<typename T>
struct DGtal::concepts::CPointEmbedder< T >

Aim: A point embedder is a mapping from digital points to Euclidean points. It adds inner types to functor.

Description of concept 'CPointEmbedder'

Refinement of

Associated types :

Notation

Definitions

Valid expressions and semantics

Name Expression Type requirements Return type Precondition Semantics Post condition Complexity
Apply functionx(p)Value return the value of the function x on argument p

Invariants

Models

Notes

Template Parameters
Tthe type that should be a model of CPointEmbedder.

Definition at line 95 of file CPointEmbedder.h.

Member Typedef Documentation

template<typename T >
typedef T::Argument DGtal::concepts::CPointEmbedder< T >::Argument

Definition at line 102 of file CPointEmbedder.h.

template<typename T >
typedef T::Point DGtal::concepts::CPointEmbedder< T >::Point

Definition at line 100 of file CPointEmbedder.h.

template<typename T >
typedef T::RealPoint DGtal::concepts::CPointEmbedder< T >::RealPoint

Definition at line 101 of file CPointEmbedder.h.

template<typename T >
typedef T::Space DGtal::concepts::CPointEmbedder< T >::Space

Definition at line 99 of file CPointEmbedder.h.

template<typename T >
typedef T::Value DGtal::concepts::CPointEmbedder< T >::Value

Definition at line 103 of file CPointEmbedder.h.

Member Function Documentation

template<typename T >
DGtal::concepts::CPointEmbedder< T >::BOOST_CONCEPT_ASSERT ( (CSpace< Space >)  )
template<typename T >
DGtal::concepts::CPointEmbedder< T >::BOOST_CONCEPT_USAGE ( CPointEmbedder< T >  )
inline

Definition at line 110 of file CPointEmbedder.h.

References DGtal::concepts::CPointEmbedder< T >::checkConstConstraints().

111  {
113  }
template<typename T >
DGtal::concepts::CPointEmbedder< T >::BOOST_STATIC_ASSERT ( (ConceptUtils::SameType< Point, typename Space::Point >::value)  )
template<typename T >
DGtal::concepts::CPointEmbedder< T >::BOOST_STATIC_ASSERT ( (ConceptUtils::SameType< Point, Argument >::value)  )
template<typename T >
DGtal::concepts::CPointEmbedder< T >::BOOST_STATIC_ASSERT ( (ConceptUtils::SameType< RealPoint, typename Space::RealPoint >::value)  )
template<typename T >
DGtal::concepts::CPointEmbedder< T >::BOOST_STATIC_ASSERT ( (ConceptUtils::SameType< RealPoint, Value >::value)  )
template<typename T >
void DGtal::concepts::CPointEmbedder< T >::checkConstConstraints ( ) const
inline

Field Documentation

template<typename T >
Point DGtal::concepts::CPointEmbedder< T >::myP
private
template<typename T >
RealPoint DGtal::concepts::CPointEmbedder< T >::myRP
private
template<typename T >
T DGtal::concepts::CPointEmbedder< T >::myX
private

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