| Equalizer
    1.6.1
    | 
A View is a 2D area of a Layout. More...
#include <view.h>
 Inheritance diagram for eq::View:
 Inheritance diagram for eq::View: Collaboration diagram for eq::View:
 Collaboration diagram for eq::View:| Public Member Functions | |
| View (Layout *parent) | |
| Construct a new view.  More... | |
| virtual | ~View () | 
| Destruct this view.  More... | |
| Data Access. | |
| Pipe * | getPipe () | 
| const Pipe * | getPipe () const | 
| Config * | getConfig () | 
| const Config * | getConfig () const | 
| ServerPtr | getServer () | 
| Operations | |
| virtual bool | handleEvent (const Event &event) | 
| Handle a received (view) event.  More... | |
|  Public Member Functions inherited from eq::fabric::View< Layout, View, Observer > | |
| void | setCapabilities (const uint64_t bitmask) | 
| virtual void | updateCapabilities () | 
| EQFABRIC_INL const Viewport & | getViewport () const | 
| L * | getLayout () | 
| const L * | getLayout () const | 
| EQFABRIC_INL void | setObserver (O *observer) | 
| Set the entity tracking this view.  More... | |
| O * | getObserver () | 
| const O * | getObserver () const | 
| const version of getObserver().  More... | |
| EQFABRIC_INL void | setOverdraw (const Vector2i &pixels) | 
| const Vector2i & | getOverdraw () const | 
| EQFABRIC_INL void | useEqualizer (uint32_t equalizerMask) | 
| uint32_t | getEqualizers () const | 
| EQFABRIC_INL const Equalizer & | getEqualizer () const | 
| EQFABRIC_INL Equalizer & | getEqualizer () | 
| EQFABRIC_INL void | setViewport (const Viewport &viewport) | 
| Mode | getMode () const | 
| virtual EQFABRIC_INL void | changeMode (const Mode mode) | 
| Set the mode of this view.  More... | |
| virtual void | activateMode (const Mode mode) | 
| EQFABRIC_INL bool | isActive () const | 
| EQFABRIC_INL bool | setModelUnit (const float modelUnit) | 
| Set the model unit of this view.  More... | |
| EQFABRIC_INL float | getModelUnit () const | 
| Get the model unit of this view.  More... | |
| void | setSageConfig (const std::string &config) | 
| Set the SAGE configuration file for this view.  More... | |
| const std::string & | getSageConfig () const | 
| void | setDisplayCluster (const std::string &hostname) | 
| Set the DisplayCluster hostname for this view.  More... | |
| const std::string & | getDisplayCluster () const | 
| EQFABRIC_INL VisitorResult | accept (LeafVisitor< V > &visitor) | 
| Traverse this view using a view visitor.  More... | |
| EQFABRIC_INL VisitorResult | accept (LeafVisitor< V > &visitor) const | 
| Const-version of accept().  More... | |
| virtual EQFABRIC_INL void | backup () | 
| virtual EQFABRIC_INL void | restore () | 
| EQFABRIC_INL void | setMinimumCapabilities (const uint64_t bitmask) | 
| Set the minimum required capabilities for this view.  More... | |
| EQFABRIC_INL uint64_t | getMinimumCapabilities () const | 
| EQFABRIC_INL void | setMaximumCapabilities (const uint64_t bitmask) | 
| Set the maximum desired capabilities for this view.  More... | |
| EQFABRIC_INL uint64_t | getMaximumCapabilities () const | 
| EQFABRIC_INL uint64_t | getCapabilities () const | 
|  Public Member Functions inherited from eq::fabric::Object | |
| virtual bool | isDirty () const | 
| virtual uint128_t | commit (const uint32_t incarnation=CO_COMMIT_NEXT) | 
| void | setName (const std::string &name) | 
| Set the name of the object.  More... | |
| const std::string & | getName () const | 
| void | setUserData (co::Object *userData) | 
| Set user-specific data.  More... | |
| co::Object * | getUserData () | 
| const co::Object * | getUserData () const | 
| void | setError (const int32_t error) | 
| Set an error code why the last operation failed.  More... | |
| eq::fabric::Error | getError () const | 
| uint32_t | getTasks () const | 
| Return the set of tasks this channel might execute in the worst case.  More... | |
| uint32_t | getSerial () const | 
|  Public Member Functions inherited from eq::fabric::Frustum | |
| Frustum () | |
| Construct a new frustum.  More... | |
| virtual | ~Frustum () | 
| Destruct the frustum.  More... | |
| void | setWall (const Wall &wall) | 
| Set the frustum using a wall description.  More... | |
| void | setProjection (const Projection &projection) | 
| Set the frustum using a projection description.  More... | |
| const Wall & | getWall () const | 
| const Projection & | getProjection () const | 
| Type | getCurrentType () const | 
| void | unsetFrustum () | 
| Set the last specified frustum to TYPE_NONE.  More... | |
| void | serialize (co::DataOStream &os) | 
| void | deserialize (co::DataIStream &is) | 
| Protected Member Functions | |
| virtual void | deserialize (co::DataIStream &is, const uint64_t dirtyBits) | 
| const Frustum & | getBaseFrustum () const | 
| virtual void | detach () | 
|  Protected Member Functions inherited from eq::fabric::View< Layout, View, Observer > | |
| EQFABRIC_INL | View (L *layout) | 
| virtual bool | hasMasterUserData () | 
| The application view instance holds the user data master by default.  More... | |
| virtual EQFABRIC_INL uint32_t | getUserDataLatency () const | 
| The view user data instance uses the config latency by default.  More... | |
| virtual EQFABRIC_INL void | serialize (co::DataOStream &os, const uint64_t dirtyBits) | 
| virtual EQFABRIC_INL void | setDirty (const uint64_t bits) | 
| virtual uint64_t | getRedistributableBits () const | 
| virtual void | notifyFrustumChanged () | 
|  Protected Member Functions inherited from eq::fabric::Object | |
| Object () | |
| Construct a new Object.  More... | |
| virtual | ~Object () | 
| Destruct the object.  More... | |
| void | setTasks (const uint32_t tasks) | 
| virtual void | notifyDetach () | 
| void | postRemove (Object *child) | 
| virtual void | removeChild (const UUID &) | 
| 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) | 
| bool | _cmdSync (co::ICommand &command) | 
|  Protected Member Functions inherited from eq::fabric::Frustum | |
| virtual void | updateFrustum () | 
| Friends | |
| class | Pipe | 
| Additional Inherited Members | |
|  Public Types inherited from eq::fabric::View< Layout, View, Observer > | |
| enum | Mode | 
| The current rendering mode.  More... | |
| enum | DirtyBits | 
|  Public Types inherited from eq::fabric::Object | |
| enum | DirtyBits { DIRTY_NAME = Serializable::DIRTY_CUSTOM << 0, DIRTY_USERDATA = Serializable::DIRTY_CUSTOM << 1, DIRTY_ERROR = Serializable::DIRTY_CUSTOM << 2, DIRTY_TASKS = Serializable::DIRTY_CUSTOM << 3, DIRTY_REMOVED = Serializable::DIRTY_CUSTOM << 4, DIRTY_SERIAL = Serializable::DIRTY_CUSTOM << 5, DIRTY_CUSTOM = Serializable::DIRTY_CUSTOM << 6, DIRTY_OBJECT_BITS = DIRTY_NAME | DIRTY_USERDATA | DIRTY_ERROR } | 
| The changed parts of the object since the last pack().  More... | |
|  Public Types inherited from eq::fabric::Frustum | |
| enum | Type { TYPE_NONE, TYPE_WALL, TYPE_PROJECTION } | 
| The type of the last specified frustum.  More... | |
A View is a 2D area of a Layout.
It is a view of the application's data on a model, in the sense used by the MVC pattern. It can be a scene, viewing mode, viewing position, or any other representation of the application's data.
Definition at line 43 of file include/eq/client/view.h.
| eq::View::View | ( | Layout * | parent | ) | 
Construct a new view.
| 
 | virtual | 
Destruct this view.
Reimplemented from eq::fabric::View< Layout, View, Observer >.
Reimplemented in eqPly::View.
| 
 | protected | 
| Config* eq::View::getConfig | ( | ) | 
| const Config* eq::View::getConfig | ( | ) | const | 
| 
 | inline | 
Definition at line 58 of file include/eq/client/view.h.
| 
 | inline | 
Definition at line 64 of file include/eq/client/view.h.
| 
 | virtual | 
Handle a received (view) event.
The task of this method is to update the view as necessary. It is called by Config::handleEvent on the application main thread for all view events. Thread safe.
| event | the received view event. | 
 1.8.5
 1.8.5