IGS_ImageFloat3 Class Reference

#include <basic/geometry/IGS/IGS_ImageFloat3.h>

Inherits IGS_Image.

Inheritance diagram for IGS_ImageFloat3:

Inheritance graph
[legend]
Collaboration diagram for IGS_ImageFloat3:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 IGS_ImageFloat3 ()
 ~IGS_ImageFloat3 ()
void FileSave (const char *filename) const
void FileLoad (const char *filename)
virtual const void *const GetBuffer () const
virtual void *& GetBuffer ()
IGS_Color GetPixel (const int x, const int y) const
float & GetChannel (int channelNum, int x, int y)
const float & GetChannel (int channelNum, int x, int y) const
virtual void Initialize ()
IGS_ImageFloat3operator= (const IGS_ImageFloat3 &right)
IGS_ImageFloat3operator= (const IGS_Color &color)
IGS_ImageFloat3operator *= (const IGS_ImageFloat1 &right)
void PutPixel (const int x, const int y, const IGS_Color &color)

Protected Attributes

float * pixels

Detailed Description

Definition at line 9 of file IGS_ImageFloat3.h.


Constructor & Destructor Documentation

IGS_ImageFloat3::IGS_ImageFloat3  ) 
 

Definition at line 13 of file IGS_ImageFloat3.cpp.

References IGS_Image::SetFormat(), and IGS_Image::SetType().

Here is the call graph for this function:

IGS_ImageFloat3::~IGS_ImageFloat3  ) 
 

Definition at line 25 of file IGS_ImageFloat3.cpp.

References IGS_Image::Invalidate().

Here is the call graph for this function:


Member Function Documentation

void IGS_ImageFloat3::FileLoad const char *  filename  ) 
 

Definition at line 35 of file IGS_ImageFloat3.cpp.

References IGS_Image::ComputeMaxIndex(), Initialize(), pixels, IGS_Image::sizeX, and IGS_Image::sizeY.

Here is the call graph for this function:

void IGS_ImageFloat3::FileSave const char *  filename  )  const
 

Definition at line 55 of file IGS_ImageFloat3.cpp.

References IGS_Image::ComputeMaxIndex(), pixels, IGS_Image::sizeX, and IGS_Image::sizeY.

Here is the call graph for this function:

void *& IGS_ImageFloat3::GetBuffer  )  [virtual]
 

Implements IGS_Image.

Definition at line 82 of file IGS_ImageFloat3.cpp.

References pixels.

const void *const IGS_ImageFloat3::GetBuffer  )  const [virtual]
 

Implements IGS_Image.

Definition at line 72 of file IGS_ImageFloat3.cpp.

References pixels.

const float & IGS_ImageFloat3::GetChannel int  channelNum,
int  x,
int  y
const
 

Definition at line 105 of file IGS_ImageFloat3.cpp.

References IGS_Image::ComputeIndex(), gNumberOfChannels, and pixels.

Here is the call graph for this function:

float & IGS_ImageFloat3::GetChannel int  channelNum,
int  x,
int  y
 

Definition at line 92 of file IGS_ImageFloat3.cpp.

References IGS_Image::ComputeIndex(), gNumberOfChannels, and pixels.

Referenced by GetPixel(), operator *=(), and PutPixel().

Here is the call graph for this function:

IGS_Color IGS_ImageFloat3::GetPixel const int  x,
const int  y
const
 

Definition at line 118 of file IGS_ImageFloat3.cpp.

References GetChannel().

Here is the call graph for this function:

void IGS_ImageFloat3::Initialize  )  [virtual]
 

Implements IGS_Image.

Definition at line 131 of file IGS_ImageFloat3.cpp.

References Semaphore::Lock(), pixels, IGS_Image::semaphore, IGS_Image::SizeOfType(), IGS_Image::sizeX, IGS_Image::sizeY, and Semaphore::Unlock().

Referenced by FileLoad(), and operator=().

Here is the call graph for this function:

IGS_ImageFloat3 & IGS_ImageFloat3::operator *= const IGS_ImageFloat1 right  ) 
 

Definition at line 148 of file IGS_ImageFloat3.cpp.

References GetChannel(), IGS_ImageFloat1::GetPixel(), IGS_Image::sizeX, and IGS_Image::sizeY.

Here is the call graph for this function:

IGS_ImageFloat3 & IGS_ImageFloat3::operator= const IGS_Color color  ) 
 

Definition at line 188 of file IGS_ImageFloat3.cpp.

References IGS_Image::GetSizeX(), IGS_Image::GetSizeY(), and PutPixel().

Here is the call graph for this function:

IGS_ImageFloat3 & IGS_ImageFloat3::operator= const IGS_ImageFloat3 right  ) 
 

Definition at line 169 of file IGS_ImageFloat3.cpp.

References IGS_Image::ComputeMaxIndex(), IGS_Image::GetSizeX(), IGS_Image::GetSizeY(), Initialize(), pixels, and IGS_Image::SetResolution().

Here is the call graph for this function:

void IGS_ImageFloat3::PutPixel const int  x,
const int  y,
const IGS_Color color
 

Definition at line 208 of file IGS_ImageFloat3.cpp.

References IGS_Color::b, IGS_Color::g, GetChannel(), and IGS_Color::r.

Referenced by operator=().

Here is the call graph for this function:


Member Data Documentation

float* IGS_ImageFloat3::pixels [protected]
 

Definition at line 28 of file IGS_ImageFloat3.h.

Referenced by FileLoad(), FileSave(), GetBuffer(), GetChannel(), Initialize(), and operator=().


The documentation for this class was generated from the following files:
Generated on Sat Apr 1 21:49:04 2006 for Motion Planning Kernel by  doxygen 1.4.6-NO