eq::Zoom Class Reference

Holds a zoom specification along with some methods for manipulation. More...

#include <zoom.h>

Collaboration diagram for eq::Zoom:
Collaboration graph
[legend]

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.
bool isValid () const
void validate ()
 Enforce the zoom to be valid.
void invalidate ()
 Make the zoom factor invalid.

Static Public Attributes

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

Detailed Description

Holds a zoom specification along with some methods for manipulation.

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

Definition at line 33 of file zoom.h.


Constructor & Destructor Documentation

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

Construct a new zoom specification set to 1, 1.

Definition at line 37 of file zoom.h.

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

Construct a new zoom specification.

Definition at line 40 of file zoom.h.


Member Function Documentation

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

Definition at line 44 of file zoom.h.

Referenced by eq::FrameData::startReadback().

Here is the caller graph for this function:

void eq::Zoom::validate (  )  [inline]

Enforce the zoom to be valid.

Definition at line 47 of file zoom.h.

void eq::Zoom::invalidate (  )  [inline]

Make the zoom factor invalid.

Definition at line 54 of file zoom.h.


Member Data Documentation

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

The documentation for this class was generated from the following files:
Generated on Sat Feb 6 13:07:45 2010 for Equalizer 0.9.1 by  doxygen 1.6.1