DGtal  1.5.beta
DGtal::concepts::CTrivialImage< I > Struct Template Reference

Aim: Defines the concept describing an image without extra ranges, which is a refinement of CTrivialConstImage. More...

#include <DGtal/images/CTrivialImage.h>

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

Public Member Functions

 BOOST_CONCEPT_USAGE (CTrivialImage)
 
- Public Member Functions inherited from DGtal::concepts::CTrivialConstImage< I >
 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< X, A, R >
 BOOST_CONCEPT_USAGE (CUnaryFunctor)
 

Private Attributes

myI
 
I::Point myPoint
 
I::Value myValue
 

Additional Inherited Members

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

Detailed Description

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

Aim: Defines the concept describing an image without extra ranges, which is a refinement of CTrivialConstImage.

Description of concept 'CTrivialImage'

Refinement of

Associated types

Notation

  • X : A type that is a model of CTrivialImage
  • x, y : Object of type X
  • p, v : Objects of type Point and Value

Definitions

Valid expressions and semantics

Name Expression Type requirements Return type Precondition Semantics Post condition Complexity
Set value x.setValue(p,v) set a given value v to a given point p

Invariants

Models

ImageContainerBySTLVector, ImageContainerBySTLMap, ImageContainerByITKImage, ImageContainerByHashTree

Definition at line 84 of file CTrivialImage.h.

Member Function Documentation

◆ BOOST_CONCEPT_USAGE()

Field Documentation

◆ myI

template<typename I >
I DGtal::concepts::CTrivialImage< I >::myI
private

◆ myPoint

template<typename I >
I::Point DGtal::concepts::CTrivialImage< I >::myPoint
private

◆ myValue

template<typename I >
I::Value DGtal::concepts::CTrivialImage< I >::myValue
private

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