Equalizer  1.4.1
Public Member Functions | Public Attributes | Static Public Attributes
eq::fabric::Pixel Class Reference

Holds a pixel decomposition specification with methods for manipulation. More...

#include <pixel.h>

+ Collaboration diagram for eq::fabric::Pixel:

List of all members.

Public Member Functions

void apply (const Pixel &rhs)
 Apply (accumulate) another pixel specification.
bool operator== (const Pixel &rhs) const
bool operator!= (const Pixel &rhs) const
void invalidate ()
 Make the pixel specification invalid.
void validate ()
 Make the pixel specification valid.
bool isValid () const
Constructors
 Pixel ()
 Construct a pixel specification covering all pixels of a frustum.
 Pixel (const uint32_t x_, const uint32_t y_, const uint32_t w_, const uint32_t h_)
 Construct a pixel specification with default values.

Public Attributes

uint32_t x
uint32_t y
uint32_t w
uint32_t h

Static Public Attributes

static const Pixel ALL
 A pixel specification covering all pixels.

Detailed Description

Holds a pixel decomposition specification with methods for manipulation.

The w, h size determines how many contributors are sending pixels to the destination. The x, y index determines the position of the contributor within the decomposition pixel grid.

Definition at line 39 of file pixel.h.


Constructor & Destructor Documentation

Construct a pixel specification covering all pixels of a frustum.

Version:
1.0

Definition at line 48 of file pixel.h.

eq::fabric::Pixel::Pixel ( const uint32_t  x_,
const uint32_t  y_,
const uint32_t  w_,
const uint32_t  h_ 
) [inline]

Construct a pixel specification with default values.

Version:
1.0

Definition at line 51 of file pixel.h.


Member Function Documentation

bool eq::fabric::Pixel::isValid ( ) const [inline]
Returns:
true if the pixel specification is valid.

Definition at line 102 of file pixel.h.

Referenced by apply(), and validate().

+ Here is the caller graph for this function:

bool eq::fabric::Pixel::operator!= ( const Pixel rhs) const [inline]
Returns:
true if the pixel specification are not identical.
Version:
1.0

Definition at line 81 of file pixel.h.

bool eq::fabric::Pixel::operator== ( const Pixel rhs) const [inline]
Returns:
true if the pixel specification are identical.
Version:
1.0

Definition at line 72 of file pixel.h.


The documentation for this class was generated from the following file:
Generated on Mon Nov 26 2012 14:41:50 for Equalizer 1.4.1 by  doxygen 1.7.6.1