Equalizer
1.6.1
|
A holder for a frame data and related parameters. More...
#include <frame.h>
Public Types | |
enum | Buffer { BUFFER_NONE = LB_BIT_NONE, BUFFER_UNDEFINED = LB_BIT1, BUFFER_COLOR = LB_BIT5, BUFFER_DEPTH = LB_BIT9, BUFFER_ALL = LB_BIT_ALL_32 } |
The buffer format defines which components of the frame are to be used during readback and assembly. More... | |
enum | Type { TYPE_MEMORY, TYPE_TEXTURE } |
The storage type for pixel data. More... | |
Public Member Functions | |
Frame () | |
Construct a new frame. More... | |
virtual | ~Frame () |
Destruct the frame. More... | |
const std::vector< uint128_t > & | getInputNodes (const Eye eye) const |
const std::vector< uint128_t > & | getInputNetNodes (const Eye eye) const |
Data Access | |
void | setName (const std::string &name) |
Set the name of the frame. More... | |
const std::string & | getName () const |
const Vector2i & | getOffset () const |
void | setOffset (const Vector2i &offset) |
Set the position of the frame wrt the channel. More... | |
void | setZoom (const Zoom &zoom) |
Set the zoom for this frame holder. More... | |
const Zoom & | getZoom () const |
const co::ObjectVersion & | getDataVersion (const Eye) const |
A holder for a frame data and related parameters.
Definition at line 32 of file fabric/frame.h.
The buffer format defines which components of the frame are to be used during readback and assembly.
Enumerator | |
---|---|
BUFFER_UNDEFINED |
Inherit, only if no others are set. |
BUFFER_COLOR |
Use color images. |
BUFFER_DEPTH |
Use depth images. |
Definition at line 40 of file fabric/frame.h.
The storage type for pixel data.
Enumerator | |
---|---|
TYPE_MEMORY |
use main memory to store pixel data |
TYPE_TEXTURE |
use a GL texture to store pixel data |
Definition at line 50 of file fabric/frame.h.
eq::fabric::Frame::Frame | ( | ) |
Construct a new frame.
|
virtual |
const std::string& eq::fabric::Frame::getName | ( | ) | const |
const Vector2i& eq::fabric::Frame::getOffset | ( | ) | const |
Referenced by eVolve::Channel::frameAssemble().
const Zoom& eq::fabric::Frame::getZoom | ( | ) | const |
Referenced by eVolve::Channel::frameAssemble().
void eq::fabric::Frame::setName | ( | const std::string & | name | ) |
Set the name of the frame.
void eq::fabric::Frame::setOffset | ( | const Vector2i & | offset | ) |
Set the position of the frame wrt the channel.
The offset is only applied for operations on this frame holder, i.e., it does not apply to other (input) frames using the same underlying frame data.
Referenced by eVolve::Channel::frameAssemble().
void eq::fabric::Frame::setZoom | ( | const Zoom & | zoom | ) |
Set the zoom for this frame holder.
The zoom is only applied for operations on this frame holder, i.e., it does not apply to other (input) frames using the same underlying frame data.
Referenced by eVolve::Channel::frameAssemble().