INFO804 Introduction à l'informatique graphique
Loading...
Searching...
No Matches
Public Member Functions | List of all members
rt::Image2D< TValue >::Iterator Struct Reference

Un itérateur (non-constant) simple sur l'image. More...

#include <Image2D.h>

Inheritance diagram for rt::Image2D< TValue >::Iterator:

Public Member Functions

 Iterator (const ContainerIterator &other)
 
 Iterator (Self &image, int x, int y)
 
Iteratoroperator= (const ContainerIterator &other)
 

Detailed Description

template<typename TValue>
struct rt::Image2D< TValue >::Iterator

Un itérateur (non-constant) simple sur l'image.

Definition at line 18 of file Image2D.h.

Constructor & Destructor Documentation

◆ Iterator() [1/2]

template<typename TValue >
rt::Image2D< TValue >::Iterator::Iterator ( const ContainerIterator &  other)
inline

Definition at line 19 of file Image2D.h.

20 : ContainerIterator( other )
21 {}

◆ Iterator() [2/2]

template<typename TValue >
rt::Image2D< TValue >::Iterator::Iterator ( Self image,
int  x,
int  y 
)
inline

Definition at line 22 of file Image2D.h.

23 : ContainerIterator( image.m_data.begin() + image.index( x, y ) )
24 {}

Member Function Documentation

◆ operator=()

template<typename TValue >
Iterator & rt::Image2D< TValue >::Iterator::operator= ( const ContainerIterator &  other)
inline

Definition at line 25 of file Image2D.h.

26 {
27 ContainerIterator::operator=( other );
28 return *this;
29 }

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