IGS_Image Class Reference

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

Inherited by IGS_ImageChannel1, and IGS_ImageFloat3.

Inheritance diagram for IGS_Image:

Inheritance graph
[legend]
Collaboration diagram for IGS_Image:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 IGS_Image ()
 IGS_Image (const IGS_Image &right)
 ~IGS_Image ()
void Draw () const
virtual void *& GetBuffer ()=0
virtual const void *const GetBuffer () const =0
int GetSizeX () const
int GetSizeY () const
virtual void Initialize ()=0
virtual void ScreenCapture ()
void SetFormat (const GLenum format)
void SetPosition (const int x, const int y)
void SetResolution (const int xres, const int yres)
void SetType (const GLenum type)
bool Valid () const

Static Public Member Functions

static int SizeOfType (const GLenum type)

Protected Member Functions

int ComputeIndex (const int x, const int y) const
int ComputeMaxIndex () const
virtual void Invalidate ()

Protected Attributes

int guid
Semaphore semaphore
int posX
int poxY
int sizeX
int sizeY
GLenum format
GLenum type

Detailed Description

Definition at line 12 of file IGS_Image.h.


Constructor & Destructor Documentation

IGS_Image::IGS_Image  ) 
 

Definition at line 16 of file IGS_Image.cpp.

IGS_Image::IGS_Image const IGS_Image right  ) 
 

Definition at line 33 of file IGS_Image.cpp.

IGS_Image::~IGS_Image  ) 
 

Definition at line 44 of file IGS_Image.cpp.


Member Function Documentation

int IGS_Image::ComputeIndex const int  x,
const int  y
const [protected]
 

Definition at line 53 of file IGS_Image.cpp.

References sizeX, and sizeY.

Referenced by IGS_ImageFloat3::GetChannel(), IGS_ImageFloat1::GetPixel(), IGS_ImageByte1::GetPixelNative(), and IGS_ImageFloat1::PutPixel().

int IGS_Image::ComputeMaxIndex  )  const [protected]
 

Definition at line 67 of file IGS_Image.cpp.

References sizeX, and sizeY.

Referenced by IGS_ImageFloat3::FileLoad(), IGS_ImageFloat1::FileLoad(), IGS_ImageFloat3::FileSave(), IGS_ImageFloat1::FileSave(), IGS_ImageFloat1::OperationAbs(), IGS_ImageFloat1::OperationIncrease(), IGS_ImageFloat1::OperationInvert(), IGS_ImageFloat1::OperationRangeStretch(), IGS_ImageFloat1::OperationScale(), IGS_ImageFloat1::OperationThreshold(), IGS_ImageFloat1::operator *=(), IGS_ImageFloat1::operator+=(), IGS_ImageFloat3::operator=(), and IGS_ImageFloat1::operator=().

void IGS_Image::Draw  )  const
 

Definition at line 77 of file IGS_Image.cpp.

References format, GetBuffer(), Semaphore::Lock(), posX, semaphore, sizeX, sizeY, type, and Semaphore::Unlock().

Here is the call graph for this function:

virtual const void* const IGS_Image::GetBuffer  )  const [pure virtual]
 

Implemented in IGS_ImageByte1, IGS_ImageFloat1, and IGS_ImageFloat3.

virtual void*& IGS_Image::GetBuffer  )  [pure virtual]
 

Implemented in IGS_ImageByte1, IGS_ImageFloat1, and IGS_ImageFloat3.

Referenced by Draw(), Invalidate(), ScreenCapture(), and Valid().

int IGS_Image::GetSizeX  )  const
 

Definition at line 232 of file IGS_Image.cpp.

References sizeX.

Referenced by IGS_ImageFloat1::AddBorder(), IGS_ImageFloat1::operator *=(), IGS_ImageFloat1::operator+=(), IGS_ImageFloat3::operator=(), and IGS_ImageFloat1::operator=().

int IGS_Image::GetSizeY  )  const
 

Definition at line 242 of file IGS_Image.cpp.

References sizeY.

Referenced by IGS_ImageFloat1::operator *=(), IGS_ImageFloat1::operator+=(), IGS_ImageFloat3::operator=(), and IGS_ImageFloat1::operator=().

virtual void IGS_Image::Initialize  )  [pure virtual]
 

Implemented in IGS_ImageByte1, IGS_ImageFloat1, and IGS_ImageFloat3.

Referenced by ScreenCapture().

void IGS_Image::Invalidate  )  [protected, virtual]
 

Definition at line 252 of file IGS_Image.cpp.

References GetBuffer().

Referenced by SetResolution(), SetType(), IGS_ImageFloat1::~IGS_ImageFloat1(), and IGS_ImageFloat3::~IGS_ImageFloat3().

Here is the call graph for this function:

void IGS_Image::ScreenCapture  )  [virtual]
 

Definition at line 266 of file IGS_Image.cpp.

References format, GetBuffer(), Initialize(), posX, poxY, sizeX, sizeY, and type.

Referenced by IGS_Controller::ScreenCapture().

Here is the call graph for this function:

void IGS_Image::SetFormat const GLenum  format  ) 
 

Definition at line 312 of file IGS_Image.cpp.

Referenced by IGS_Controller::IGS_Controller(), and IGS_ImageFloat3::IGS_ImageFloat3().

void IGS_Image::SetPosition const int  x,
const int  y
 

Definition at line 322 of file IGS_Image.cpp.

References posX, and poxY.

void IGS_Image::SetResolution const int  xres,
const int  yres
 

Definition at line 333 of file IGS_Image.cpp.

References Invalidate(), sizeX, and sizeY.

Referenced by IGS_Controller::IGS_Controller(), IGS_ImageFloat1::OperationFilter(), IGS_ImageFloat3::operator=(), IGS_ImageFloat1::operator=(), and IGS_Controller::SetWindowResolution().

Here is the call graph for this function:

void IGS_Image::SetType const GLenum  type  ) 
 

Definition at line 345 of file IGS_Image.cpp.

References Invalidate().

Referenced by IGS_ImageByte1::IGS_ImageByte1(), IGS_ImageFloat1::IGS_ImageFloat1(), and IGS_ImageFloat3::IGS_ImageFloat3().

Here is the call graph for this function:

int IGS_Image::SizeOfType const GLenum  type  )  [static]
 

Definition at line 356 of file IGS_Image.cpp.

Referenced by IGS_ImageFloat3::Initialize(), IGS_ImageFloat1::Initialize(), and IGS_ImageByte1::Initialize().

bool IGS_Image::Valid  )  const
 

Definition at line 406 of file IGS_Image.cpp.

References GetBuffer().

Here is the call graph for this function:


Member Data Documentation

GLenum IGS_Image::format [protected]
 

Definition at line 51 of file IGS_Image.h.

Referenced by Draw(), and ScreenCapture().

int IGS_Image::guid [protected]
 

Definition at line 43 of file IGS_Image.h.

int IGS_Image::posX [protected]
 

Definition at line 46 of file IGS_Image.h.

Referenced by Draw(), ScreenCapture(), and SetPosition().

int IGS_Image::poxY [protected]
 

Definition at line 47 of file IGS_Image.h.

Referenced by ScreenCapture(), and SetPosition().

Semaphore IGS_Image::semaphore [mutable, protected]
 

Definition at line 44 of file IGS_Image.h.

Referenced by Draw(), IGS_ImageFloat3::Initialize(), and IGS_ImageFloat1::Initialize().

int IGS_Image::sizeX [protected]
 

Definition at line 48 of file IGS_Image.h.

Referenced by ComputeIndex(), ComputeMaxIndex(), Draw(), IGS_ImageFloat3::FileLoad(), IGS_ImageFloat1::FileLoad(), IGS_ImageFloat3::FileSave(), IGS_ImageFloat1::FileSave(), IGS_ImageFloat1::FindMax(), GetSizeX(), IGS_ImageFloat3::Initialize(), IGS_ImageFloat1::Initialize(), IGS_ImageByte1::Initialize(), IGS_ImageFloat1::OperationFilter(), IGS_ImageFloat3::operator *=(), ScreenCapture(), and SetResolution().

int IGS_Image::sizeY [protected]
 

Definition at line 49 of file IGS_Image.h.

Referenced by ComputeIndex(), ComputeMaxIndex(), Draw(), IGS_ImageFloat3::FileLoad(), IGS_ImageFloat1::FileLoad(), IGS_ImageFloat3::FileSave(), IGS_ImageFloat1::FileSave(), IGS_ImageFloat1::FindMax(), GetSizeY(), IGS_ImageFloat3::Initialize(), IGS_ImageFloat1::Initialize(), IGS_ImageByte1::Initialize(), IGS_ImageFloat1::OperationFilter(), IGS_ImageFloat3::operator *=(), ScreenCapture(), and SetResolution().

GLenum IGS_Image::type [protected]
 

Definition at line 52 of file IGS_Image.h.

Referenced by Draw(), and ScreenCapture().


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