17 #ifndef EQFABRIC_FRAME_H
18 #define EQFABRIC_FRAME_H
21 #include <eq/fabric/eye.h>
22 #include <eq/fabric/types.h>
23 #include <co/object.h>
29 namespace detail {
class Frame; }
41 BUFFER_NONE = LB_BIT_NONE,
45 BUFFER_ALL = LB_BIT_ALL_32
59 EQFABRIC_API
virtual ~Frame();
64 EQFABRIC_API
void setName(
const std::string& name );
67 EQFABRIC_API
const std::string&
getName()
const;
70 EQFABRIC_API
const Vector2i&
getOffset()
const;
80 EQFABRIC_API
void setOffset(
const Vector2i& offset );
96 EQFABRIC_API
const co::ObjectVersion& getDataVersion(
const Eye )
const;
101 const std::vector< uint128_t >& getInputNodes(
const Eye eye )
const;
104 EQFABRIC_API
const co::NodeIDs& getInputNetNodes(
const Eye eye)
const;
107 virtual ChangeType getChangeType()
const {
return INSTANCE; }
108 EQFABRIC_API
virtual void getInstanceData( co::DataOStream& os );
109 EQFABRIC_API
virtual void applyInstanceData( co::DataIStream& is );
112 EQFABRIC_API
void _setDataVersion(
const unsigned i,
113 const co::ObjectVersion& ov );
116 EQFABRIC_API std::vector< uint128_t >& _getInputNodes(
const unsigned i );
119 EQFABRIC_API co::NodeIDs& _getInputNetNodes(
const unsigned i );
122 detail::Frame*
const _impl;
126 EQFABRIC_API std::ostream& operator << ( std::ostream&,
const Frame& );
128 EQFABRIC_API std::ostream& operator << ( std::ostream&,
const Frame::Type );
130 EQFABRIC_API std::ostream& operator << (std::ostream&,
const Frame::Buffer);
137 { byteswap( reinterpret_cast< uint32_t& >( value )); }
139 #endif // EQFABRIC_FRAME_H
EQFABRIC_API void setName(const std::string &name)
Set the name of the frame.
A zoom specification with methods for manipulation.
EQFABRIC_API Frame()
Construct a new frame.
Defines export visibility macros for library EqualizerFabric.
Buffer
Components of the frame are to be used during readback and assembly.
EQFABRIC_API void setOffset(const Vector2i &offset)
Set the position of the frame wrt the channel.
Type
The storage type for pixel data.
virtual EQFABRIC_API ~Frame()
Destruct the frame.
Eye
Eye pass bit mask for which is enabled.
use a GL texture to store pixel data
A holder for a frame data and related parameters.
Inherit, only if no others are set.
EQFABRIC_API const Zoom & getZoom() const
The Equalizer client library.
use main memory to store pixel data
EQFABRIC_API const std::string & getName() const
EQFABRIC_API void setZoom(const Zoom &zoom)
Set the zoom for this frame holder.
EQFABRIC_API const Vector2i & getOffset() const