Public Member Functions | List of all members
gte::Image2< PixelType > Class Template Reference

#include <GteImage2.h>

Inheritance diagram for gte::Image2< PixelType >:
Inheritance graph
[legend]

Public Member Functions

PixelType & Get (int x, int y)
 
PixelType const & Get (int x, int y) const
 
PixelType & Get (std::array< int, 2 > coord)
 
PixelType const & Get (std::array< int, 2 > coord) const
 
void GetCoordinates (size_t index, int &x, int &y) const
 
std::array< int, 2 > GetCoordinates (size_t index) const
 
void GetCorners (std::array< int, 4 > &nbr) const
 
void GetCorners (int x, int y, std::array< size_t, 4 > &nbr) const
 
void GetCorners (std::array< std::array< int, 2 >, 4 > &nbr) const
 
void GetCorners (int x, int y, std::array< std::array< size_t, 2 >, 4 > &nbr) const
 
void GetFull (std::array< int, 9 > &nbr) const
 
void GetFull (int x, int y, std::array< size_t, 9 > &nbr) const
 
void GetFull (std::array< std::array< int, 2 >, 9 > &nbr) const
 
void GetFull (int x, int y, std::array< std::array< size_t, 2 >, 9 > &nbr) const
 
size_t GetIndex (int x, int y) const
 
size_t GetIndex (std::array< int, 2 > const &coord) const
 
void GetNeighborhood (std::array< int, 4 > &nbr) const
 
void GetNeighborhood (std::array< int, 8 > &nbr) const
 
void GetNeighborhood (int x, int y, std::array< size_t, 4 > &nbr) const
 
void GetNeighborhood (int x, int y, std::array< size_t, 8 > &nbr) const
 
void GetNeighborhood (std::array< std::array< int, 2 >, 4 > &nbr) const
 
void GetNeighborhood (std::array< std::array< int, 2 >, 8 > &nbr) const
 
void GetNeighborhood (int x, int y, std::array< std::array< size_t, 2 >, 4 > &nbr) const
 
void GetNeighborhood (int x, int y, std::array< std::array< size_t, 2 >, 8 > &nbr) const
 
 Image2 ()
 
 Image2 (int dimension0, int dimension1)
 
 Image2 (Image2 const &image)
 
 Image2 (Image2 &&image)
 
PixelType & operator() (int x, int y)
 
PixelType const & operator() (int x, int y) const
 
PixelType & operator() (std::array< int, 2 > const &coord)
 
PixelType const & operator() (std::array< int, 2 > const &coord) const
 
Image2operator= (Image2 const &image)
 
Image2operator= (Image2 &&image)
 
void Reconstruct (int dimension0, int dimension1)
 
virtual ~Image2 ()
 
- Public Member Functions inherited from gte::Image< PixelType >
PixelType & Get (size_t i)
 
PixelType const & Get (size_t i) const
 
void GetCoordinates (size_t index, int *coord) const
 
int GetDimension (int d) const
 
std::vector< int > const & GetDimensions () const
 
size_t GetIndex (int const *coord) const
 
int GetNumDimensions () const
 
size_t GetNumPixels () const
 
size_t GetOffset (int d) const
 
std::vector< size_t > const & GetOffsets () const
 
std::vector< PixelType > const & GetPixels () const
 
std::vector< PixelType > & GetPixels ()
 
 Image ()
 
 Image (std::vector< int > const &dimensions)
 
 Image (Image const &image)
 
 Image (Image &&image)
 
Imageoperator= (Image const &image)
 
Imageoperator= (Image &&image)
 
PixelType & operator[] (size_t i)
 
PixelType const & operator[] (size_t i) const
 
void Reconstruct (std::vector< int > const &dimensions)
 
virtual ~Image ()
 

Additional Inherited Members

- Protected Attributes inherited from gte::Image< PixelType >
std::vector< intmDimensions
 
std::vector< size_t > mOffsets
 
std::vector< PixelType > mPixels
 

Detailed Description

template<typename PixelType>
class gte::Image2< PixelType >

Definition at line 17 of file GteImage2.h.

Constructor & Destructor Documentation

template<typename PixelType >
gte::Image2< PixelType >::~Image2 ( )
virtual

Definition at line 96 of file GteImage2.h.

template<typename PixelType >
gte::Image2< PixelType >::Image2 ( )

Definition at line 101 of file GteImage2.h.

template<typename PixelType >
gte::Image2< PixelType >::Image2 ( int  dimension0,
int  dimension1 
)

Definition at line 106 of file GteImage2.h.

template<typename PixelType >
gte::Image2< PixelType >::Image2 ( Image2< PixelType > const &  image)

Definition at line 113 of file GteImage2.h.

template<typename PixelType >
gte::Image2< PixelType >::Image2 ( Image2< PixelType > &&  image)

Definition at line 127 of file GteImage2.h.

Member Function Documentation

template<typename PixelType >
PixelType & gte::Image2< PixelType >::Get ( int  x,
int  y 
)
inline

Definition at line 296 of file GteImage2.h.

template<typename PixelType >
PixelType const & gte::Image2< PixelType >::Get ( int  x,
int  y 
) const
inline

Definition at line 321 of file GteImage2.h.

template<typename PixelType >
PixelType & gte::Image2< PixelType >::Get ( std::array< int, 2 >  coord)
inline

Definition at line 346 of file GteImage2.h.

template<typename PixelType >
PixelType const & gte::Image2< PixelType >::Get ( std::array< int, 2 >  coord) const
inline

Definition at line 365 of file GteImage2.h.

template<typename PixelType >
void gte::Image2< PixelType >::GetCoordinates ( size_t  index,
int x,
int y 
) const
inline

Definition at line 184 of file GteImage2.h.

template<typename PixelType >
std::array< int, 2 > gte::Image2< PixelType >::GetCoordinates ( size_t  index) const
inline

Definition at line 205 of file GteImage2.h.

template<typename PixelType >
void gte::Image2< PixelType >::GetCorners ( std::array< int, 4 > &  nbr) const

Definition at line 408 of file GteImage2.h.

template<typename PixelType >
void gte::Image2< PixelType >::GetCorners ( int  x,
int  y,
std::array< size_t, 4 > &  nbr 
) const

Definition at line 457 of file GteImage2.h.

template<typename PixelType >
void gte::Image2< PixelType >::GetCorners ( std::array< std::array< int, 2 >, 4 > &  nbr) const

Definition at line 503 of file GteImage2.h.

template<typename PixelType >
void gte::Image2< PixelType >::GetCorners ( int  x,
int  y,
std::array< std::array< size_t, 2 >, 4 > &  nbr 
) const

Definition at line 550 of file GteImage2.h.

template<typename PixelType >
void gte::Image2< PixelType >::GetFull ( std::array< int, 9 > &  nbr) const

Definition at line 418 of file GteImage2.h.

template<typename PixelType >
void gte::Image2< PixelType >::GetFull ( int  x,
int  y,
std::array< size_t, 9 > &  nbr 
) const

Definition at line 469 of file GteImage2.h.

template<typename PixelType >
void gte::Image2< PixelType >::GetFull ( std::array< std::array< int, 2 >, 9 > &  nbr) const

Definition at line 512 of file GteImage2.h.

template<typename PixelType >
void gte::Image2< PixelType >::GetFull ( int  x,
int  y,
std::array< std::array< size_t, 2 >, 9 > &  nbr 
) const

Definition at line 562 of file GteImage2.h.

template<typename PixelType >
size_t gte::Image2< PixelType >::GetIndex ( int  x,
int  y 
) const
inline

Definition at line 146 of file GteImage2.h.

template<typename PixelType >
size_t gte::Image2< PixelType >::GetIndex ( std::array< int, 2 > const &  coord) const
inline

Definition at line 165 of file GteImage2.h.

template<typename PixelType >
void gte::Image2< PixelType >::GetNeighborhood ( std::array< int, 4 > &  nbr) const

Definition at line 384 of file GteImage2.h.

template<typename PixelType >
void gte::Image2< PixelType >::GetNeighborhood ( std::array< int, 8 > &  nbr) const

Definition at line 394 of file GteImage2.h.

template<typename PixelType >
void gte::Image2< PixelType >::GetNeighborhood ( int  x,
int  y,
std::array< size_t, 4 > &  nbr 
) const

Definition at line 433 of file GteImage2.h.

template<typename PixelType >
void gte::Image2< PixelType >::GetNeighborhood ( int  x,
int  y,
std::array< size_t, 8 > &  nbr 
) const

Definition at line 445 of file GteImage2.h.

template<typename PixelType >
void gte::Image2< PixelType >::GetNeighborhood ( std::array< std::array< int, 2 >, 4 > &  nbr) const

Definition at line 481 of file GteImage2.h.

template<typename PixelType >
void gte::Image2< PixelType >::GetNeighborhood ( std::array< std::array< int, 2 >, 8 > &  nbr) const

Definition at line 490 of file GteImage2.h.

template<typename PixelType >
void gte::Image2< PixelType >::GetNeighborhood ( int  x,
int  y,
std::array< std::array< size_t, 2 >, 4 > &  nbr 
) const

Definition at line 526 of file GteImage2.h.

template<typename PixelType >
void gte::Image2< PixelType >::GetNeighborhood ( int  x,
int  y,
std::array< std::array< size_t, 2 >, 8 > &  nbr 
) const

Definition at line 538 of file GteImage2.h.

template<typename PixelType >
PixelType & gte::Image2< PixelType >::operator() ( int  x,
int  y 
)
inline

Definition at line 228 of file GteImage2.h.

template<typename PixelType >
PixelType const & gte::Image2< PixelType >::operator() ( int  x,
int  y 
) const
inline

Definition at line 245 of file GteImage2.h.

template<typename PixelType >
PixelType & gte::Image2< PixelType >::operator() ( std::array< int, 2 > const &  coord)
inline

Definition at line 262 of file GteImage2.h.

template<typename PixelType >
PixelType const & gte::Image2< PixelType >::operator() ( std::array< int, 2 > const &  coord) const
inline

Definition at line 279 of file GteImage2.h.

template<typename PixelType >
Image2< PixelType > & gte::Image2< PixelType >::operator= ( Image2< PixelType > const &  image)

Definition at line 120 of file GteImage2.h.

template<typename PixelType >
Image2< PixelType > & gte::Image2< PixelType >::operator= ( Image2< PixelType > &&  image)

Definition at line 133 of file GteImage2.h.

template<typename PixelType >
void gte::Image2< PixelType >::Reconstruct ( int  dimension0,
int  dimension1 
)

Definition at line 140 of file GteImage2.h.


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


geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:06