|
virtual bool | omitOutput () const |
|
virtual void | output (std::ostream &) const |
|
|
void | init () |
|
W * | getWindow () |
|
const W * | getWindow () const |
|
bool | isDestination () const |
|
void | setViewVersion (const co::ObjectVersion &view) |
|
const co::ObjectVersion & | getViewVersion () const |
|
void | setPixelViewport (const PixelViewport &pvp) |
|
EQFABRIC_INL void | setViewport (const Viewport &vp) |
|
virtual void | notifyViewportChanged () |
|
const PixelViewport & | getNativePixelViewport () const |
|
bool | hasFixedViewport () const |
|
EQFABRIC_INL void | setNearFar (const float nearPlane, const float farPlane) |
| Set the near and far planes for this channel. More...
|
|
EQFABRIC_INL VisitorResult | accept (Visitor &visitor) |
| Perform a depth-first traversal of this channel. More...
|
|
EQFABRIC_INL VisitorResult | accept (Visitor &visitor) const |
| Const-version of accept(). More...
|
|
EQFABRIC_INL void | setCapabilities (const uint64_t bitmask) |
| Set the capabilities supported by the channel. More...
|
|
EQFABRIC_INL uint64_t | getCapabilities () const |
|
EQFABRIC_INL void | setMaxSize (const Vector2i &size) |
|
void | setOverdraw (const Vector4i &overdraw) |
|
const Vector2i & | getMaxSize () const |
|
EQFABRIC_INL ChannelPath | getPath () const |
|
virtual EQFABRIC_INL void | backup () |
|
virtual EQFABRIC_INL void | restore () |
|
|
The data returned by these methods depends on the context (callback) they are called from, typically the data for the current rendering task.
If they are called outside of a frame task method, they return the channel's native parameter, e.g., a placeholder value for the task decomposition parameters.
|
uint32_t | getDrawBuffer () const |
|
uint32_t | getReadBuffer () const |
|
const ColorMask & | getDrawBufferMask () const |
|
const PixelViewport & | getPixelViewport () const |
|
virtual bool | useOrtho () const |
| Select perspective or orthographic rendering. More...
|
|
const Frustumf & | getFrustum () const |
|
const Frustumf & | getPerspective () const |
|
const Frustumf & | getOrtho () const |
|
const Matrix4f & | getHeadTransform () const |
| Return the view matrix. More...
|
|
const Matrix4f & | getPerspectiveTransform () const |
| Return the perspective view matrix. More...
|
|
const Matrix4f & | getOrthoTransform () const |
| Return the orthographic view matrix. More...
|
|
const Viewport & | getViewport () const |
|
const Range & | getRange () const |
|
const Pixel & | getPixel () const |
|
const SubPixel & | getSubPixel () const |
|
const Zoom & | getZoom () const |
|
uint32_t | getPeriod () const |
|
uint32_t | getPhase () const |
|
const Vector2i & | getPixelOffset () const |
| Get the channel's current position wrt the destination channel. More...
|
|
Eye | getEye () const |
|
const Vector4i & | getOverdraw () const |
|
uint32_t | getTaskID () const |
|
virtual EQFABRIC_API bool | isDirty () const |
|
virtual EQFABRIC_API uint128_t | commit (const uint32_t incarnation=CO_COMMIT_NEXT) |
|
virtual EQFABRIC_API void | setName (const std::string &name) |
| Set the name of the object. More...
|
|
EQFABRIC_API const std::string & | getName () const |
|
EQFABRIC_API void | setUserData (co::Object *userData) |
| Set user-specific data. More...
|
|
EQFABRIC_API co::Object * | getUserData () |
|
EQFABRIC_API const co::Object * | getUserData () const |
|
EQFABRIC_API uint32_t | getTasks () const |
| Return the set of tasks this channel might execute in the worst case. More...
|
|
EQFABRIC_API uint32_t | getSerial () const |
|
|
EQFABRIC_INL | Channel (W *parent) |
| Construct a new channel.
|
|
| Channel (const Channel &from) |
| Construct a copy of a channel (view/segment dest).
|
|
virtual EQFABRIC_INL | ~Channel () |
| Destruct the channel.
|
|
virtual EQFABRIC_INL void | serialize (co::DataOStream &os, const uint64_t dirtyBits) |
|
virtual EQFABRIC_INL void | deserialize (co::DataIStream &is, const uint64_t dirtyBits) |
|
virtual EQFABRIC_INL void | setDirty (const uint64_t bits) |
|
void | setIAttribute (const IAttribute attr, const int32_t value) |
|
void | setSAttribute (const SAttribute attr, const std::string &value) |
|
virtual ChangeType | getChangeType () const |
|
virtual uint64_t | getRedistributableBits () const |
|
virtual void | updateCapabilities () |
|
|
void | overrideContext (RenderContext &context) |
|
void | resetContext () |
|
const RenderContext & | getContext () const |
|
const RenderContext & | getNativeContext () const |
|
EQFABRIC_API | Object () |
| Construct a new Object. More...
|
|
EQFABRIC_API | Object (const Object &) |
| Construct an unmapped, unregistered copy of an object. More...
|
|
virtual EQFABRIC_API | ~Object () |
| Destruct the object. More...
|
|
EQFABRIC_API Object & | operator= (const Object &from) |
| NOP assignment operator. More...
|
|
virtual bool | hasMasterUserData () |
|
virtual uint32_t | getUserDataLatency () const |
|
EQFABRIC_API void | setTasks (const uint32_t tasks) |
|
virtual EQFABRIC_API void | notifyDetach () |
|
EQFABRIC_API void | postRemove (Object *child) |
|
virtual void | removeChild (const uint128_t &) |
|
template<class C , class S > |
void | commitChild (C *child, S *sender, uint32_t cmd, const uint32_t incarnation) |
|
template<class C > |
void | commitChild (C *child, const uint32_t incarnation) |
|
template<class C , class S > |
void | commitChildren (const std::vector< C * > &children, S *sender, uint32_t cmd, const uint32_t incarnation) |
|
template<class C > |
void | commitChildren (const std::vector< C * > &children, uint32_t cmd, const uint32_t incarnation) |
|
template<class C > |
void | commitChildren (const std::vector< C * > &children, const uint32_t incarnation) |
|
template<class C > |
void | syncChildren (const std::vector< C * > &children) |
|
template<class P , class C > |
void | releaseChildren (const std::vector< C * > &children) |
|
EQFABRIC_API bool | _cmdSync (co::ICommand &command) |
|
template<class W, class C>
class eq::fabric::Channel< W, C >
Base data transport class for channels.
- See Also
- eq::Channel
Definition at line 33 of file fabric/channel.h.
template<class W, class C>
template<class W, class C>
template<class W, class C>
Get the channel's current position wrt the destination channel.
Note that computing this value from the current viewport and pixel viewport is inaccurate because it neglects rounding errors of the pixel viewport done by the server.
- Returns
- the channel's current position wrt the destination channel.
- Version
- 1.0
Definition at line 271 of file fabric/channel.h.
template<class W, class C>