TwiceAsNice  2019-02-18
Public Member Functions | Private Attributes | List of all members
Nice::Image Class Reference

#include <Image.h>

Inheritance diagram for Nice::Image:
Inheritance graph
Collaboration diagram for Nice::Image:
Collaboration graph

Public Member Functions

 Image ()
 
 Image (const std::string &_file)
 
 Image (Nice::Size _size, Ice::Byte _depth=8)
 
 Image (Nice::Size _size, const std::vector< Nice::I16 > &_data, Nice::Rect _window, Ice::Byte _depth=8)
 
 Image (const Image &_image)
 
 Image (const Nice::ImageVar &_image)
 
Imageoperator= (const Image &i)
 
std::vector< Nice::I16getData () const
 
void setSize (const Nice::Size &_s)
 
void setWindow (const Nice::Rect &_w)
 
void setDepth (Ice::Byte _d)
 
void setData (std::vector< Nice::I16 > _data)
 
Nice::Size getSize () const
 
Nice::Rect getWindow () const
 
Ice::Byte getDepth () const
 
void addData (const std::vector< Nice::I16 > &_data, Nice::Rect _window)
 
Image getSubImage (Nice::Rect)
 
Nice::U16 getPixel (int _x, int _y) const
 

Private Attributes

Mutex m_mutex
 

Constructor & Destructor Documentation

◆ Image() [1/6]

Nice::Image::Image ( )
inline

◆ Image() [2/6]

Nice::Image::Image ( const std::string &  _file)
inline

◆ Image() [3/6]

Nice::Image::Image ( Nice::Size  _size,
Ice::Byte  _depth = 8 
)
inline

◆ Image() [4/6]

Nice::Image::Image ( Nice::Size  _size,
const std::vector< Nice::I16 > &  _data,
Nice::Rect  _window,
Ice::Byte  _depth = 8 
)
inline

◆ Image() [5/6]

Nice::Image::Image ( const Image _image)
inline

◆ Image() [6/6]

Nice::Image::Image ( const Nice::ImageVar &  _image)
inline

Member Function Documentation

◆ addData()

void Nice::Image::addData ( const std::vector< Nice::I16 > &  _data,
Nice::Rect  _window 
)

◆ getData()

std::vector<Nice::I16> Nice::Image::getData ( ) const
inline

◆ getDepth()

Ice::Byte Nice::Image::getDepth ( ) const
inline

◆ getPixel()

Nice::U16 Nice::Image::getPixel ( int  _x,
int  _y 
) const

◆ getSize()

Nice::Size Nice::Image::getSize ( ) const
inline

◆ getSubImage()

Nice::Image Nice::Image::getSubImage ( Nice::Rect  _window)

◆ getWindow()

Nice::Rect Nice::Image::getWindow ( ) const
inline

◆ operator=()

Image & Nice::Image::operator= ( const Image i)
inline

◆ setData()

void Nice::Image::setData ( std::vector< Nice::I16 _data)
inline

◆ setDepth()

void Nice::Image::setDepth ( Ice::Byte  _d)
inline

◆ setSize()

void Nice::Image::setSize ( const Nice::Size _s)
inline

◆ setWindow()

void Nice::Image::setWindow ( const Nice::Rect _w)
inline

Member Data Documentation

◆ m_mutex

Mutex Nice::Image::m_mutex
private

Mutex


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