Equalizer  1.8.0
Parallel Rendering Framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
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:

Public Member Functions

 Zoom ()
 Construct a new zoom specification set to 1, 1. More...
 
 Zoom (const float x_, const float y_)
 Construct a new zoom specification with default values. More...
 
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 EQFABRIC_API const Zoom NONE
 The zoom NONE (1,1) value. More...
 

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

EQFABRIC_API 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: