19 #ifndef EQFABRIC_WALL_H
20 #define EQFABRIC_WALL_H
23 #include <eq/fabric/types.h>
24 #include <eq/fabric/vmmlib.h>
69 EQFABRIC_API
void resizeLeft(
const float ratio );
85 EQFABRIC_API
void resizeTop(
const float ratio );
113 EQFABRIC_API
void moveFocus(
const Vector3f& eye,
const float ratio );
125 EQFABRIC_API
void scale(
const float ratio );
137 EQFABRIC_API Wall&
operator = (
const Matrix4f& xfm );
140 float getWidth()
const {
return (bottomRight - bottomLeft).length(); }
143 float getHeight()
const {
return (topLeft - bottomLeft).length(); }
146 EQFABRIC_API
bool operator == (
const Wall& rhs )
const;
149 EQFABRIC_API
bool operator != (
const Wall& rhs )
const;
173 EQFABRIC_API std::ostream& operator << ( std::ostream&,
const Wall& );
174 EQFABRIC_API std::ostream& operator << ( std::ostream&,
const Wall::Type& );
182 byteswap( reinterpret_cast< uint32_t& >( value ));
190 byteswap( value.
type );
193 #endif // EQFABRIC_WALL_H
Vector3f bottomRight
The bottom-right corner.
EQFABRIC_API void resizeRight(const float ratio)
Resize the wall on the right side.
EQFABRIC_API bool operator!=(const Wall &rhs) const
EQFABRIC_API Wall & operator=(const Projection &projection)
Set the wall parameters from a projection description.
Defines export visibility macros for library EqualizerFabric.
A fractional viewport with methods for manipulation.
EQFABRIC_API void resizeVertical(const float ratio)
Resize the wall vertically.
A wall defining a view frustum.
A wall fixed to the observer (head-mounted display)
EQFABRIC_API void resizeBottom(const float ratio)
Resize the wall on the bottom side.
Vector3f bottomLeft
The bottom-left corner.
EQFABRIC_API void resizeHorizontalToAR(const float aspectRatio)
Resize the wall horizontally to match the given aspect ratio.
EQFABRIC_API void resizeHorizontal(const float ratio)
Resize the wall horizontally.
A projector definition defining a view frustum.
EQFABRIC_API bool operator==(const Wall &rhs) const
A fixed mounted projection wall.
EQFABRIC_API void resizeTop(const float ratio)
Resize the wall on the top side.
Vector3f topLeft
The top-left corner.
The Equalizer client library.
EQFABRIC_API void scale(const float ratio)
Move each wall corner by the given ratio.
EQFABRIC_API void resizeLeft(const float ratio)
Resize the wall on the left side.
Type
The reference system type of the wall.
EQFABRIC_API void moveFocus(const Vector3f &eye, const float ratio)
Resize the wall by the given ratio as observed from the eye position.
EQFABRIC_API Wall()
Construct a new wall description.
EQFABRIC_API void apply(const Viewport &viewport)
Compute the sub-frustum for a 2D area on the full wall.