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

#include <GteImage.h>

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

Public Member Functions

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 ()
 

Protected Attributes

std::vector< intmDimensions
 
std::vector< size_t > mOffsets
 
std::vector< PixelType > mPixels
 

Detailed Description

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

Definition at line 21 of file GteImage.h.

Constructor & Destructor Documentation

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

Definition at line 75 of file GteImage.h.

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

Definition at line 80 of file GteImage.h.

template<typename PixelType >
gte::Image< PixelType >::Image ( std::vector< int > const &  dimensions)

Definition at line 85 of file GteImage.h.

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

Definition at line 91 of file GteImage.h.

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

Definition at line 106 of file GteImage.h.

Member Function Documentation

template<typename PixelType >
PixelType & gte::Image< PixelType >::Get ( size_t  i)

Definition at line 242 of file GteImage.h.

template<typename PixelType >
PixelType const & gte::Image< PixelType >::Get ( size_t  i) const

Definition at line 248 of file GteImage.h.

template<typename PixelType >
void gte::Image< PixelType >::GetCoordinates ( size_t  index,
int coord 
) const

Definition at line 218 of file GteImage.h.

template<typename PixelType >
int gte::Image< PixelType >::GetDimension ( int  d) const
inline

Definition at line 169 of file GteImage.h.

template<typename PixelType >
std::vector< int > const & gte::Image< PixelType >::GetDimensions ( ) const
inline

Definition at line 157 of file GteImage.h.

template<typename PixelType >
size_t gte::Image< PixelType >::GetIndex ( int const *  coord) const

Definition at line 205 of file GteImage.h.

template<typename PixelType >
int gte::Image< PixelType >::GetNumDimensions ( ) const
inline

Definition at line 163 of file GteImage.h.

template<typename PixelType >
size_t gte::Image< PixelType >::GetNumPixels ( ) const
inline

Definition at line 193 of file GteImage.h.

template<typename PixelType >
size_t gte::Image< PixelType >::GetOffset ( int  d) const
inline

Definition at line 181 of file GteImage.h.

template<typename PixelType >
std::vector< size_t > const & gte::Image< PixelType >::GetOffsets ( ) const
inline

Definition at line 175 of file GteImage.h.

template<typename PixelType >
std::vector< PixelType > const & gte::Image< PixelType >::GetPixels ( ) const
inline

Definition at line 187 of file GteImage.h.

template<typename PixelType >
std::vector< PixelType > & gte::Image< PixelType >::GetPixels ( )
inline

Definition at line 199 of file GteImage.h.

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

Definition at line 97 of file GteImage.h.

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

Definition at line 112 of file GteImage.h.

template<typename PixelType >
PixelType & gte::Image< PixelType >::operator[] ( size_t  i)
inline

Definition at line 230 of file GteImage.h.

template<typename PixelType >
PixelType const & gte::Image< PixelType >::operator[] ( size_t  i) const
inline

Definition at line 236 of file GteImage.h.

template<typename PixelType >
void gte::Image< PixelType >::Reconstruct ( std::vector< int > const &  dimensions)

Definition at line 121 of file GteImage.h.

Member Data Documentation

template<typename PixelType>
std::vector<int> gte::Image< PixelType >::mDimensions
protected

Definition at line 68 of file GteImage.h.

template<typename PixelType>
std::vector<size_t> gte::Image< PixelType >::mOffsets
protected

Definition at line 69 of file GteImage.h.

template<typename PixelType>
std::vector<PixelType> gte::Image< PixelType >::mPixels
protected

Definition at line 70 of file GteImage.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