ImageAccessor< ChannelType, 2 > Class Template Reference

ImageAccessor< ChannelType, 2 > Class Template Reference

#include <image.h>

Class Description

template<class ChannelType>
class mudbox::ImageAccessor< ChannelType, 2 >

Definition at line 2571 of file image.h.

+ Inheritance diagram for ImageAccessor< ChannelType, 2 >:

Public Member Functions

 ImageAccessor (Image *parent)
 
Color ColorAt (u_int X, u_int Y) const
 Get the value at a given coordinate. More...
 
- Public Member Functions inherited from ImageAccessorBase< ChannelType, 2 >
 ImageAccessorBase (Image *parent)
 
u_int Width () const
 
u_int Height () const
 
u_int ChannelCount () const
 
void SetValueAt (u_int X, u_int Y, u_int Ch, float fVal)
 Set value for a specified texel. More...
 
float ValueAt (u_int X, u_int Y, u_int Ch) const
 Get the value at a given coordinate. More...
 
void SetColorAt (u_int X, u_int Y, const Color &cColor)
 Set value for a specified texel. More...
 
voidAddrAt (u_int X, u_int Y, u_int Ch)
 

Constructor & Destructor Documentation

ImageAccessor ( Image parent)
inline

Definition at line 2574 of file image.h.

2574  : ImageAccessorBase<ChannelType, 2>(parent)
2575  {
2576  }

Member Function Documentation

Color ColorAt ( u_int  X,
u_int  Y 
) const
inline

Get the value at a given coordinate.

Definition at line 2579 of file image.h.

2580  {
2581  return Color(
2584  0, 1);
2585  }
float ValueAt(u_int X, u_int Y, u_int Ch) const
Get the value at a given coordinate.

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