ImageAccessor< ChannelType, 1 > Class Template Reference


Detailed Description

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

Definition at line 2635 of file image.h.

#include <image.h>

Inheritance diagram for ImageAccessor< ChannelType, 1 >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

  ImageAccessor (Image *parent)
Color  ColorAt (u_int X, u_int Y) const
  Get the value at a given coordinate.

Constructor & Destructor Documentation

ImageAccessor ( Image parent ) [inline]

Definition at line 2638 of file image.h.

                                 : ImageAccessorBase<ChannelType, 1>(parent)
    {
    }

Member Function Documentation

Color ColorAt ( u_int  X,
u_int  Y 
) const [inline]

Get the value at a given coordinate.

Definition at line 2643 of file image.h.

    {
        return Color(ImageAccessorBase<ChannelType, 1>::ValueAt(X,Y,0), 0, 0, 1);
    }

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