DGtal  1.1.0
Public Types | Public Member Functions | Private Attributes
DGtal::concepts::CTrivialConstImage< I > Struct Template Reference

Aim: Defines the concept describing a read-only image, which is a refinement of CPointFunctor. More...

#include <DGtal/images/CTrivialConstImage.h>

Inheritance diagram for DGtal::concepts::CTrivialConstImage< I >:
[legend]
Collaboration diagram for DGtal::concepts::CTrivialConstImage< I >:
[legend]

Public Types

typedef I::Domain Domain
 
- Public Types inherited from DGtal::concepts::CPointFunctor< I >
typedef T::Point Point
 
typedef T::Value Value
 

Public Member Functions

 BOOST_CONCEPT_ASSERT ((CLabel< typename I::Value >))
 
 BOOST_CONCEPT_ASSERT ((concepts::CDomain< Domain >))
 
 BOOST_CONCEPT_USAGE (CTrivialConstImage)
 
- Public Member Functions inherited from DGtal::concepts::CUnaryFunctor< I, T::Point, T::Value >
 BOOST_CONCEPT_USAGE (CUnaryFunctor)
 

Private Attributes

i
 
Domain d
 

Detailed Description

template<typename I>
struct DGtal::concepts::CTrivialConstImage< I >

Aim: Defines the concept describing a read-only image, which is a refinement of CPointFunctor.

Description of concept 'CTrivialConstImage'

Refinement of

CPointFunctor

Associated types

Notation

Definitions

Valid expressions and semantics

Name Expression Type requirements Return type Precondition Semantics Post condition Complexity
Accessor to the domain x.domain() const Domain & returns a const reference to the image domain O(1)

Invariants

Models

ImageContainerBySTLVector, ImageContainerBySTLMap, ImageContainerByITKImage, ImageContainerByHashTree

Definition at line 88 of file CTrivialConstImage.h.

Member Typedef Documentation

◆ Domain

template<typename I >
typedef I::Domain DGtal::concepts::CTrivialConstImage< I >::Domain

Definition at line 95 of file CTrivialConstImage.h.

Member Function Documentation

◆ BOOST_CONCEPT_ASSERT() [1/2]

template<typename I >
DGtal::concepts::CTrivialConstImage< I >::BOOST_CONCEPT_ASSERT ( (CLabel< typename I::Value >)  )

◆ BOOST_CONCEPT_ASSERT() [2/2]

template<typename I >
DGtal::concepts::CTrivialConstImage< I >::BOOST_CONCEPT_ASSERT ( (concepts::CDomain< Domain >)  )

◆ BOOST_CONCEPT_USAGE()

template<typename I >
DGtal::concepts::CTrivialConstImage< I >::BOOST_CONCEPT_USAGE ( CTrivialConstImage< I >  )
inline

Field Documentation

◆ d

template<typename I >
Domain DGtal::concepts::CTrivialConstImage< I >::d
private

◆ i

template<typename I >
I DGtal::concepts::CTrivialConstImage< I >::i
private

The documentation for this struct was generated from the following file:
DGtal::concepts::ConceptUtils::sameType
void sameType(const T &, const T &)
Definition: ConceptUtils.h:117
DGtal::concepts::CTrivialConstImage::d
Domain d
Definition: CTrivialConstImage.h:106
DGtal::concepts::CTrivialConstImage::i
I i
Definition: CTrivialConstImage.h:105