Equalizer  1.10.1
Parallel Rendering Framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
eq::fabric::Range Class Reference

A fractional database range with methods for manipulation. More...

#include <range.h>

+ Collaboration diagram for eq::fabric::Range:

Public Member Functions

Constructors
 Range ()
 Construct a new range covering all data. More...
 
 Range (const float start_, const float end_)
 Construct a new range with default values. More...
 

Data Access

float start
 The start position.
 
float end
 The end position.
 
static EQFABRIC_API const Range ALL
 A full database range.
 
bool operator== (const Range &rhs) const
 
bool operator!= (const Range &rhs) const
 
float getSize () const
 
void invalidate ()
 
bool isValid () const
 
bool hasData () const
 
void apply (const Range &rhs)
 

Detailed Description

A fractional database range with methods for manipulation.

Definition at line 30 of file range.h.

Constructor & Destructor Documentation

eq::fabric::Range::Range ( )
inline

Construct a new range covering all data.

Version
1.0

Definition at line 36 of file range.h.

eq::fabric::Range::Range ( const float  start_,
const float  end_ 
)
inline

Construct a new range with default values.

Version
1.0

Definition at line 39 of file range.h.

Member Function Documentation

float eq::fabric::Range::getSize ( ) const
inline
Returns
the interval spanned by this range.
Version
1.3

Definition at line 54 of file range.h.

References end, and start.

bool eq::fabric::Range::operator!= ( const Range rhs) const
inline
Returns
true if the two ranges are not identical.
Version
1.0

Definition at line 50 of file range.h.

References end, and start.

bool eq::fabric::Range::operator== ( const Range rhs) const
inline
Returns
true if the two ranges are identical.
Version
1.0

Definition at line 46 of file range.h.

References end, and start.


The documentation for this class was generated from the following file: