19 #ifndef EQFABRIC_SUBPIXEL_H 20 #define EQFABRIC_SUBPIXEL_H 23 #include <eq/fabric/types.h> 24 #include <lunchbox/bitOperation.h> 25 #include <lunchbox/log.h> 26 #include <lunchbox/types.h> 32 std::ostream&
operator<<(std::ostream& os,
const SubPixel& subPixel);
58 SubPixel(
const uint32_t index_,
const uint32_t size_)
100 LBWARN <<
"Invalid " << *
this << std::endl;
105 LBWARN <<
"Corrected " << *
this << std::endl;
113 EQFABRIC_API
static const SubPixel ALL;
119 os <<
"subpixel [ " << subPixel.
index <<
' ' << subPixel.
size <<
" ]";
125 #endif // EQFABRIC_SUBPIXEL_H uint32_t index
The contributor id.
Defines export visibility macros for library EqualizerFabric.
Holds a subpixel decomposition specification along with some methods for manipulation.
void validate()
Make the subpixel specification valid.
void invalidate()
Make the subpixel specification invalid.
SubPixel()
Construct an empty subpixel specification.
SubPixel(const uint32_t index_, const uint32_t size_)
Construct a subpixel specification with default values.
The Equalizer client library.
std::ostream & operator<<(std::ostream &os, const AxisEvent &event)
Print the axis event to the given output stream.
uint32_t size
Total number of contributors.
bool operator!=(const SubPixel &rhs) const
bool operator==(const SubPixel &rhs) const
void apply(const SubPixel &rhs)
Apply (accumulate) another subpixel specification.