FaceGen 3 SDKs Reference
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
Fg::FimImgT< T > Struct Template Reference

Public Types

typedef T pixel_type
 
typedef std::vector< T >::const_iterator const_iterator
 
typedef std::vector< T >::iterator iterator
 

Public Member Functions

void init (int wid, int hgt)
 
void init (int wid, int hgt, T fill)
 
 FimImgT (int width, int height)
 
 FimImgT (int width, int height, T fill)
 
void resize (uint w, uint h)
 
void resize (uint w, uint h, T fill)
 
void clear ()
 
T * operator[] (size_t i)
 
T const * operator[] (size_t i) const
 
T * imageData ()
 
T const * imageData () const
 
const_iterator begin () const
 
const_iterator end () const
 
iterator begin ()
 
iterator end ()
 
uint width () const
 
uint height () const
 
uint widthStepType () const
 
uint widthStepByte () const
 
bool imageAllocated () const
 
FutVect2FC rcsToOics (FutVect2FC p) const
 
FutVect2FC rcsToOxcs (FutVect2FC) const
 
FutVect2FC oxcsToRcs (FutVect2FC) const
 
FimImgT< T > operator+ (const FimImgT< T > &operand) const
 
FimImgT< T > operator- (const FimImgT< T > &operand) const
 
FimImgT< T > operator* (T scalar) const
 
void operator*= (T scalar)
 
void fill (T scalar)
 
void setFromShrinkInt (const FimImgT< T > &, uint ws, uint hs)
 
FimImgT< T > shrinkInt (int sx, int sy) const
 
bool empty () const
 

Public Attributes

uint m_width
 
uint m_height
 
std::vector< T > m_image
 

Detailed Description

template<typename T>
struct Fg::FimImgT< T >

Definition at line 33 of file fimImg.hpp.

Member Typedef Documentation

◆ const_iterator

template<typename T >
typedef std::vector<T>::const_iterator Fg::FimImgT< T >::const_iterator

Definition at line 63 of file fimImg.hpp.

◆ iterator

template<typename T >
typedef std::vector<T>::iterator Fg::FimImgT< T >::iterator

Definition at line 64 of file fimImg.hpp.

◆ pixel_type

template<typename T >
typedef T Fg::FimImgT< T >::pixel_type

Definition at line 42 of file fimImg.hpp.

Constructor & Destructor Documentation

◆ FimImgT() [1/3]

template<typename T >
Fg::FimImgT< T >::FimImgT ( )
inline

Definition at line 47 of file fimImg.hpp.

◆ FimImgT() [2/3]

template<typename T >
Fg::FimImgT< T >::FimImgT ( int  width,
int  height 
)
inline

Definition at line 48 of file fimImg.hpp.

◆ FimImgT() [3/3]

template<typename T >
Fg::FimImgT< T >::FimImgT ( int  width,
int  height,
fill 
)
inline

Definition at line 49 of file fimImg.hpp.

Member Function Documentation

◆ begin() [1/2]

template<typename T >
iterator Fg::FimImgT< T >::begin ( )
inline

Definition at line 69 of file fimImg.hpp.

◆ begin() [2/2]

template<typename T >
const_iterator Fg::FimImgT< T >::begin ( ) const
inline

Definition at line 67 of file fimImg.hpp.

◆ clear()

template<typename T >
void Fg::FimImgT< T >::clear ( )
inline

Definition at line 52 of file fimImg.hpp.

◆ empty()

template<typename T >
bool Fg::FimImgT< T >::empty ( ) const
inline

Definition at line 101 of file fimImg.hpp.

◆ end() [1/2]

template<typename T >
iterator Fg::FimImgT< T >::end ( )
inline

Definition at line 70 of file fimImg.hpp.

◆ end() [2/2]

template<typename T >
const_iterator Fg::FimImgT< T >::end ( ) const
inline

Definition at line 68 of file fimImg.hpp.

◆ fill()

template<typename T >
void Fg::FimImgT< T >::fill ( scalar)

Definition at line 169 of file fimImg.hpp.

◆ height()

template<typename T >
uint Fg::FimImgT< T >::height ( ) const
inline

Definition at line 73 of file fimImg.hpp.

◆ imageAllocated()

template<typename T >
bool Fg::FimImgT< T >::imageAllocated ( ) const
inline

Definition at line 76 of file fimImg.hpp.

◆ imageData() [1/2]

template<typename T >
T * Fg::FimImgT< T >::imageData ( )
inline

Definition at line 60 of file fimImg.hpp.

◆ imageData() [2/2]

template<typename T >
T const * Fg::FimImgT< T >::imageData ( ) const
inline

Definition at line 61 of file fimImg.hpp.

◆ init() [1/2]

template<class T >
void Fg::FimImgT< T >::init ( int  wid,
int  hgt 
)

Definition at line 105 of file fimImg.hpp.

◆ init() [2/2]

template<class T >
void Fg::FimImgT< T >::init ( int  wid,
int  hgt,
fill 
)

Definition at line 113 of file fimImg.hpp.

◆ operator*()

template<typename T >
FimImgT< T > Fg::FimImgT< T >::operator* ( scalar) const

Definition at line 154 of file fimImg.hpp.

◆ operator*=()

template<typename T >
void Fg::FimImgT< T >::operator*= ( scalar)

Definition at line 162 of file fimImg.hpp.

◆ operator+()

template<typename T >
FimImgT< T > Fg::FimImgT< T >::operator+ ( const FimImgT< T > &  operand) const

Definition at line 136 of file fimImg.hpp.

◆ operator-()

template<typename T >
FimImgT< T > Fg::FimImgT< T >::operator- ( const FimImgT< T > &  operand) const

Definition at line 145 of file fimImg.hpp.

◆ operator[]() [1/2]

template<typename T >
T * Fg::FimImgT< T >::operator[] ( size_t  i)
inline

Definition at line 58 of file fimImg.hpp.

◆ operator[]() [2/2]

template<typename T >
T const * Fg::FimImgT< T >::operator[] ( size_t  i) const
inline

Definition at line 59 of file fimImg.hpp.

◆ oxcsToRcs()

template<typename T >
FutVect2FC Fg::FimImgT< T >::oxcsToRcs ( FutVect2FC  pos) const
inline

Definition at line 130 of file fimImg.hpp.

◆ rcsToOics()

template<typename T >
FutVect2FC Fg::FimImgT< T >::rcsToOics ( FutVect2FC  p) const
inline

Definition at line 81 of file fimImg.hpp.

◆ rcsToOxcs()

template<typename T >
FutVect2FC Fg::FimImgT< T >::rcsToOxcs ( FutVect2FC  pos) const
inline

Definition at line 124 of file fimImg.hpp.

◆ resize() [1/2]

template<typename T >
void Fg::FimImgT< T >::resize ( uint  w,
uint  h 
)
inline

Definition at line 50 of file fimImg.hpp.

◆ resize() [2/2]

template<typename T >
void Fg::FimImgT< T >::resize ( uint  w,
uint  h,
fill 
)
inline

Definition at line 51 of file fimImg.hpp.

◆ setFromShrinkInt()

template<typename T >
void Fg::FimImgT< T >::setFromShrinkInt ( const FimImgT< T > &  src,
uint  ws,
uint  hs 
)

Definition at line 182 of file fimImg.hpp.

◆ shrinkInt()

template<typename T >
FimImgT< T > Fg::FimImgT< T >::shrinkInt ( int  sx,
int  sy 
) const

Definition at line 226 of file fimImg.hpp.

◆ width()

template<typename T >
uint Fg::FimImgT< T >::width ( ) const
inline

Definition at line 72 of file fimImg.hpp.

◆ widthStepByte()

template<typename T >
uint Fg::FimImgT< T >::widthStepByte ( ) const
inline

Definition at line 75 of file fimImg.hpp.

◆ widthStepType()

template<typename T >
uint Fg::FimImgT< T >::widthStepType ( ) const
inline

Definition at line 74 of file fimImg.hpp.

Member Data Documentation

◆ m_height

template<typename T >
uint Fg::FimImgT< T >::m_height

Definition at line 36 of file fimImg.hpp.

◆ m_image

template<typename T >
std::vector<T> Fg::FimImgT< T >::m_image

Definition at line 37 of file fimImg.hpp.

◆ m_width

template<typename T >
uint Fg::FimImgT< T >::m_width

Definition at line 35 of file fimImg.hpp.


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