Panda3D
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties
Public Member Functions | Static Public Member Functions | List of all members
CRow Class Reference

Provides an accessor for reading the contents of one row of the image in-place. More...

Public Member Functions

Xelval getAlphaVal (int x)
 Fetch the alpha value at the given column in the row. More...
 
Xel getXelVal (int x)
 Fetch the pixel at the given column in the row. More...
 
LColorf operator[] (int x)
 
float operator[] (int i)
 
float operator[] (int i)
 
double operator[] (int i)
 
double operator[] (int i)
 
size_t size ()
 Get the number of pixels in the row. More...
 

Static Public Member Functions

static int size ()
 Returns 3: the number of columns of a LMatrix3. More...
 
static int size ()
 Returns 4: the number of columns of a LMatrix4. More...
 
static int size ()
 Returns 3: the number of columns of a LMatrix3. More...
 
static int size ()
 Returns 4: the number of columns of a LMatrix4. More...
 

Detailed Description

Provides an accessor for reading the contents of one row of the image in-place.

Member Function Documentation

Xelval getAlphaVal ( int  x)

Fetch the alpha value at the given column in the row.

Xel getXelVal ( int  x)

Fetch the pixel at the given column in the row.

LColorf operator[] ( int  x)
float operator[] ( int  i)
float operator[] ( int  i)
double operator[] ( int  i)
double operator[] ( int  i)
size_t size ( )

Get the number of pixels in the row.

static int size ( )
static

Returns 3: the number of columns of a LMatrix3.

static int size ( )
static

Returns 4: the number of columns of a LMatrix4.

static int size ( )
static

Returns 3: the number of columns of a LMatrix3.

static int size ( )
static

Returns 4: the number of columns of a LMatrix4.