Equalizer  1.4.1
Public Member Functions | Static Public Attributes
eq::fabric::Zoom Class Reference

A zoom specification with methods for manipulation. More...

#include <zoom.h>

+ Inheritance diagram for eq::fabric::Zoom:
+ Collaboration diagram for eq::fabric::Zoom:

List of all members.

Public Member Functions

 Zoom ()
 Construct a new zoom specification set to 1, 1.
 Zoom (const float x_, const float y_)
 Construct a new zoom specification with default values.
bool isValid () const
void validate ()
 Enforce the zoom to be valid.
void invalidate ()
 Make the zoom factor invalid.
void apply (const Zoom &rhs)
 Apply an additional zoom factor to this zoom.

Static Public Attributes

static const Zoom NONE
 The zoom NONE (1,1) value.

Detailed Description

A zoom specification with methods for manipulation.

The x, y paramenters determine the factor by which the channel's rendering is zoomed.

Definition at line 34 of file zoom.h.


Constructor & Destructor Documentation

eq::fabric::Zoom::Zoom ( ) [inline]

Construct a new zoom specification set to 1, 1.

Version:
1.0

Definition at line 38 of file zoom.h.

eq::fabric::Zoom::Zoom ( const float  x_,
const float  y_ 
) [inline]

Construct a new zoom specification with default values.

Version:
1.0

Definition at line 44 of file zoom.h.


Member Function Documentation

bool eq::fabric::Zoom::isValid ( ) const [inline]
Returns:
true if this zoom defines a valid zoom factor.

Definition at line 48 of file zoom.h.


Member Data Documentation

const Zoom eq::fabric::Zoom::NONE [static]

The zoom NONE (1,1) value.

Definition at line 68 of file zoom.h.

Referenced by eq::fabric::PixelViewport::apply(), and eq::fabric::PixelViewport::getZoom().


The documentation for this class was generated from the following file:
Generated on Mon Nov 26 2012 14:41:51 for Equalizer 1.4.1 by  doxygen 1.7.6.1