Panda3D
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Pixel Struct Reference

Public Member Functions

 __init__ ()
 
 __init__ (Gray r, Gray g, Gray b)
 
Pixel operator* (double mult)
 
Pixel operator*= (double mult)
 
Pixel operator+ (const Pixel other)
 
Pixel operator+= (const Pixel other)
 
Pixel operator- (const Pixel other)
 
Pixel operator-= (const Pixel other)
 
 operator[] (int i, Gray assign_val)
 
Gray operator[] (int i)
 
 output (Ostream out)
 

Static Public Member Functions

static int size ()
 

Public Attributes

Gray b
 
Gray g
 
Gray r
 

Member Function Documentation

__init__ ( )
__init__ ( Gray  r,
Gray  g,
Gray  b 
)
Pixel operator* ( double  mult)
Pixel operator*= ( double  mult)
Pixel operator+ ( const Pixel  other)
Pixel operator+= ( const Pixel  other)
Pixel operator- ( const Pixel  other)
Pixel operator-= ( const Pixel  other)
operator[] ( int  i,
Gray  assign_val 
)
Gray operator[] ( int  i)
output ( Ostream  out)
static int size ( )
static

Member Data Documentation

Gray b
Gray g
Gray r